mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
TBT editor: logo manager: added icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1776 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
7c75e2f0bf
commit
a8b0d63a5c
BIN
ico/16x16/edit-rename.png
Normal file
BIN
ico/16x16/edit-rename.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
BIN
ico/16x16/list-add.png
Normal file
BIN
ico/16x16/list-add.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 564 B |
BIN
ico/16x16/list-remove.png
Normal file
BIN
ico/16x16/list-remove.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 B |
BIN
ico/22x22/edit-rename.png
Normal file
BIN
ico/22x22/edit-rename.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 353 B |
BIN
ico/22x22/list-add.png
Normal file
BIN
ico/22x22/list-add.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 907 B |
BIN
ico/22x22/list-remove.png
Normal file
BIN
ico/22x22/list-remove.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 498 B |
@ -35,6 +35,7 @@
|
||||
<file>ico/16x16/edit-delete.png</file>
|
||||
<file>ico/16x16/edit-paste.png</file>
|
||||
<file>ico/16x16/edit-redo.png</file>
|
||||
<file>ico/16x16/edit-rename.png</file>
|
||||
<file>ico/16x16/edit-select-all.png</file>
|
||||
<file>ico/16x16/edit-table-insert-row-above.png</file>
|
||||
<file>ico/16x16/edit-table-insert-column-left.png</file>
|
||||
@ -60,6 +61,8 @@
|
||||
<file>ico/16x16/item_copy.png</file>
|
||||
<file>ico/16x16/item_move.png</file>
|
||||
<file>ico/16x16/label.png</file>
|
||||
<file>ico/16x16/list-add.png</file>
|
||||
<file>ico/16x16/list-remove.png</file>
|
||||
<file>ico/16x16/masquer.png</file>
|
||||
<file>ico/16x16/neutral.png</file>
|
||||
<file>ico/16x16/north.png</file>
|
||||
@ -119,6 +122,7 @@
|
||||
<file>ico/22x22/edit-delete.png</file>
|
||||
<file>ico/22x22/edit-paste.png</file>
|
||||
<file>ico/22x22/edit-redo.png</file>
|
||||
<file>ico/22x22/edit-rename.png</file>
|
||||
<file>ico/22x22/edit-select-all.png</file>
|
||||
<file>ico/22x22/edit-table-insert-row-above.png</file>
|
||||
<file>ico/22x22/edit-table-insert-column-left.png</file>
|
||||
@ -144,6 +148,8 @@
|
||||
<file>ico/22x22/label.png</file>
|
||||
<file>ico/22x22/landscape.png</file>
|
||||
<file>ico/22x22/line.png</file>
|
||||
<file>ico/22x22/list-add.png</file>
|
||||
<file>ico/22x22/list-remove.png</file>
|
||||
<file>ico/22x22/lower.png</file>
|
||||
<file>ico/22x22/move.png</file>
|
||||
<file>ico/22x22/names.png</file>
|
||||
|
@ -21,6 +21,7 @@
|
||||
// on redeclare ici les icones
|
||||
namespace QET {
|
||||
namespace Icons {
|
||||
QIcon Add;
|
||||
QIcon AddColumn;
|
||||
QIcon AddRow;
|
||||
QIcon Allowed;
|
||||
@ -62,6 +63,7 @@ namespace QET {
|
||||
QIcon EditDelete;
|
||||
QIcon EditPaste;
|
||||
QIcon EditRedo;
|
||||
QIcon EditRename;
|
||||
QIcon EditSelectAll;
|
||||
QIcon EditTableCellMerge;
|
||||
QIcon EditTableCellSplit;
|
||||
@ -129,6 +131,7 @@ namespace QET {
|
||||
QIcon QETOxygenLogo;
|
||||
QIcon QtLogo;
|
||||
QIcon Raise;
|
||||
QIcon Remove;
|
||||
QIcon RemoveColumn;
|
||||
QIcon RemoveRow;
|
||||
QIcon Restore;
|
||||
@ -162,6 +165,8 @@ void QET::Icons::initIcons() {
|
||||
bool rtl = QApplication::isRightToLeft();
|
||||
QTransform reverse = QTransform().scale(-1, 1);
|
||||
|
||||
Add .addFile(":/ico/16x16/list-add.png");
|
||||
Add .addFile(":/ico/22x22/list-add.png");
|
||||
AddColumn .addFile(":/ico/16x16/add_col.png");
|
||||
AddRow .addFile(":/ico/16x16/add_row.png");
|
||||
Allowed .addFile(":/ico/16x16/user-online.png");
|
||||
@ -242,6 +247,8 @@ void QET::Icons::initIcons() {
|
||||
EditRedo .addFile(":/ico/16x16/edit-redo.png");
|
||||
EditRedo .addFile(":/ico/22x22/edit-redo.png");
|
||||
}
|
||||
EditRename .addFile(":/ico/16x16/edit-rename.png");
|
||||
EditRename .addFile(":/ico/22x22/edit-rename.png");
|
||||
EditSelectAll .addFile(":/ico/16x16/edit-select-all.png");
|
||||
EditSelectAll .addFile(":/ico/22x22/edit-select-all.png");
|
||||
EditTableCellMerge .addFile(":ico/16x16/edit-table-cell-merge.png");
|
||||
@ -342,6 +349,8 @@ void QET::Icons::initIcons() {
|
||||
QETOxygenLogo .addFile(":/ico/oxygen-icons/64x64/apps/qelectrotech.png");
|
||||
QtLogo .addFile(":/ico/32x32/qt.png");
|
||||
Raise .addFile(":/ico/22x22/raise.png");
|
||||
Remove .addFile(":/ico/16x16/list-remove.png");
|
||||
Remove .addFile(":/ico/22x22/list-remove.png");
|
||||
RemoveColumn .addFile(":/ico/16x16/remove_col.png");
|
||||
RemoveRow .addFile(":/ico/16x16/remove_row.png");
|
||||
Restore .addFile(":/ico/22x22/restaurer.png");
|
||||
|
@ -28,6 +28,7 @@ namespace QET {
|
||||
|
||||
// l'utilisation du mot-cle extern permet l'acces aux objets statiques
|
||||
// depuis l'exterieur du namespace
|
||||
extern QIcon Add;
|
||||
extern QIcon AddColumn;
|
||||
extern QIcon AddRow;
|
||||
extern QIcon Allowed;
|
||||
@ -69,6 +70,7 @@ namespace QET {
|
||||
extern QIcon EditDelete;
|
||||
extern QIcon EditPaste;
|
||||
extern QIcon EditRedo;
|
||||
extern QIcon EditRename;
|
||||
extern QIcon EditSelectAll;
|
||||
extern QIcon EditTableCellMerge;
|
||||
extern QIcon EditTableCellSplit;
|
||||
@ -138,6 +140,7 @@ namespace QET {
|
||||
extern QIcon QETOxygenLogo;
|
||||
extern QIcon QtLogo;
|
||||
extern QIcon Raise;
|
||||
extern QIcon Remove;
|
||||
extern QIcon RemoveColumn;
|
||||
extern QIcon RemoveRow;
|
||||
extern QIcon Restore;
|
||||
|
@ -84,12 +84,12 @@ void TitleBlockTemplateLogoManager::initWidgets() {
|
||||
logos_view_ -> setWrapping(true);
|
||||
logos_view_ -> setMovement(QListView::Static);
|
||||
logos_view_ -> setResizeMode(QListView::Adjust);
|
||||
add_button_ = new QPushButton(tr("Ajouter un logo"));
|
||||
delete_button_ = new QPushButton(tr("Supprimer ce logo"));
|
||||
add_button_ = new QPushButton(QET::Icons::Add, tr("Ajouter un logo"));
|
||||
delete_button_ = new QPushButton(QET::Icons::Remove, tr("Supprimer ce logo"));
|
||||
logo_box_ = new QGroupBox(tr("Propri\351t\351s"));
|
||||
logo_name_label_ = new QLabel(tr("Nom :"));
|
||||
logo_name_ = new QLineEdit();
|
||||
rename_button_ = new QPushButton(tr("Renommer"));
|
||||
rename_button_ = new QPushButton(QET::Icons::EditRename, tr("Renommer"));
|
||||
logo_type_ = new QLabel(tr("Type :"));
|
||||
buttons_ = new QDialogButtonBox(QDialogButtonBox::Ok);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user