menu icons theme
|
@ -33,6 +33,7 @@ SOURCES += \
|
|||
src/docktitlebar.cpp \
|
||||
src/filedialog.cpp \
|
||||
src/fileiconprovider.cpp \
|
||||
src/icon.cpp \
|
||||
src/mainwindow.cpp \
|
||||
src/helper.cpp \
|
||||
src/progressinfo.cpp \
|
||||
|
@ -86,6 +87,7 @@ HEADERS += \
|
|||
include/docktitlebar.h \
|
||||
include/filedialog.h \
|
||||
include/fileiconprovider.h \
|
||||
include/icon.h \
|
||||
include/mainwindow.h \
|
||||
include/helper.h \
|
||||
include/progressinfo.h \
|
||||
|
|
BIN
bin/themes/Intellij Dark/icons/actionBack.png
Normal file
After Width: | Height: | Size: 407 B |
BIN
bin/themes/Intellij Dark/icons/actionDelete.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
bin/themes/Intellij Dark/icons/actionEdit.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
bin/themes/Intellij Dark/icons/actionForward.png
Normal file
After Width: | Height: | Size: 411 B |
BIN
bin/themes/Intellij Dark/icons/actionGitAdd.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
bin/themes/Intellij Dark/icons/actionGitAddAll.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
bin/themes/Intellij Dark/icons/actionGitCommit.png
Normal file
After Width: | Height: | Size: 597 B |
BIN
bin/themes/Intellij Dark/icons/actionGitDiffTree.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
bin/themes/Intellij Dark/icons/actionGitDiscardChanges.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
bin/themes/Intellij Dark/icons/actionGitPull.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
bin/themes/Intellij Dark/icons/actionGitPush.png
Normal file
After Width: | Height: | Size: 410 B |
BIN
bin/themes/Intellij Dark/icons/actionGitReset.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
bin/themes/Intellij Dark/icons/actionGitResetAll.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
bin/themes/Intellij Dark/icons/actionHelpAbout.png
Normal file
After Width: | Height: | Size: 839 B |
BIN
bin/themes/Intellij Dark/icons/actionHelpContact.png
Normal file
After Width: | Height: | Size: 820 B |
BIN
bin/themes/Intellij Dark/icons/actionHelpZiraCMS.png
Normal file
After Width: | Height: | Size: 972 B |
BIN
bin/themes/Intellij Dark/icons/actionNewFile.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
bin/themes/Intellij Dark/icons/actionNewFolder.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
bin/themes/Intellij Dark/icons/actionOpenFile.png
Normal file
After Width: | Height: | Size: 478 B |
BIN
bin/themes/Intellij Dark/icons/actionOutput.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
bin/themes/Intellij Dark/icons/actionQuickAccess.png
Normal file
After Width: | Height: | Size: 521 B |
BIN
bin/themes/Intellij Dark/icons/actionQuit.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
bin/themes/Intellij Dark/icons/actionRedo.png
Normal file
After Width: | Height: | Size: 614 B |
BIN
bin/themes/Intellij Dark/icons/actionRefresh.png
Normal file
After Width: | Height: | Size: 939 B |
BIN
bin/themes/Intellij Dark/icons/actionSave.png
Normal file
After Width: | Height: | Size: 515 B |
BIN
bin/themes/Intellij Dark/icons/actionSaveAll.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
bin/themes/Intellij Dark/icons/actionSaveAs.png
Normal file
After Width: | Height: | Size: 690 B |
BIN
bin/themes/Intellij Dark/icons/actionSettings.png
Normal file
After Width: | Height: | Size: 765 B |
BIN
bin/themes/Intellij Dark/icons/actionSidebar.png
Normal file
After Width: | Height: | Size: 252 B |
BIN
bin/themes/Intellij Dark/icons/actionSplitTab.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
bin/themes/Intellij Dark/icons/actionStartServers.png
Normal file
After Width: | Height: | Size: 657 B |
BIN
bin/themes/Intellij Dark/icons/actionStopServers.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
bin/themes/Intellij Dark/icons/actionUndo.png
Normal file
After Width: | Height: | Size: 589 B |
|
@ -98,7 +98,7 @@ QMenu::indicator:checked
|
|||
stop: 0.3 transparent
|
||||
);
|
||||
*/
|
||||
image: url(:/icons/ok.png);
|
||||
image: url(:/styles/dark/ok.png);
|
||||
}
|
||||
|
||||
QMenu::indicator:unchecked
|
||||
|
@ -127,7 +127,7 @@ QMenu::right-arrow
|
|||
border-image: none;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
image: url(":/icons/item.png");
|
||||
image: url(":/styles/dark/item.png");
|
||||
}
|
||||
|
||||
QWidget:disabled
|
||||
|
|
BIN
bin/themes/Studio Light/icons/actionBack.png
Normal file
After Width: | Height: | Size: 385 B |
BIN
bin/themes/Studio Light/icons/actionDelete.png
Normal file
After Width: | Height: | Size: 353 B |
BIN
bin/themes/Studio Light/icons/actionEdit.png
Normal file
After Width: | Height: | Size: 432 B |
BIN
bin/themes/Studio Light/icons/actionForward.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
bin/themes/Studio Light/icons/actionGitAdd.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
bin/themes/Studio Light/icons/actionGitAddAll.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
bin/themes/Studio Light/icons/actionGitCommit.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
bin/themes/Studio Light/icons/actionGitDiffTree.png
Normal file
After Width: | Height: | Size: 257 B |
BIN
bin/themes/Studio Light/icons/actionGitDiscardChanges.png
Normal file
After Width: | Height: | Size: 556 B |
BIN
bin/themes/Studio Light/icons/actionGitPull.png
Normal file
After Width: | Height: | Size: 430 B |
BIN
bin/themes/Studio Light/icons/actionGitPush.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
bin/themes/Studio Light/icons/actionGitReset.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
bin/themes/Studio Light/icons/actionGitResetAll.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
bin/themes/Studio Light/icons/actionHelpAbout.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
bin/themes/Studio Light/icons/actionHelpContact.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
bin/themes/Studio Light/icons/actionHelpZiraCMS.png
Normal file
After Width: | Height: | Size: 972 B |
BIN
bin/themes/Studio Light/icons/actionNewFile.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
bin/themes/Studio Light/icons/actionNewFolder.png
Normal file
After Width: | Height: | Size: 341 B |
BIN
bin/themes/Studio Light/icons/actionOpenFile.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
bin/themes/Studio Light/icons/actionOutput.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
bin/themes/Studio Light/icons/actionQuickAccess.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
bin/themes/Studio Light/icons/actionQuit.png
Normal file
After Width: | Height: | Size: 704 B |
BIN
bin/themes/Studio Light/icons/actionRedo.png
Normal file
After Width: | Height: | Size: 579 B |
BIN
bin/themes/Studio Light/icons/actionRefresh.png
Normal file
After Width: | Height: | Size: 847 B |
BIN
bin/themes/Studio Light/icons/actionSave.png
Normal file
After Width: | Height: | Size: 492 B |
BIN
bin/themes/Studio Light/icons/actionSaveAll.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
bin/themes/Studio Light/icons/actionSaveAs.png
Normal file
After Width: | Height: | Size: 636 B |
BIN
bin/themes/Studio Light/icons/actionSettings.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
bin/themes/Studio Light/icons/actionSidebar.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
bin/themes/Studio Light/icons/actionSplitTab.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
bin/themes/Studio Light/icons/actionStartServers.png
Normal file
After Width: | Height: | Size: 576 B |
BIN
bin/themes/Studio Light/icons/actionStopServers.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
bin/themes/Studio Light/icons/actionUndo.png
Normal file
After Width: | Height: | Size: 556 B |
|
@ -98,7 +98,7 @@ QMenu::indicator:checked
|
|||
stop: 0.3 transparent
|
||||
);
|
||||
*/
|
||||
image: url(:/icons/ok.png);
|
||||
image: url(:/styles/light/ok.png);
|
||||
}
|
||||
|
||||
QMenu::indicator:unchecked
|
||||
|
@ -127,7 +127,7 @@ QMenu::right-arrow
|
|||
border-image: none;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
image: url(":/icons/item.png");
|
||||
image: url(":/styles/light/item.png");
|
||||
}
|
||||
|
||||
QWidget:disabled
|
||||
|
|
19
include/icon.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef ICON_H
|
||||
#define ICON_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QMenuBar>
|
||||
|
||||
class Icon
|
||||
{
|
||||
public:
|
||||
Icon();
|
||||
static void applyActionIcons(QMenuBar * menuBar, QString prefix);
|
||||
static QIcon get(QString actionName, QIcon defaultIcon = QIcon());
|
||||
static void reset();
|
||||
static QString prefix;
|
||||
protected:
|
||||
static void iterateMenuActions(QMenu * menu);
|
||||
};
|
||||
|
||||
#endif // ICON_H
|
|
@ -88,6 +88,7 @@ protected:
|
|||
void runServersCommand(QString command, QString pwd, QString description);
|
||||
void compileSass(QString src, QString dst);
|
||||
void applyThemeColors(QString pluginsDir, bool light, bool applyFont);
|
||||
void applyThemeIcons();
|
||||
void updateTabsListButton();
|
||||
void resetLastSearchParams();
|
||||
void showWelcomeScreen();
|
||||
|
|
|
@ -21,6 +21,7 @@ extern const QString THEME_DARK;
|
|||
extern const QString CUSTOM_THEME_CSS_FILE;
|
||||
extern const QString CUSTOM_THEME_SCHEME_FILE;
|
||||
extern const QString CUSTOM_THEME_COLORS_FILE;
|
||||
extern const QString CUSTOM_THEME_ICONS_FOLDER;
|
||||
|
||||
extern const QString CUSTOM_THEMES_FALLBACK_FOLDER;
|
||||
extern const QString PHP_MANUAL_FALLBACK_FOLDER;
|
||||
|
|
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
BIN
qrc/resources/styles/dark/icons/actionBack.png
Normal file
After Width: | Height: | Size: 407 B |
BIN
qrc/resources/styles/dark/icons/actionDelete.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
qrc/resources/styles/dark/icons/actionEdit.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
qrc/resources/styles/dark/icons/actionForward.png
Normal file
After Width: | Height: | Size: 411 B |
BIN
qrc/resources/styles/dark/icons/actionGitAdd.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
qrc/resources/styles/dark/icons/actionGitAddAll.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
qrc/resources/styles/dark/icons/actionGitCommit.png
Normal file
After Width: | Height: | Size: 597 B |
BIN
qrc/resources/styles/dark/icons/actionGitDiffTree.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
qrc/resources/styles/dark/icons/actionGitDiscardChanges.png
Normal file
After Width: | Height: | Size: 589 B |
BIN
qrc/resources/styles/dark/icons/actionGitPull.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
qrc/resources/styles/dark/icons/actionGitPush.png
Normal file
After Width: | Height: | Size: 410 B |
BIN
qrc/resources/styles/dark/icons/actionGitReset.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
qrc/resources/styles/dark/icons/actionGitResetAll.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
qrc/resources/styles/dark/icons/actionHelpAbout.png
Normal file
After Width: | Height: | Size: 839 B |
BIN
qrc/resources/styles/dark/icons/actionHelpContact.png
Normal file
After Width: | Height: | Size: 820 B |
BIN
qrc/resources/styles/dark/icons/actionHelpZiraCMS.png
Normal file
After Width: | Height: | Size: 972 B |
BIN
qrc/resources/styles/dark/icons/actionNewFile.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
qrc/resources/styles/dark/icons/actionNewFolder.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
qrc/resources/styles/dark/icons/actionOpenFile.png
Normal file
After Width: | Height: | Size: 478 B |
BIN
qrc/resources/styles/dark/icons/actionOutput.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
qrc/resources/styles/dark/icons/actionQuickAccess.png
Normal file
After Width: | Height: | Size: 521 B |
BIN
qrc/resources/styles/dark/icons/actionQuit.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
qrc/resources/styles/dark/icons/actionRedo.png
Normal file
After Width: | Height: | Size: 614 B |
BIN
qrc/resources/styles/dark/icons/actionRefresh.png
Normal file
After Width: | Height: | Size: 939 B |
BIN
qrc/resources/styles/dark/icons/actionSave.png
Normal file
After Width: | Height: | Size: 515 B |
BIN
qrc/resources/styles/dark/icons/actionSaveAll.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
qrc/resources/styles/dark/icons/actionSaveAs.png
Normal file
After Width: | Height: | Size: 690 B |