editxlinkdialog.h
author insilmaril
Fri, 09 Apr 2010 14:16:02 +0000
changeset 845 b98c1793bb8b
parent 790 133e2ed6b9c5
child 847 43268373032d
permissions -rw-r--r--
XHTML export obsoleted by HTML export
     1 #ifndef EDITXLINKDIALOG_H
     2 #define EDITXLINKDIALOG_H
     3 
     4 #include "ui_editxlinkdialog.h"
     5 
     6 /*! \brief Dialog to edit or delete XLinks 
     7 
     8 Using xLinks one can link one branch to any other, just like attaching a rope
     9 between two branches in a real tree. This is especially useful in complex maps,
    10 where you want to have crossreferences which don't fit on the same visible area
    11 */
    12 
    13 class BranchItem;
    14 
    15 class EditXLinkDialog:public QDialog
    16 {
    17 	Q_OBJECT
    18 public:
    19 	EditXLinkDialog (QWidget *parent=0);
    20 	void setXLink (XLinkItem *);
    21 	void setSelection (BranchItem*);
    22 	bool useSettingsGlobal();
    23 	bool deleteXLink();
    24 
    25 private slots:
    26 	void deleteButtonPressed();
    27 	void widthChanged (int);
    28 	void colorButtonPressed();
    29 	void setColorHeadingButtonPressed ();
    30 
    31 private:
    32 	Ui::EditXLinkDialog ui;
    33 	bool delink;
    34 	XLinkItem *xli;
    35 	BranchItem *selbi;
    36 };
    37 
    38 #endif // EDITXLINKDIALOG_H