-
Notifications
You must be signed in to change notification settings - Fork 7
/
branchpropeditor.h
65 lines (49 loc) · 1.33 KB
/
branchpropeditor.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef BRANCHPROPERTYEDITOR_H
#define BRANCHPROPERTYEDITOR_H
#include "ui_branchpropeditor.h"
#include <QDialog>
#include <QCloseEvent>
#include <QtGui>
//#include "attributedelegate.h"
#include "branchobj.h"
class QAbstractItemModel;
class VymModel;
class BranchPropertyEditor:public QDialog
{
Q_OBJECT
public:
BranchPropertyEditor (QWidget *parent=0);
~BranchPropertyEditor ();
void setItem (TreeItem *);
void setModel (VymModel *);
private slots:
void frameTypeChanged (int);
void framePenColorClicked ();
void frameBrushColorClicked ();
void framePaddingChanged(int);
void frameBorderWidthChanged(int);
void frameIncludeChildrenChanged(int);
void linkHideUnselectedChanged (int);
void incImgVerChanged (int);
void incImgHorChanged (int);
void childrenFreePositioningChanged (int);
void taskPriorityDeltaChanged (int);
// void addAttributeClicked();
// void deleteAttributeClicked();
signals:
void windowClosed();
protected:
void closeEvent( QCloseEvent* );
private:
void connectSignals();
void disconnectSignals();
Ui::BranchPropertyEditor ui;
BranchObj *branchObj;
BranchItem *branchItem;
VymModel *model;
QColor penColor;
QColor brushColor;
// QAbstractItemModel *attributeModel;
// AttributeDelegate delegate;
};
#endif //