Skip to content

Commit

Permalink
[GUI] Stylesheet fix for icons in Qt file dialog
Browse files Browse the repository at this point in the history
Work by @turn211.
  • Loading branch information
chennes authored and wwmayer committed Apr 14, 2021
1 parent d504c12 commit fc1dc18
Show file tree
Hide file tree
Showing 11 changed files with 131 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Behave-dark.qss
Expand Up @@ -1552,6 +1552,18 @@ QPushButton:checked {
border-color: #65A2E5;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Dark-blue.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #3874f2;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Dark-contrast.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #2053c0;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
11 changes: 11 additions & 0 deletions src/Gui/Stylesheets/Dark-green.qss
Expand Up @@ -1519,6 +1519,17 @@ QPushButton:checked {
border-color: #819c0c;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}

/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Dark-orange.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #d0970c;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Darker-blue.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #2053c0;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Darker-green.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #74831d;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Darker-orange.qss
Expand Up @@ -1519,6 +1519,18 @@ QPushButton:checked {
border-color: #b28416;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Light-blue.qss
Expand Up @@ -1516,6 +1516,18 @@ QPushButton:checked {
border-color: #3874f2;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Light-green.qss
Expand Up @@ -1516,6 +1516,18 @@ QPushButton:checked {
border-color: #819c0c;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down
12 changes: 12 additions & 0 deletions src/Gui/Stylesheets/Light-orange.qss
Expand Up @@ -1516,6 +1516,18 @@ QPushButton:checked {
border-color: #d0970c;
}

/*==================================================================================================
Tool button Icon fix in save dialogs
==================================================================================================*/
/* found under Tools -> Save Picture */ /* Draft -> ShapeString -> Font file */

QFileDialog#QFileDialog QToolButton {
background-color: transparent;
padding: 1px;
border: 1px;
margin: 0px;
}


/*==================================================================================================
Tool button inside QDialogs that works as QPushButtons
Expand Down

0 comments on commit fc1dc18

Please sign in to comment.