mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 20:00:32 +02:00
PolygonTool fertig
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
// IntelliPhotoGui constructor
|
||||
IntelliPhotoGui::IntelliPhotoGui(){
|
||||
|
||||
//create Gui elements and lay them out
|
||||
createGui();
|
||||
// Create actions
|
||||
@@ -19,7 +20,8 @@ IntelliPhotoGui::IntelliPhotoGui(){
|
||||
|
||||
// Size the app
|
||||
resize(600,600);
|
||||
//showMaximized();
|
||||
showMaximized();
|
||||
|
||||
}
|
||||
|
||||
// User tried to close the app
|
||||
@@ -105,14 +107,6 @@ void IntelliPhotoGui::slotDeleteLayer(){
|
||||
paintingArea->deleteLayer(layerNumber);
|
||||
}
|
||||
|
||||
void slotCreatePenTool(){
|
||||
|
||||
}
|
||||
|
||||
void slotCreateFloodFillTool(){
|
||||
|
||||
}
|
||||
|
||||
void IntelliPhotoGui::slotSetActiveAlpha(){
|
||||
// Stores button value
|
||||
bool ok1, ok2;
|
||||
@@ -205,7 +199,7 @@ void IntelliPhotoGui::slotSetActiveLayer(){
|
||||
{
|
||||
paintingArea->setLayerToActive(layer);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void IntelliPhotoGui::slotSetFirstColor(){
|
||||
paintingArea->colorPickerSetFirstColor();
|
||||
@@ -318,7 +312,7 @@ void IntelliPhotoGui::createActions(){
|
||||
connect(actionColorPickerFirstColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
|
||||
|
||||
actionColorPickerSecondColor = new QAction(tr("&Secondary"), this);
|
||||
connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetFirstColor()));
|
||||
connect(actionColorPickerSecondColor, SIGNAL(triggered()), this, SLOT(slotSetSecondColor()));
|
||||
|
||||
actionColorSwitch = new QAction(tr("&Switch"), this);
|
||||
actionColorSwitch->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));
|
||||
|
||||
Reference in New Issue
Block a user