1 #ifndef IntelliPhotoGui_H
2 #define IntelliPhotoGui_H
55 void slotCreateNewRasterLayer();
56 void slotCreateNewShapedLayer();
57 void slotDeleteLayer();
58 void slotSetActiveLayer();
59 void slotSetActiveAlpha();
60 void slotSetPolygon();
61 void slotPositionMoveUp();
62 void slotPositionMoveDown();
63 void slotPositionMoveLeft();
64 void slotPositionMoveRight();
65 void slotMoveLayerUp();
66 void slotMoveLayerDown();
68 void slotUpdateRenderSettingsOn();
69 void slotUpdateRenderSettingsOff();
71 void slotSetFirstColor();
72 void slotSetSecondColor();
75 void slotCreatePenTool();
76 void slotCreatePlainTool();
77 void slotCreateLineTool();
78 void slotCreateRectangleTool();
79 void slotCreateCircleTool();
80 void slotCreatePolygonTool();
81 void slotCreateFloodFillTool();
83 void slotAboutDialog();
85 void slotEnterPressed();
88 void slotSetInnerAlpha();
90 void slotResetTools();
97 void setIntelliStyle();
102 bool saveFile(
const QByteArray &fileFormat);
104 void setDefaultToolValue();
109 const QSize Buttonsize = QSize(35,35);
111 QPushButton* CircleButton;
112 QPushButton* FloodFillButton;
113 QPushButton* LineButton;
114 QPushButton* PenButton;
115 QPushButton* PlainButton;
116 QPushButton* PolygonButton;
117 QPushButton* RectangleButton;
119 QLabel* innerAlphaLine;
120 QLineEdit* EditLineWidth;
121 QLineEdit* EditLineInnerAlpha;
122 QIntValidator* ValidatorLineWidth;
123 QIntValidator* ValidatorInnerAlpha;
125 QPushButton* FirstColorButton;
126 QPushButton* SecondColorButton;
127 QPushButton* SwitchColorButton;
129 QLabel* ActiveLayerLine;
130 QLabel* ActiveLayerImageLabel;
137 QMenu*layerCreationMenu;
140 QMenu*toolCreationMenu;
141 QMenu*toolSettingsMenu;
151 QAction*actionUpdateRenderSettingsOn;
152 QAction*actionUpdateRenderSettingsOff;
155 QAction* actionColorPickerFirstColor;
156 QAction* actionColorPickerSecondColor;
157 QAction* actionColorSwap;
160 QAction* actionCreatePenTool;
161 QAction* actionCreatePlainTool;
162 QAction* actionCreateLineTool;
163 QAction* actionCreateRectangleTool;
164 QAction* actionCreateCircleTool;
165 QAction* actionCreatePolygonTool;
166 QAction* actionCreateFloodFillTool;
169 QAction* actionAboutDialog;
170 QAction* actionAboutQtDialog;
173 QAction* actionCreateNewRasterLayer;
174 QAction* actionCreateNewShapedLayer;
175 QAction* actionDeleteLayer;
176 QAction* actionSetActiveLayer;
177 QAction* actionSetActiveAlpha;
178 QAction* actionSetPolygon;
179 QAction* actionMovePositionUp;
180 QAction* actionMovePositionDown;
181 QAction* actionMovePositionLeft;
182 QAction* actionMovePositionRight;
183 QAction* actionMoveLayerUp;
184 QAction* actionMoveLayerDown;
187 QList<QAction*> actionSaveAs;
189 QAction* actionSetWidth;
190 QAction* actionSetInnerAlpha;
193 QWidget* centralGuiWidget;
194 QGridLayout* mainLayout;