mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Changed to switch Start/Stop button text, when Slide is running or not.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5773 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
49096d29d2
commit
e803b2c447
@ -106,10 +106,14 @@ void PhotoSlideShow::StartStop()
|
||||
if (mRunning)
|
||||
{
|
||||
mRunning = false;
|
||||
ui.pushButton_StartStop->setText(tr("Start"));
|
||||
ui.pushButton_StartStop->setToolTip(tr("Start Slide Show"));
|
||||
}
|
||||
else
|
||||
{
|
||||
mRunning = true;
|
||||
ui.pushButton_StartStop->setText(tr("Stop"));
|
||||
ui.pushButton_StartStop->setToolTip(tr("Stop Slide Show"));
|
||||
if (!mShotActive) // make sure only one timer running
|
||||
{
|
||||
mShotActive = true;
|
||||
|
@ -10,6 +10,9 @@
|
||||
<height>671</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="autoFillBackground">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
@ -99,7 +102,7 @@
|
||||
<normaloff>:/images/window_fullscreen.png</normaloff>:/images/window_fullscreen.png</iconset>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -112,8 +115,11 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_StartStop">
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Stop/Run</string>
|
||||
<string>Stop</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user