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