diff --git a/src/icons/icons.qrc b/src/icons/icons.qrc
index 5f3094346..c020690d8 100644
--- a/src/icons/icons.qrc
+++ b/src/icons/icons.qrc
@@ -9,8 +9,10 @@
images/align_right.png
images/align_top.png
images/align_vcenter.png
- images/back.png
- images/back_16.png
+ images/back_24px.png
+ images/back_24px@2x.png
+ images/back_16px.png
+ images/back_16px@2x.png
images/blue_flag.png
images/box.png
images/breakpoint.png
@@ -41,8 +43,10 @@
images/fliph.png
images/flipv.png
images/folder.png
- images/forward.png
- images/forward_16.png
+ images/forward_24px.png
+ images/forward_24px@2x.png
+ images/forward_16px.png
+ images/forward_16px@2x.png
images/generalmacroicon.png
images/generalmacroiconactive.png
images/green_flag.png
diff --git a/src/lay/lay/layApplication.cc b/src/lay/lay/layApplication.cc
index 1632461e0..fe517860e 100644
--- a/src/lay/lay/layApplication.cc
+++ b/src/lay/lay/layApplication.cc
@@ -1437,6 +1437,9 @@ GuiApplication::GuiApplication (int &argc, char **argv)
#if QT_VERSION >= 0x040500
setAttribute (Qt::AA_DontShowIconsInMenus, false);
#endif
+#if QT_VERSION >= 0x050000
+ setAttribute (Qt::AA_UseHighDpiPixmaps, true);
+#endif
}
GuiApplication::~GuiApplication ()
diff --git a/src/lay/lay/layMainWindow.cc b/src/lay/lay/layMainWindow.cc
index 524fda937..79bc45a17 100644
--- a/src/lay/lay/layMainWindow.cc
+++ b/src/lay/lay/layMainWindow.cc
@@ -4255,8 +4255,8 @@ public:
menu_entries.push_back (lay::separator ("macros_group", at));
at = "@toolbar.end";
- menu_entries.push_back (lay::menu_item ("cm_prev_display_state", "prev_display_state", at, tl::to_string (QObject::tr ("Back<:/back.png>"))));
- menu_entries.push_back (lay::menu_item ("cm_next_display_state", "next_display_state", at, tl::to_string (QObject::tr ("Forward<:/forward.png>"))));
+ menu_entries.push_back (lay::menu_item ("cm_prev_display_state", "prev_display_state", at, tl::to_string (QObject::tr ("Back<:/back_24px.png>"))));
+ menu_entries.push_back (lay::menu_item ("cm_next_display_state", "next_display_state", at, tl::to_string (QObject::tr ("Forward<:/forward_24px.png>"))));
menu_entries.push_back (lay::separator ("toolbar_post_navigation_group", at));
}
};
diff --git a/src/layui/layui/BrowserDialog.ui b/src/layui/layui/BrowserDialog.ui
index 85b455b50..e15f1b54b 100644
--- a/src/layui/layui/BrowserDialog.ui
+++ b/src/layui/layui/BrowserDialog.ui
@@ -1,7 +1,8 @@
-
+
+
BrowserDialog
-
-
+
+
0
0
@@ -9,22 +10,20 @@
461
-
+
Browser
-
-
- 9
-
-
+
+
6
+
+ 9
+
-
-
-
-
- 13
- 7
+
+
+
0
0
@@ -32,26 +31,26 @@
-
-
-
+
+
QFrame::NoFrame
-
+
QFrame::Raised
-
-
- 0
-
-
+
+
6
+
+ 0
+
-
-
+
Qt::Horizontal
-
+
40
20
@@ -60,8 +59,8 @@
-
-
-
+
+
Close
@@ -78,9 +77,7 @@
-
-
-
+
close_pb
@@ -88,11 +85,11 @@
BrowserDialog
accept()
-
+
469
422
-
+
257
222
diff --git a/src/layui/layui/BrowserPanel.ui b/src/layui/layui/BrowserPanel.ui
index 66071a8ee..eb985f044 100644
--- a/src/layui/layui/BrowserPanel.ui
+++ b/src/layui/layui/BrowserPanel.ui
@@ -223,7 +223,7 @@
...
-
+
:/find.png:/find.png
@@ -240,7 +240,7 @@
...
-
+
:/clear_edit.png:/clear_edit.png
@@ -267,8 +267,8 @@
...
-
- :/forward.png:/forward.png
+
+ :/forward_24px.png:/forward_24px.png
@@ -290,8 +290,8 @@
...
-
- :/back.png:/back.png
+
+ :/back_24px.png:/back_24px.png
@@ -313,7 +313,7 @@
...
-
+
:/home.png:/home.png
@@ -352,7 +352,7 @@
...
-
+
:/prev_topic.png:/prev_topic.png
@@ -388,7 +388,7 @@
...
-
+
:/find.png:/find.png
@@ -405,7 +405,7 @@
...
-
+
:/next_topic.png:/next_topic.png
@@ -461,7 +461,7 @@
...
-
+
:/bookmark.png:/bookmark.png
@@ -512,7 +512,7 @@
home_pb
-
+
diff --git a/src/plugins/streamers/pcb/lay_plugin/GerberImportDialog.ui b/src/plugins/streamers/pcb/lay_plugin/GerberImportDialog.ui
index 02421de0e..f47f3ff1d 100644
--- a/src/plugins/streamers/pcb/lay_plugin/GerberImportDialog.ui
+++ b/src/plugins/streamers/pcb/lay_plugin/GerberImportDialog.ui
@@ -229,7 +229,7 @@ surface.
...
- :/down.png
+ :/down.png
Ctrl+Down
@@ -245,7 +245,7 @@ surface.
...
- :/up.png
+ :/up.png
Ctrl+Up
@@ -261,7 +261,7 @@ surface.
...
- :/clear.png
+ :/clear.png
Del
@@ -277,7 +277,7 @@ surface.
...
- :/add.png
+ :/add.png
Return
@@ -586,7 +586,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/up.png
+ :/up.png
Ctrl+Up
@@ -602,7 +602,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/add.png
+ :/add.png
Return
@@ -618,7 +618,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/down.png
+ :/down.png
Ctrl+Down
@@ -634,7 +634,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/clear.png
+ :/clear.png
Del
@@ -704,7 +704,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/down.png
+ :/down.png
Ctrl+Down
@@ -720,7 +720,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/up.png
+ :/up.png
Ctrl+Up
@@ -736,7 +736,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/clear.png
+ :/clear.png
Del
@@ -752,7 +752,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/add.png
+ :/add.png
Return
@@ -791,7 +791,7 @@ For "bottom" mounting, the top PCB layer will be assigned to the last layout lay
...
- :/clear.png
+ :/clear.png
Del
@@ -1278,7 +1278,7 @@ Alternatively the transformation (imported to existing layout) can be specified
Next
- :/forward.png
+ :/forward_24px.png
@@ -1302,7 +1302,7 @@ Alternatively the transformation (imported to existing layout) can be specified
Back
- :/back.png
+ :/back_24px.png
@@ -1461,7 +1461,7 @@ Alternatively the transformation (imported to existing layout) can be specified
cancel_pb
-
+
diff --git a/src/plugins/tools/import/lay_plugin/StreamImportDialog.ui b/src/plugins/tools/import/lay_plugin/StreamImportDialog.ui
index 9ada7a02d..1850e7b9a 100644
--- a/src/plugins/tools/import/lay_plugin/StreamImportDialog.ui
+++ b/src/plugins/tools/import/lay_plugin/StreamImportDialog.ui
@@ -35,8 +35,8 @@
Back
-
- :/back.png:/back.png
+
+ :/back_24px.png:/back_24px.png
@@ -66,8 +66,8 @@
Next
-
- :/forward.png:/forward.png
+
+ :/forward_24px.png:/forward_24px.png
@@ -938,7 +938,7 @@ Alternatively the transformation (imported to existing layout) can be specified
cancel_pb
-
+