icon theme: add dedicated icons for actions "show only this folder" and "show all folders" in the collection panel

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5110 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2017-11-26 04:54:31 +00:00
parent 947b933941
commit dd2c45ab64
9 changed files with 13 additions and 3 deletions

View File

@@ -146,8 +146,8 @@ void ElementsCollectionWidget::setUpAction()
m_edit_dir = new QAction(QET::Icons::FolderEdit, tr("Éditer le dossier"), this);
m_new_directory = new QAction(QET::Icons::FolderNew, tr("Nouveau dossier"), this);
m_new_element = new QAction(QET::Icons::ElementNew, tr("Nouvel élément"), this);
m_show_this_dir = new QAction(QET::Icons::ZoomDraw, tr("Afficher uniquement ce dossier"), this);
m_show_all_dir = new QAction(QET::Icons::ZoomOriginal, tr("Afficher tous les dossiers"), this);
m_show_this_dir = new QAction(QET::Icons::FolderOnlyThis,tr("Afficher uniquement ce dossier"), this);
m_show_all_dir = new QAction(QET::Icons::FolderShowAll, tr("Afficher tous les dossiers"), this);
m_dir_propertie = new QAction(QET::Icons::Folder, tr("Propriété du dossier"), this);
}
@@ -479,7 +479,7 @@ void ElementsCollectionWidget::showThisDir()
showAndExpandItem(m_showed_index, true, true);
ElementCollectionItem *eci = elementCollectionItemForIndex(m_showed_index);
if (eci)
eci->setBackground(QBrush(Qt::yellow));
eci->setBackground(QBrush(QColor(255, 204, 0, 255)));
search();
}
else

View File

@@ -91,6 +91,8 @@ namespace QET {
QIcon FolderDelete;
QIcon FolderEdit;
QIcon FolderNew;
QIcon FolderOnlyThis;
QIcon FolderShowAll;
QIcon Forbidden;
QIcon FullScreenEnter;
QIcon FullScreenExit;
@@ -331,6 +333,8 @@ void QET::Icons::initIcons() {
FolderEdit .addFile(":/ico/22x22/folder-edit.png");
FolderNew .addFile(":/ico/16x16/folder-new.png");
FolderNew .addFile(":/ico/22x22/folder-new.png");
FolderOnlyThis .addFile(":/ico/16x16/folder-only-this.png");
FolderShowAll .addFile(":/ico/16x16/folder-show-all.png");
Forbidden .addFile(":/ico/16x16/user-busy.png");
FullScreenEnter .addFile(":/ico/16x16/view-fullscreen.png");
FullScreenEnter .addFile(":/ico/22x22/view-fullscreen.png");

View File

@@ -98,6 +98,8 @@ namespace QET {
extern QIcon FolderDelete;
extern QIcon FolderEdit;
extern QIcon FolderNew;
extern QIcon FolderOnlyThis;
extern QIcon FolderShowAll;
extern QIcon Forbidden;
extern QIcon FullScreenEnter;
extern QIcon FullScreenExit;