1 #ifndef IntelliPhotoGui_H
2 #define IntelliPhotoGui_H
7 #include <QImageWriter>
11 #include <QMainWindow>
12 #include <QGridLayout>
13 #include <QPushButton>
17 #include <QScrollArea>
78 void slotCreateNewRasterLayer();
83 void slotCreateNewShapedLayer();
88 void slotDeleteLayer();
93 void slotSetActiveLayer();
98 void slotSetActiveAlpha();
103 void slotSetPolygon();
108 void slotPositionMoveUp();
113 void slotPositionMoveDown();
118 void slotPositionMoveLeft();
123 void slotPositionMoveRight();
128 void slotMoveLayerUp();
133 void slotMoveLayerDown();
138 void slotUpdateFastRenderSettingsOn();
143 void slotUpdateFastRenderSettingsOff();
148 void slotSetFirstColor();
153 void slotSetSecondColor();
158 void slotSwapColor();
163 void slotCreatePenTool();
168 void slotCreatePlainTool();
173 void slotCreateLineTool();
178 void slotCreateRectangleTool();
183 void slotCreateCircleTool();
188 void slotCreatePolygonTool();
193 void slotCreateFloodFillTool();
198 void slotCreateGradientTool();
203 void slotAboutDialog();
208 void slotChangeDim();
213 void slotEnterPressed();
223 void slotSetInnerAlpha();
228 void slotResetToolButtons();
238 void slotGoForward();
245 void createActions();
260 void setIntelliStyle();
273 bool saveFile(
const QByteArray &fileFormat);
278 void setDefaultValues();
298 QPushButton* CircleButton;
303 QPushButton* FloodFillButton;
308 QPushButton* GradientButton;
313 QPushButton* LineButton;
318 QPushButton* PenButton;
323 QPushButton* PlainButton;
328 QPushButton* PolygonButton;
333 QPushButton* RectangleButton;
338 QPushButton* FirstColorButton;
343 QPushButton* SecondColorButton;
348 QPushButton* SwitchColorButton;
353 QPushButton* dimActive;
358 QPushButton* dimCanvas;
368 QLabel* innerAlphaLine;
373 QLabel* ActiveLayerLabel;
378 QLabel* ActiveLayerImageLabel;
383 QLabel* FastRendererLabel;
388 QScrollArea* ScrollArea;
393 QLineEdit* EditLineWidth;
398 QLineEdit* EditLineInnerAlpha;
403 QIntValidator* ValidatorLineWidth;
408 QIntValidator* ValidatorInnerAlpha;
434 QMenu* layerCreationMenu;
449 QMenu* toolCreationMenu;
454 QMenu* toolSettingsMenu;
479 QAction* actionUpdateFastRenderSettingsOn;
484 QAction* actionUpdateFastRenderSettingsOff;
489 QAction* actionColorPickerFirstColor;
494 QAction* actionColorPickerSecondColor;
499 QAction* actionColorSwap;
504 QAction* actionCreatePenTool;
509 QAction* actionCreatePlainTool;
514 QAction* actionCreateLineTool;
519 QAction* actionCreateRectangleTool;
524 QAction* actionCreateCircleTool;
529 QAction* actionCreatePolygonTool;
534 QAction* actionCreateFloodFillTool;
539 QAction* actionCreateGradientTool;
544 QAction* actionChangeDim;
549 QAction* actionSetWidth;
554 QAction* actionSetInnerAlpha;
559 QAction* actionAboutDialog;
564 QAction* actionAboutQtDialog;
569 QAction* actionCreateNewRasterLayer;
574 QAction* actionCreateNewShapedLayer;
579 QAction* actionDeleteLayer;
584 QAction* actionSetActiveLayer;
589 QAction* actionSetActiveAlpha;
594 QAction* actionSetPolygon;
599 QAction* actionMovePositionUp;
604 QAction* actionMovePositionDown;
609 QAction* actionMovePositionLeft;
614 QAction* actionMovePositionRight;
619 QAction* actionMoveLayerUp;
624 QAction* actionMoveLayerDown;
629 QList<QAction*> actionSaveAs;
634 QAction* actionGoBack;
639 QAction* actionGoForward;
644 QWidget* centralGuiWidget;
649 QGridLayout* mainLayout;