mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 04:40:37 +02:00
Removed First Part of the // comments in headers
- TODO: IntelliPhotoGui
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
|
|
||||||
// PaintingArea used to paint the image
|
|
||||||
class PaintingArea;
|
class PaintingArea;
|
||||||
|
|
||||||
class IntelliTool;
|
class IntelliTool;
|
||||||
@@ -19,12 +18,9 @@ class IntelliTool;
|
|||||||
class IntelliColorPicker;
|
class IntelliColorPicker;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief The IntelliPhotoGui class handles the graphical user interface for the intelliPhoto program
|
* \brief The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program
|
||||||
*/
|
*/
|
||||||
class IntelliPhotoGui : public QMainWindow {
|
class IntelliPhotoGui : public QMainWindow {
|
||||||
// Declares our class as a QObject which is the base class
|
|
||||||
// for all Qt objects
|
|
||||||
// QObjects handle events
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
/*!
|
/*!
|
||||||
@@ -35,15 +31,15 @@ IntelliPhotoGui();
|
|||||||
void UpdateGui();
|
void UpdateGui();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Function used to close an event
|
/*!
|
||||||
|
* \brief The closeEvent function handles closing events
|
||||||
|
*/
|
||||||
void closeEvent(QCloseEvent*event) override;
|
void closeEvent(QCloseEvent*event) override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
// meta slots here (need further )
|
|
||||||
void slotOpen();
|
void slotOpen();
|
||||||
void slotSave();
|
void slotSave();
|
||||||
|
|
||||||
// layer slots here
|
|
||||||
void slotCreateNewLayer();
|
void slotCreateNewLayer();
|
||||||
void slotDeleteLayer();
|
void slotDeleteLayer();
|
||||||
void slotClearActiveLayer();
|
void slotClearActiveLayer();
|
||||||
@@ -56,16 +52,13 @@ void slotPositionMoveRight();
|
|||||||
void slotMoveLayerUp();
|
void slotMoveLayerUp();
|
||||||
void slotMoveLayerDown();
|
void slotMoveLayerDown();
|
||||||
|
|
||||||
//Rendersetting slots here
|
|
||||||
void slotUpdateRenderSettingsOn();
|
void slotUpdateRenderSettingsOn();
|
||||||
void slotUpdateRenderSettingsOff();
|
void slotUpdateRenderSettingsOff();
|
||||||
|
|
||||||
// color Picker slots here
|
|
||||||
void slotSetFirstColor();
|
void slotSetFirstColor();
|
||||||
void slotSetSecondColor();
|
void slotSetSecondColor();
|
||||||
void slotSwapColor();
|
void slotSwapColor();
|
||||||
|
|
||||||
// tool slots here
|
|
||||||
void slotCreatePenTool();
|
void slotCreatePenTool();
|
||||||
void slotCreatePlainTool();
|
void slotCreatePlainTool();
|
||||||
void slotCreateLineTool();
|
void slotCreateLineTool();
|
||||||
@@ -74,7 +67,6 @@ void slotCreateCircleTool();
|
|||||||
void slotCreatePolygonTool();
|
void slotCreatePolygonTool();
|
||||||
void slotCreateFloodFillTool();
|
void slotCreateFloodFillTool();
|
||||||
|
|
||||||
// slots for dialogs
|
|
||||||
void slotAboutDialog();
|
void slotAboutDialog();
|
||||||
|
|
||||||
void slotEnterPressed();
|
void slotEnterPressed();
|
||||||
@@ -85,12 +77,10 @@ void slotSetInnerAlpha();
|
|||||||
void slotResetTools();
|
void slotResetTools();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Will tie user actions to functions
|
|
||||||
void createActions();
|
void createActions();
|
||||||
void createMenus();
|
void createMenus();
|
||||||
// setup GUI elements
|
|
||||||
void createGui();
|
void createGui();
|
||||||
// set style of the GUI
|
// Set the style of the GUI
|
||||||
void setIntelliStyle();
|
void setIntelliStyle();
|
||||||
|
|
||||||
// Will check if changes have occurred since last save
|
// Will check if changes have occurred since last save
|
||||||
|
|||||||
@@ -61,4 +61,4 @@ QColor firstColor;
|
|||||||
QColor secondColor;
|
QColor secondColor;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INTELLITOOLSETCOLORTOOL_H
|
#endif
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ private:
|
|||||||
bool fastRenderering = true;
|
bool fastRenderering = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INTELLIRENDERSETTINGS_H
|
#endif
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ int innerAlpha;
|
|||||||
LineStyle Linestyle;
|
LineStyle Linestyle;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INTELLITOOLSETTINGS_H
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user