diff --git a/sources/titleblock/qettemplateeditor.cpp b/sources/titleblock/qettemplateeditor.cpp index aa2e9308c..48909fc8d 100644 --- a/sources/titleblock/qettemplateeditor.cpp +++ b/sources/titleblock/qettemplateeditor.cpp @@ -521,7 +521,7 @@ void QETTitleBlockTemplateEditor::initWidgets() { Initialize the logo manager */ void QETTitleBlockTemplateEditor::initLogoManager() { - logo_manager_ = new TitleBlockTemplateLogoManager(tb_template_); + logo_manager_ = new TitleBlockTemplateLogoManager(tb_template_, this); logo_manager_ -> setReadOnly(read_only_); connect( logo_manager_, diff --git a/sources/titleblock/templatecellwidget.cpp b/sources/titleblock/templatecellwidget.cpp index 50e9fd4bd..73aa7ec3c 100644 --- a/sources/titleblock/templatecellwidget.cpp +++ b/sources/titleblock/templatecellwidget.cpp @@ -21,6 +21,7 @@ #include "nameslistwidget.h" #include "titleblocktemplate.h" #include "templatecommands.h" +#include "qeticons.h" /** Constructor @@ -62,7 +63,7 @@ void TitleBlockTemplateCellWidget::initWidgets() { logo_label_ = new QLabel(tr("Logo")); logo_input_ = new QComboBox(); logo_input_ -> addItem(tr("Aucun logo")); - add_logo_input_ = new QPushButton(tr("G\351rer les logos")); + add_logo_input_ = new QPushButton(QET::Icons::InsertImage, tr("G\351rer les logos")); // widgets specific to text cells label_checkbox_ = new QCheckBox(tr("Afficher un label :")); diff --git a/sources/titleblock/templatelogomanager.cpp b/sources/titleblock/templatelogomanager.cpp index 9389dced6..33625b7de 100644 --- a/sources/titleblock/templatelogomanager.cpp +++ b/sources/titleblock/templatelogomanager.cpp @@ -17,6 +17,7 @@ */ #include "templatelogomanager.h" #include "titleblocktemplate.h" +#include "qeticons.h" /** Constructor @@ -72,6 +73,8 @@ void TitleBlockTemplateLogoManager::initWidgets() { open_dialog_dir_ = QDesktopServices::storageLocation(QDesktopServices::DesktopLocation); setWindowTitle(tr("Gestionnaire de logos")); + setWindowIcon(QET::Icons::InsertImage); + setWindowFlags(Qt::Dialog); logos_label_ = new QLabel(tr("Logos embarqu\351s dans ce mod\350le :")); logos_view_ = new QListWidget(); logos_view_ -> setViewMode(QListView::IconMode);