mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-18 14:20:29 +02:00
Open implemented again
This commit is contained in:
@@ -34,6 +34,7 @@ class PaintingArea : public QWidget
|
||||
friend IntelliTool;
|
||||
public:
|
||||
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent = nullptr);
|
||||
~PaintingArea();
|
||||
|
||||
// Handles all events
|
||||
bool open(const QString &fileName);
|
||||
@@ -48,9 +49,6 @@ public:
|
||||
void movePositionActive(int x, int y);
|
||||
void moveActiveLayer(int idx);
|
||||
|
||||
// Has the image been modified since last save
|
||||
bool isModified() const { return modified; }
|
||||
|
||||
//change properties of colorPicker
|
||||
void colorPickerSetFirstColor();
|
||||
void colorPickerSetSecondColor();
|
||||
@@ -99,9 +97,6 @@ private:
|
||||
|
||||
void resizeImage(QImage *image_res, const QSize &newSize);
|
||||
|
||||
// Will be marked true or false depending on if
|
||||
// we have saved after a change
|
||||
bool modified=false;
|
||||
|
||||
//Helper for Tool
|
||||
void createTempLayerAfter(int idx);
|
||||
|
||||
Reference in New Issue
Block a user