author | insilmaril |
Thu Nov 08 15:28:03 2007 +0000 (2007-11-08) | |
changeset 617 | 7ee5bf3647d3 |
parent 382 | 8b0ab4c0f767 |
child 790 | 133e2ed6b9c5 |
permissions | -rw-r--r-- |
insilmaril@382 | 1 |
#ifndef EDITXLINKDIALOG_H |
insilmaril@382 | 2 |
#define EDITXLINKDIALOG_H |
insilmaril@382 | 3 |
|
insilmaril@382 | 4 |
#include "ui_editxlinkdialog.h" |
insilmaril@382 | 5 |
|
insilmaril@463 | 6 |
/*! \brief Dialog to edit or delete XLinks |
insilmaril@463 | 7 |
|
insilmaril@463 | 8 |
Using xLinks one can link one branch to any other, just like attaching a rope |
insilmaril@463 | 9 |
between two branches in a real tree. This is especially useful in complex maps, |
insilmaril@463 | 10 |
where you want to have crossreferences which don't fit on the same visible area |
insilmaril@463 | 11 |
*/ |
insilmaril@463 | 12 |
|
insilmaril@382 | 13 |
class EditXLinkDialog:public QDialog |
insilmaril@382 | 14 |
{ |
insilmaril@382 | 15 |
Q_OBJECT |
insilmaril@382 | 16 |
public: |
insilmaril@382 | 17 |
EditXLinkDialog (QWidget *parent=0); |
insilmaril@382 | 18 |
void setXLink (XLinkObj *); |
insilmaril@382 | 19 |
void setSelection (LinkableMapObj *); |
insilmaril@382 | 20 |
bool useSettingsGlobal(); |
insilmaril@382 | 21 |
bool deleteXLink(); |
insilmaril@382 | 22 |
|
insilmaril@382 | 23 |
private slots: |
insilmaril@382 | 24 |
void deleteButtonPressed(); |
insilmaril@382 | 25 |
void widthChanged (int); |
insilmaril@382 | 26 |
void colorButtonPressed(); |
insilmaril@382 | 27 |
void setColorHeadingButtonPressed (); |
insilmaril@382 | 28 |
|
insilmaril@382 | 29 |
private: |
insilmaril@382 | 30 |
Ui::EditXLinkDialog ui; |
insilmaril@382 | 31 |
bool delink; |
insilmaril@382 | 32 |
XLinkObj *xlo; |
insilmaril@382 | 33 |
LinkableMapObj *selection; |
insilmaril@382 | 34 |
}; |
insilmaril@382 | 35 |
|
insilmaril@382 | 36 |
#endif // EDITXLINKDIALOG_H |