icon theme: add new icons in element editor

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5119 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri 2017-11-27 20:27:49 +00:00
parent 1bf8ace205
commit dbd867d604
6 changed files with 11 additions and 5 deletions

BIN
ico/16x16/run-dxf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

BIN
ico/22x22/folder-open.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

View File

@ -578,5 +578,7 @@
<file>ico/16x16/go-down-double.png</file>
<file>ico/16x16/go-top.png</file>
<file>ico/16x16/go-bottom.png</file>
<file>ico/16x16/run-dxf.png</file>
<file>ico/22x22/folder-open.png</file>
</qresource>
</RCC>

View File

@ -140,9 +140,9 @@ void QETElementEditor::setFileName(const QString &fn) {
*/
void QETElementEditor::setupActions() {
new_element = new QAction(QET::Icons::DocumentNew, tr("&Nouveau"), this);
open = new QAction(QET::Icons::DocumentOpen, tr("&Ouvrir"), this);
open_file = new QAction(QET::Icons::DocumentOpen, tr("&Ouvrir depuis un fichier"), this);
open_dxf = new QAction(QET::Icons::DocumentOpen, tr("&Lancer le plugin convertisseur DXF"), this);
open = new QAction(QET::Icons::FolderOpen, tr("&Ouvrir"), this);
open_file = new QAction(QET::Icons::FolderOpen, tr("&Ouvrir depuis un fichier"), this);
open_dxf = new QAction(QET::Icons::RunDxf, tr("&Lancer le plugin convertisseur DXF"), this);
save = new QAction(QET::Icons::DocumentSave, tr("&Enregistrer"), this);
save_as = new QAction(QET::Icons::DocumentSaveAs, tr("Enregistrer sous"), this);
save_as_file = new QAction(QET::Icons::DocumentSaveAs, tr("Enregistrer dans un fichier"), this);

View File

@ -151,6 +151,7 @@ namespace QET {
QIcon Raise;
QIcon Remove;
QIcon Restore;
QIcon RunDxf;
QIcon SendBackward;
QIcon Settings;
QIcon SinglePage;
@ -357,6 +358,7 @@ void QET::Icons::initIcons() {
FolderNew .addFile(":/ico/22x22/folder-new.png");
FolderOnlyThis .addFile(":/ico/16x16/folder-only-this.png");
FolderOpen .addFile(":/ico/16x16/folder-open.png");
FolderOpen .addFile(":/ico/22x22/folder-open.png");
FolderProperties .addFile(":/ico/16x16/folder-properties.png");
FolderShowAll .addFile(":/ico/16x16/folder-show-all.png");
Forbidden .addFile(":/ico/16x16/user-busy.png");
@ -438,6 +440,7 @@ void QET::Icons::initIcons() {
Remove .addFile(":/ico/22x22/list-remove.png");
resize_image .addFile(":/ico/22x22/transform-scale.png");
Restore .addFile(":/ico/22x22/restaurer.png");
RunDxf .addFile(":/ico/16x16/run-dxf.png");
SendBackward .addFile(":/ico/22x22/send_backward.png");
Settings .addFile(":/ico/128x128/settings.png");
SinglePage .addFile(":/ico/22x22/single_page.png");

View File

@ -158,8 +158,9 @@ namespace QET {
extern QIcon QtLogo;
extern QIcon Raise;
extern QIcon Remove;
extern QIcon Restore;
extern QIcon SendBackward;
extern QIcon Restore;
extern QIcon RunDxf;
extern QIcon SendBackward;
extern QIcon Settings;
extern QIcon SinglePage;
extern QIcon South;