git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4708 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-09-15 03:42:01 +00:00
parent 76205b0de6
commit 54093fe2b1
6 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
</style>
</defs>
<path
style="fill:currentColor;fill-opacity:1;stroke:none"
d="M 8 2 A 6 6 0 0 0 2 8 A 6 6 0 0 0 8 14 A 6 6 0 0 0 14 8 A 6 6 0 0 0 8 2 z M 2 3 L 2 5 L 4 3 L 2 3 z M 8 3 A 5 5 0 0 1 10.390625 3.609375 L 8.8691406 5.1308594 A 3 3 0 0 0 8 5 A 3 3 0 0 0 7.1308594 5.1308594 L 5.6132812 3.6132812 A 5 5 0 0 1 8 3 z M 12 3 L 14 5 L 14 3 L 12 3 z M 3.609375 5.609375 L 5.1308594 7.1308594 A 3 3 0 0 0 5 8 A 3 3 0 0 0 5.1308594 8.8691406 L 3.6132812 10.386719 A 5 5 0 0 1 3 8 A 5 5 0 0 1 3.609375 5.609375 z M 12.386719 5.6132812 A 5 5 0 0 1 13 8 A 5 5 0 0 1 12.390625 10.390625 L 10.869141 8.8691406 A 3 3 0 0 0 11 8 A 3 3 0 0 0 10.869141 7.1308594 L 12.386719 5.6132812 z M 8 6 A 2 2 0 0 1 10 8 A 2 2 0 0 1 8 10 A 2 2 0 0 1 6 8 A 2 2 0 0 1 8 6 z M 7.1308594 10.869141 A 3 3 0 0 0 8 11 A 3 3 0 0 0 8.8691406 10.869141 L 10.386719 12.386719 A 5 5 0 0 1 8 13 A 5 5 0 0 1 5.609375 12.390625 L 7.1308594 10.869141 z M 2 11 L 2 13 L 4 13 L 2 11 z M 14 11 L 12 13 L 14 13 L 14 11 z "
class="ColorScheme-Text"
/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -249,5 +249,6 @@
<file>ico/24x16/br.png</file> <file>ico/24x16/br.png</file>
<file>ico/22x22/grid.png</file> <file>ico/22x22/grid.png</file>
<file>ico/22x22/terminalstrip.png</file> <file>ico/22x22/terminalstrip.png</file>
<file>ico/16x16/help-contents.svg</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@@ -186,6 +186,7 @@ namespace QET {
QIcon listDrawings; QIcon listDrawings;
QIcon AutoNum; QIcon AutoNum;
QIcon TerminalStrip; QIcon TerminalStrip;
QIcon QETManual;
} }
} }
@@ -381,6 +382,7 @@ void QET::Icons::initIcons() {
QETIcon .addFile(":/ico/256x256/qelectrotech.png"); QETIcon .addFile(":/ico/256x256/qelectrotech.png");
ProjectFileGP .addFile(":/ico/16x16/project-WH.png"); ProjectFileGP .addFile(":/ico/16x16/project-WH.png");
QETLogo .addFile(":/ico/16x16/qet.png"); QETLogo .addFile(":/ico/16x16/qet.png");
QETManual .addFile(":/ico/16x16/help-contents.svg");
QETLogo .addFile(":/ico/256x256/qet.png"); QETLogo .addFile(":/ico/256x256/qet.png");
QETOxygenLogo .addFile(":/ico/oxygen-icons/128x128/apps/qelectrotech.png"); QETOxygenLogo .addFile(":/ico/oxygen-icons/128x128/apps/qelectrotech.png");
QETOxygenLogo .addFile(":/ico/oxygen-icons/16x16/apps/qelectrotech.png"); QETOxygenLogo .addFile(":/ico/oxygen-icons/16x16/apps/qelectrotech.png");

View File

@@ -195,6 +195,7 @@ namespace QET {
extern QIcon listDrawings; extern QIcon listDrawings;
extern QIcon AutoNum; extern QIcon AutoNum;
extern QIcon TerminalStrip; extern QIcon TerminalStrip;
extern QIcon QETManual;
} }
} }
#endif #endif

View File

@@ -73,7 +73,7 @@ void QETMainWindow::initCommonActions() {
about_qet_ -> setStatusTip(tr("Affiche des informations sur QElectroTech", "status bar tip")); about_qet_ -> setStatusTip(tr("Affiche des informations sur QElectroTech", "status bar tip"));
connect(about_qet_, SIGNAL(triggered()), qet_app, SLOT(aboutQET())); connect(about_qet_, SIGNAL(triggered()), qet_app, SLOT(aboutQET()));
manual_online_ = new QAction(QET::Icons::QETLogo, tr("Manuel QElectroTech en ligne"), this); manual_online_ = new QAction(QET::Icons::QETManual, tr("Manuel en ligne"), this);
manual_online_ -> setStatusTip(tr("Lance le navigateur par defaut vers le manuel en ligne de QElectroTech", "status bar tip")); manual_online_ -> setStatusTip(tr("Lance le navigateur par defaut vers le manuel en ligne de QElectroTech", "status bar tip"));
connect(manual_online_, &QAction::triggered, [this](bool) { connect(manual_online_, &QAction::triggered, [this](bool) {

View File

@@ -56,7 +56,7 @@ class QETMainWindow : public QMainWindow {
QAction *fullscreen_action_; ///< Toggle full screen QAction *fullscreen_action_; ///< Toggle full screen
QAction *whatsthis_action_; ///< Toggle "What's this" mode QAction *whatsthis_action_; ///< Toggle "What's this" mode
QAction *about_qet_; ///< Launch the "About QElectroTech" dialog QAction *about_qet_; ///< Launch the "About QElectroTech" dialog
QAction *manual_online_; ///< Launch browser on QElectroTech manual on line QAction *manual_online_; ///< Launch browser on QElectroTech online manual
QAction *about_qt_; ///< launch the "About Qt" dialog QAction *about_qt_; ///< launch the "About Qt" dialog
QMenu *settings_menu_; ///< Settings menu QMenu *settings_menu_; ///< Settings menu
QMenu *help_menu_; ///< Help menu QMenu *help_menu_; ///< Help menu