Skip to content

Commit

Permalink
Add folder-tree icons
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Jan 19, 2025
1 parent 295f569 commit 5ecb6a8
Show file tree
Hide file tree
Showing 42 changed files with 44 additions and 5 deletions.
40 changes: 40 additions & 0 deletions companion/src/companion.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@
<file>themes/monochrome/16/stop.png</file>
<file>themes/monochrome/16/write_eeprom.png</file>
<file>themes/monochrome/16/sdsync.png</file>
<file>themes/monochrome/16/folder-tree-read.png</file>
<file>themes/monochrome/16/folder-tree-write.png</file>
<file>themes/monochrome/24/paintbrush.png</file>
<file>themes/monochrome/24/open.png</file>
<file>themes/monochrome/24/edit.png</file>
Expand Down Expand Up @@ -234,6 +236,8 @@
<file>themes/monochrome/24/stop.png</file>
<file>themes/monochrome/24/write_eeprom.png</file>
<file>themes/monochrome/24/sdsync.png</file>
<file>themes/monochrome/24/folder-tree-read.png</file>
<file>themes/monochrome/24/folder-tree-write.png</file>
<file>themes/monochrome/32/paintbrush.png</file>
<file>themes/monochrome/32/open.png</file>
<file>themes/monochrome/32/edit.png</file>
Expand Down Expand Up @@ -278,6 +282,8 @@
<file>themes/monochrome/32/stop.png</file>
<file>themes/monochrome/32/write_eeprom.png</file>
<file>themes/monochrome/32/sdsync.png</file>
<file>themes/monochrome/32/folder-tree-read.png</file>
<file>themes/monochrome/32/folder-tree-write.png</file>
<file>themes/monochrome/48/paintbrush.png</file>
<file>themes/monochrome/48/open.png</file>
<file>themes/monochrome/48/edit.png</file>
Expand Down Expand Up @@ -322,6 +328,8 @@
<file>themes/monochrome/48/stop.png</file>
<file>themes/monochrome/48/write_eeprom.png</file>
<file>themes/monochrome/48/sdsync.png</file>
<file>themes/monochrome/48/folder-tree-read.png</file>
<file>themes/monochrome/48/folder-tree-write.png</file>
<file>themes/classic/16/paintbrush.png</file>
<file>themes/classic/16/open.png</file>
<file>themes/classic/16/edit.png</file>
Expand Down Expand Up @@ -366,6 +374,8 @@
<file>themes/classic/16/stop.png</file>
<file>themes/classic/16/write_eeprom.png</file>
<file>themes/classic/16/sdsync.png</file>
<file>themes/classic/16/folder-tree-read.png</file>
<file>themes/classic/16/folder-tree-write.png</file>
<file>themes/classic/24/paintbrush.png</file>
<file>themes/classic/24/open.png</file>
<file>themes/classic/24/edit.png</file>
Expand Down Expand Up @@ -410,6 +420,8 @@
<file>themes/classic/24/stop.png</file>
<file>themes/classic/24/write_eeprom.png</file>
<file>themes/classic/24/sdsync.png</file>
<file>themes/classic/24/folder-tree-read.png</file>
<file>themes/classic/24/folder-tree-write.png</file>
<file>themes/classic/32/paintbrush.png</file>
<file>themes/classic/32/open.png</file>
<file>themes/classic/32/edit.png</file>
Expand Down Expand Up @@ -454,6 +466,8 @@
<file>themes/classic/32/stop.png</file>
<file>themes/classic/32/write_eeprom.png</file>
<file>themes/classic/32/sdsync.png</file>
<file>themes/classic/32/folder-tree-read.png</file>
<file>themes/classic/32/folder-tree-write.png</file>
<file>themes/classic/48/paintbrush.png</file>
<file>themes/classic/48/open.png</file>
<file>themes/classic/48/edit.png</file>
Expand Down Expand Up @@ -498,6 +512,8 @@
<file>themes/classic/48/stop.png</file>
<file>themes/classic/48/write_eeprom.png</file>
<file>themes/classic/48/sdsync.png</file>
<file>themes/classic/48/folder-tree-read.png</file>
<file>themes/classic/48/folder-tree-write.png</file>
<file>themes/monoblue/16/paintbrush.png</file>
<file>themes/monoblue/16/open.png</file>
<file>themes/monoblue/16/edit.png</file>
Expand Down Expand Up @@ -542,6 +558,8 @@
<file>themes/monoblue/16/stop.png</file>
<file>themes/monoblue/16/write_eeprom.png</file>
<file>themes/monoblue/16/sdsync.png</file>
<file>themes/monoblue/16/folder-tree-read.png</file>
<file>themes/monoblue/16/folder-tree-write.png</file>
<file>themes/monoblue/24/paintbrush.png</file>
<file>themes/monoblue/24/open.png</file>
<file>themes/monoblue/24/edit.png</file>
Expand Down Expand Up @@ -586,6 +604,8 @@
<file>themes/monoblue/24/stop.png</file>
<file>themes/monoblue/24/write_eeprom.png</file>
<file>themes/monoblue/24/sdsync.png</file>
<file>themes/monoblue/24/folder-tree-read.png</file>
<file>themes/monoblue/24/folder-tree-write.png</file>
<file>themes/monoblue/32/paintbrush.png</file>
<file>themes/monoblue/32/open.png</file>
<file>themes/monoblue/32/edit.png</file>
Expand Down Expand Up @@ -630,6 +650,8 @@
<file>themes/monoblue/32/stop.png</file>
<file>themes/monoblue/32/write_eeprom.png</file>
<file>themes/monoblue/32/sdsync.png</file>
<file>themes/monoblue/32/folder-tree-read.png</file>
<file>themes/monoblue/32/folder-tree-write.png</file>
<file>themes/monoblue/48/paintbrush.png</file>
<file>themes/monoblue/48/open.png</file>
<file>themes/monoblue/48/edit.png</file>
Expand Down Expand Up @@ -674,6 +696,8 @@
<file>themes/monoblue/48/stop.png</file>
<file>themes/monoblue/48/write_eeprom.png</file>
<file>themes/monoblue/48/sdsync.png</file>
<file>themes/monoblue/48/folder-tree-read.png</file>
<file>themes/monoblue/48/folder-tree-write.png</file>
<file>themes/monowhite/16/paintbrush.png</file>
<file>themes/monowhite/16/open.png</file>
<file>themes/monowhite/16/edit.png</file>
Expand Down Expand Up @@ -718,6 +742,8 @@
<file>themes/monowhite/16/stop.png</file>
<file>themes/monowhite/16/write_eeprom.png</file>
<file>themes/monowhite/16/sdsync.png</file>
<file>themes/monowhite/16/folder-tree-read.png</file>
<file>themes/monowhite/16/folder-tree-write.png</file>
<file>themes/monowhite/24/paintbrush.png</file>
<file>themes/monowhite/24/open.png</file>
<file>themes/monowhite/24/edit.png</file>
Expand Down Expand Up @@ -762,6 +788,8 @@
<file>themes/monowhite/24/stop.png</file>
<file>themes/monowhite/24/write_eeprom.png</file>
<file>themes/monowhite/24/sdsync.png</file>
<file>themes/monowhite/24/folder-tree-read.png</file>
<file>themes/monowhite/24/folder-tree-write.png</file>
<file>themes/monowhite/32/paintbrush.png</file>
<file>themes/monowhite/32/open.png</file>
<file>themes/monowhite/32/edit.png</file>
Expand Down Expand Up @@ -806,6 +834,8 @@
<file>themes/monowhite/32/stop.png</file>
<file>themes/monowhite/32/write_eeprom.png</file>
<file>themes/monowhite/32/sdsync.png</file>
<file>themes/monowhite/32/folder-tree-read.png</file>
<file>themes/monowhite/32/folder-tree-write.png</file>
<file>themes/monowhite/48/paintbrush.png</file>
<file>themes/monowhite/48/open.png</file>
<file>themes/monowhite/48/edit.png</file>
Expand Down Expand Up @@ -850,6 +880,8 @@
<file>themes/monowhite/48/stop.png</file>
<file>themes/monowhite/48/write_eeprom.png</file>
<file>themes/monowhite/48/sdsync.png</file>
<file>themes/monowhite/48/folder-tree-read.png</file>
<file>themes/monowhite/48/folder-tree-write.png</file>
<file>themes/yerico/16/paintbrush.png</file>
<file>themes/yerico/16/open.png</file>
<file>themes/yerico/16/edit.png</file>
Expand Down Expand Up @@ -894,6 +926,8 @@
<file>themes/yerico/16/stop.png</file>
<file>themes/yerico/16/write_eeprom.png</file>
<file>themes/yerico/16/sdsync.png</file>
<file>themes/yerico/16/folder-tree-read.png</file>
<file>themes/yerico/16/folder-tree-write.png</file>
<file>themes/yerico/24/paintbrush.png</file>
<file>themes/yerico/24/open.png</file>
<file>themes/yerico/24/edit.png</file>
Expand Down Expand Up @@ -938,6 +972,8 @@
<file>themes/yerico/24/stop.png</file>
<file>themes/yerico/24/write_eeprom.png</file>
<file>themes/yerico/24/sdsync.png</file>
<file>themes/yerico/24/folder-tree-read.png</file>
<file>themes/yerico/24/folder-tree-write.png</file>
<file>themes/yerico/32/paintbrush.png</file>
<file>themes/yerico/32/open.png</file>
<file>themes/yerico/32/edit.png</file>
Expand Down Expand Up @@ -982,6 +1018,8 @@
<file>themes/yerico/32/stop.png</file>
<file>themes/yerico/32/write_eeprom.png</file>
<file>themes/yerico/32/sdsync.png</file>
<file>themes/yerico/32/folder-tree-read.png</file>
<file>themes/yerico/32/folder-tree-write.png</file>
<file>themes/yerico/48/paintbrush.png</file>
<file>themes/yerico/48/open.png</file>
<file>themes/yerico/48/edit.png</file>
Expand Down Expand Up @@ -1026,6 +1064,8 @@
<file>themes/yerico/48/stop.png</file>
<file>themes/yerico/48/write_eeprom.png</file>
<file>themes/yerico/48/sdsync.png</file>
<file>themes/yerico/48/folder-tree-read.png</file>
<file>themes/yerico/48/folder-tree-write.png</file>
<file>sounds/0.wav</file>
<file>sounds/1.wav</file>
<file>sounds/2.wav</file>
Expand Down
9 changes: 4 additions & 5 deletions companion/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,8 @@ void MainWindow::createActions()
recentFilesAct = addAct("recentdocument.png");
closeAct = addAct("clear.png", SLOT(closeFile()) /*, QKeySequence::Close*/); // setting/showing this shortcut interferes with the system one (Ctrl+W/Ctrl-F4)
// TODO change to more appropriate icon sets and uncomment toolbar actions
writeSettingsSDPathAct = addAct("save.png", SLOT(writeSettingsSDPath()));
readSettingsSDPathAct = addAct("open.png", SLOT(readSettingsSDPath()));
writeSettingsSDPathAct = addAct("folder-tree-write.png", SLOT(writeSettingsSDPath()));
readSettingsSDPathAct = addAct("folder-tree-read.png", SLOT(readSettingsSDPath()));
// end TODO
exitAct = addAct("exit.png", SLOT(closeAllWindows()), QKeySequence::Quit, qApp);

Expand Down Expand Up @@ -1067,9 +1067,8 @@ void MainWindow::createToolBars()
fileToolBar->addAction(saveAct);
fileToolBar->addAction(closeAct);
fileToolBar->addSeparator();
// TODO add after icon set changed to more appropriate as currently same as read and write file
// fileToolBar->addAction(readSettingsSDPathAct);
// fileToolBar->addAction(writeSettingsSDPathAct);
fileToolBar->addAction(readSettingsSDPathAct);
fileToolBar->addAction(writeSettingsSDPathAct);

// workaround for default split button appearance of action with menu :-/
QToolButton * btn;
Expand Down
Binary file added companion/src/themes/classic/16/folder-tree-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/classic/24/folder-tree-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/classic/32/folder-tree-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/classic/48/folder-tree-read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/classic/48/folder-tree-write.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/monoblue/48/folder-tree-write.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added companion/src/themes/yerico/16/folder-tree-read.png
Binary file added companion/src/themes/yerico/16/folder-tree-write.png
Binary file added companion/src/themes/yerico/24/folder-tree-read.png
Binary file added companion/src/themes/yerico/24/folder-tree-write.png
Binary file added companion/src/themes/yerico/32/folder-tree-read.png
Binary file added companion/src/themes/yerico/32/folder-tree-write.png
Binary file added companion/src/themes/yerico/48/folder-tree-read.png
Binary file added companion/src/themes/yerico/48/folder-tree-write.png

0 comments on commit 5ecb6a8

Please sign in to comment.