Rev 16957 | Rev 17181 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16957 | jghali | 1 | /* |
2 | For general Scribus (>=1.3.2) copyright and licensing information please refer |
||
3 | to the COPYING file provided with the program. Following this notice may exist |
||
4 | a copyright and/or license notice that predates the release of Scribus 1.3.2 |
||
5 | for which a new license (GPL+exception) is in place. |
||
6 | */ |
||
7 | #ifndef PROPERTYWIDGET_GROUP_H |
||
8 | #define PROPERTYWIDGET_GROUP_H |
||
9 | |||
17029 | jghali | 10 | #include <QObject> |
11 | |||
16957 | jghali | 12 | #include "scribusapi.h" |
13 | #include "propertywidgetbase.h" |
||
14 | |||
15 | class QGroupBox; |
||
16 | |||
17 | class PropertyWidget_GroupShape; |
||
18 | class ScribusDoc; |
||
19 | class ScribusMainWindow; |
||
20 | class Tpalette; |
||
21 | |||
22 | class PropertyWidget_Group : public QFrame, public PropertyWidgetBase |
||
23 | { |
||
24 | Q_OBJECT |
||
25 | public: |
||
26 | PropertyWidget_Group(QWidget* parent); |
||
27 | ~PropertyWidget_Group() {}; |
||
28 | |||
29 | protected: |
||
30 | PageItem * m_item; |
||
31 | ScribusMainWindow* m_ScMW; |
||
32 | |||
33 | double m_unitRatio; |
||
34 | int m_unitIndex; |
||
35 | |||
36 | PropertyWidget_GroupShape* groupShapeWidget; |
||
37 | QGroupBox* transGroupBox; |
||
38 | Tpalette* groupTransWidget; |
||
39 | |||
17029 | jghali | 40 | void connectSignals(); |
41 | void disconnectSignals(); |
||
42 | |||
16957 | jghali | 43 | void enableFromSelection(void); |
44 | void setCurrentItem(PageItem *item); |
||
45 | |||
17029 | jghali | 46 | virtual void changeEvent(QEvent *e); |
47 | |||
16957 | jghali | 48 | public slots: |
49 | void setMainWindow(ScribusMainWindow *mw); |
||
50 | void setDoc(ScribusDoc *d); |
||
51 | |||
52 | void handleSelectionChanged(); |
||
53 | void handleUpdateRequest(int); |
||
54 | |||
55 | void languageChange(); |
||
56 | void unitChange(); |
||
57 | |||
58 | private slots: |
||
59 | |||
60 | void handleGradientChanged(); |
||
61 | void handleGroupTransparency(double trans); |
||
62 | void handleGroupBlending(int blend); |
||
63 | void handleGroupGradMask(int typ); |
||
64 | void handleGroupPatternMask(QString pattern); |
||
65 | void handleGroupPatternMaskProps(double, double, double, double, double, double, double, bool, bool); |
||
66 | |||
67 | void handleSpecialGradient(double, double, double, double, double, double, double, double ); |
||
68 | void handleGradientEdit(); |
||
69 | }; |
||
70 | |||
71 | #endif |