mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
Button Size an Destopauflösung gekoppelt
This commit is contained in:
@@ -332,6 +332,7 @@ void IntelliPhotoGui::slotEnterPressed(){
|
||||
void IntelliPhotoGui::slotResetTools(){
|
||||
CircleButton->setChecked(false);
|
||||
FloodFillButton->setChecked(false);
|
||||
GradientButton->setChecked(false);
|
||||
LineButton->setChecked(false);
|
||||
PenButton->setChecked(false);
|
||||
PlainButton->setChecked(false);
|
||||
@@ -693,8 +694,8 @@ void IntelliPhotoGui::createGui(){
|
||||
|
||||
QScreen *screen = QGuiApplication::primaryScreen();
|
||||
QRect screenGeometry = screen->geometry();
|
||||
Buttonsize.setWidth(screenGeometry.width()/10);
|
||||
Buttonsize.setHeight(screenGeometry.height()/10);
|
||||
Buttonsize.setWidth(screenGeometry.width()/20);
|
||||
Buttonsize.setHeight(screenGeometry.height()/20);
|
||||
|
||||
preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg");
|
||||
CircleButton = new QPushButton();
|
||||
|
||||
Reference in New Issue
Block a user