diff options
Diffstat (limited to 'mainwindow.ui')
-rw-r--r-- | mainwindow.ui | 80 |
1 files changed, 76 insertions, 4 deletions
diff --git a/mainwindow.ui b/mainwindow.ui index ac3dce3..4a0e1ea 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -206,18 +206,32 @@ <string>...</string> </property> <property name="icon"> - <iconset theme="media-playback-start"/> + <iconset theme="media-playback-start"> + <normaloff/> + </iconset> </property> </widget> </item> <item> - <widget class="QSlider" name="replaySlider"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <widget class="QToolButton" name="pauseButton"> + <property name="maximumSize"> + <size> + <width>30</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset theme="media-playback-pause"/> </property> </widget> </item> <item> + <widget class="Phonon::SeekSlider" name="replaySlider" native="true"/> + </item> + <item> <widget class="QLabel" name="replayLabel"/> </item> </layout> @@ -271,11 +285,18 @@ <header>notebookview.h</header> <slots> <signal>curPageChanged()</signal> + <signal>paperReplayRequested(QString,qint64)</signal> <slot>setZoom(int)</slot> <slot>prevPage()</slot> <slot>nextPage()</slot> </slots> </customwidget> + <customwidget> + <class>Phonon::SeekSlider</class> + <extends>QWidget</extends> + <header location="global">Phonon/SeekSlider</header> + <container>1</container> + </customwidget> </customwidgets> <resources/> <connections> @@ -375,10 +396,61 @@ </hint> </hints> </connection> + <connection> + <sender>notebookView</sender> + <signal>paperReplayRequested(QString,qint64)</signal> + <receiver>MainWindow</receiver> + <slot>handlePaperReplayRequested(QString,qint64)</slot> + <hints> + <hint type="sourcelabel"> + <x>521</x> + <y>193</y> + </hint> + <hint type="destinationlabel"> + <x>358</x> + <y>192</y> + </hint> + </hints> + </connection> + <connection> + <sender>playButton</sender> + <signal>clicked()</signal> + <receiver>MainWindow</receiver> + <slot>handlePaperReplayPlay()</slot> + <hints> + <hint type="sourcelabel"> + <x>341</x> + <y>343</y> + </hint> + <hint type="destinationlabel"> + <x>358</x> + <y>192</y> + </hint> + </hints> + </connection> + <connection> + <sender>pauseButton</sender> + <signal>clicked()</signal> + <receiver>MainWindow</receiver> + <slot>handlePaperReplayPause()</slot> + <hints> + <hint type="sourcelabel"> + <x>377</x> + <y>343</y> + </hint> + <hint type="destinationlabel"> + <x>358</x> + <y>192</y> + </hint> + </hints> + </connection> </connections> <slots> <slot>handleNotebookSelected(QModelIndex)</slot> <slot>handleZoomChanged(int)</slot> <slot>handleCurPageChanged()</slot> + <slot>handlePaperReplayRequested(QString,qint64)</slot> + <slot>handlePaperReplayPlay()</slot> + <slot>handlePaperReplayPause()</slot> </slots> </ui> |