Ui tweaks
Added "About Qt"
This commit is contained in:
parent
f3487fae38
commit
c68fc4dca5
@ -1,6 +1,7 @@
|
|||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
#
|
#
|
||||||
# Project created by QtCreator 2015-02-26T16:14:20
|
# Project created by QtCreator 2015-02-26T16:14:20
|
||||||
|
# Licenced on terms of GNU GPL v2 licence
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@ -8,5 +8,6 @@
|
|||||||
<file>icons/sd.png</file>
|
<file>icons/sd.png</file>
|
||||||
<file>icons/settings.png</file>
|
<file>icons/settings.png</file>
|
||||||
<file>icons/about.png</file>
|
<file>icons/about.png</file>
|
||||||
|
<file>icons/exit.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
BIN
icons/exit.png
Normal file
BIN
icons/exit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 544 B |
@ -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() >=10) ui->estepspin->setSingleStep(10);
|
||||||
else if(arg1.toFloat() >= 1) ui->estepspin->setSingleStep(1);
|
else if(arg1.toFloat() >= 1) ui->estepspin->setSingleStep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionAbout_Qt_triggered()
|
||||||
|
{
|
||||||
|
qApp->aboutQt();
|
||||||
|
}
|
||||||
|
|||||||
@ -123,6 +123,8 @@ private slots:
|
|||||||
void serialError(QSerialPort::SerialPortError error);
|
void serialError(QSerialPort::SerialPortError error);
|
||||||
void on_actionPrint_from_SD_triggered();
|
void on_actionPrint_from_SD_triggered();
|
||||||
|
|
||||||
|
void on_actionAbout_Qt_triggered();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void sdReady();
|
void sdReady();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -554,6 +554,7 @@
|
|||||||
<string>Help</string>
|
<string>Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionAbout"/>
|
<addaction name="actionAbout"/>
|
||||||
|
<addaction name="actionAbout_Qt"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuTools">
|
<widget class="QMenu" name="menuTools">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
@ -633,6 +634,10 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionExit">
|
<action name="actionExit">
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="graphics.qrc">
|
||||||
|
<normaloff>:/icons/exit.png</normaloff>:/icons/exit.png</iconset>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Exit</string>
|
<string>Exit</string>
|
||||||
</property>
|
</property>
|
||||||
@ -653,6 +658,10 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionAbout">
|
<action name="actionAbout">
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="graphics.qrc">
|
||||||
|
<normaloff>:/icons/about.png</normaloff>:/icons/about.png</iconset>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>About</string>
|
<string>About</string>
|
||||||
</property>
|
</property>
|
||||||
@ -669,6 +678,11 @@
|
|||||||
<string>Print from SD...</string>
|
<string>Print from SD...</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionAbout_Qt">
|
||||||
|
<property name="text">
|
||||||
|
<string>About Qt</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<resources>
|
<resources>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user