-
Notifications
You must be signed in to change notification settings - Fork 7
/
editxlinkdialog.h
40 lines (31 loc) · 931 Bytes
/
editxlinkdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef EDITXLINKDIALOG_H
#define EDITXLINKDIALOG_H
#include "ui_editxlinkdialog.h"
/*! \brief Dialog to edit or delete XLinks
Using xLinks one can link one branch to any other, just like attaching a rope
between two branches in a real tree. This is especially useful in complex maps,
where you want to have crossreferences which don't fit on the same visible area
*/
class BranchItem;
class EditXLinkDialog:public QDialog
{
Q_OBJECT
public:
EditXLinkDialog (QWidget *parent=0);
void setLink (Link *);
bool useSettingsGlobal();
private slots:
void widthChanged (int);
void colorButtonPressed();
void colorChanged(QColor c);
void setColorHeadingButtonPressed ();
void lineStyleChanged( int );
void beginStyleChanged( int );
void endStyleChanged( int );
private:
void emitChanged();
Ui::EditXLinkDialog ui;
bool delink;
Link *link;
};
#endif // EDITXLINKDIALOG_H