Ui tweaks

Added "About Qt"
This commit is contained in:
NeoTheFox 2015-03-04 14:38:35 +03:00
parent f3487fae38
commit c68fc4dca5
6 changed files with 23 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#-------------------------------------------------
#
# Project created by QtCreator 2015-02-26T16:14:20
# Licenced on terms of GNU GPL v2 licence
#
#-------------------------------------------------

View File

@ -8,5 +8,6 @@
<file>icons/sd.png</file>
<file>icons/settings.png</file>
<file>icons/about.png</file>
<file>icons/exit.png</file>
</qresource>
</RCC>

BIN
icons/exit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

View File

@ -724,3 +724,8 @@ void MainWindow::on_estepspin_valueChanged(const QString &arg1)
else if(arg1.toFloat() >=10) ui->estepspin->setSingleStep(10);
else if(arg1.toFloat() >= 1) ui->estepspin->setSingleStep(1);
}
void MainWindow::on_actionAbout_Qt_triggered()
{
qApp->aboutQt();
}

View File

@ -123,6 +123,8 @@ private slots:
void serialError(QSerialPort::SerialPortError error);
void on_actionPrint_from_SD_triggered();
void on_actionAbout_Qt_triggered();
signals:
void sdReady();
};

View File

@ -554,6 +554,7 @@
<string>Help</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionAbout_Qt"/>
</widget>
<widget class="QMenu" name="menuTools">
<property name="enabled">
@ -633,6 +634,10 @@
</property>
</action>
<action name="actionExit">
<property name="icon">
<iconset resource="graphics.qrc">
<normaloff>:/icons/exit.png</normaloff>:/icons/exit.png</iconset>
</property>
<property name="text">
<string>Exit</string>
</property>
@ -653,6 +658,10 @@
</property>
</action>
<action name="actionAbout">
<property name="icon">
<iconset resource="graphics.qrc">
<normaloff>:/icons/about.png</normaloff>:/icons/about.png</iconset>
</property>
<property name="text">
<string>About</string>
</property>
@ -669,6 +678,11 @@
<string>Print from SD...</string>
</property>
</action>
<action name="actionAbout_Qt">
<property name="text">
<string>About Qt</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>