diff options
Diffstat (limited to 'mainwindow.ui')
-rw-r--r-- | mainwindow.ui | 328 |
1 files changed, 163 insertions, 165 deletions
diff --git a/mainwindow.ui b/mainwindow.ui index c04ff30..52a8891 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -56,7 +56,7 @@ <bool>false</bool> </attribute> <attribute name="headerDefaultSectionSize"> - <number>28</number> + <number>41</number> </attribute> <attribute name="headerStretchLastSection"> <bool>false</bool> @@ -129,7 +129,7 @@ <string>...</string> </property> <property name="icon"> - <iconset theme="document-save-as"> + <iconset theme="document-send"> <normaloff>.</normaloff>.</iconset> </property> </widget> @@ -147,7 +147,7 @@ </property> </spacer> </item> - <item> + <item alignment="Qt::AlignVCenter"> <widget class="QLabel" name="zoomLabel"> <property name="text"> <string>Zoom:</string> @@ -157,10 +157,10 @@ </property> </widget> </item> - <item> + <item alignment="Qt::AlignVCenter"> <widget class="QSlider" name="zoomSlider"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -200,53 +200,36 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="pane2Mid"> - <property name="spacing"> + <widget class="QStackedWidget" name="pane2Stack"> + <property name="currentIndex"> <number>0</number> </property> - <item> - <widget class="NotebookView" name="notebookView"> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOn</enum> - </property> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOn</enum> - </property> - </widget> - </item> - <item> - <widget class="QTableView" name="paperReplayView"> - <property name="selectionMode"> - <enum>QAbstractItemView::SingleSelection</enum> - </property> - <property name="selectionBehavior"> - <enum>QAbstractItemView::SelectRows</enum> - </property> - <property name="showGrid"> - <bool>false</bool> - </property> - <attribute name="horizontalHeaderHighlightSections"> - <bool>false</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - </widget> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> + <widget class="NotebookView" name="notebookView"> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOn</enum> + </property> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAsNeeded</enum> + </property> + </widget> + <widget class="QTableView" name="paperReplayView"> + <property name="selectionMode"> + <enum>QAbstractItemView::SingleSelection</enum> + </property> + <property name="selectionBehavior"> + <enum>QAbstractItemView::SelectRows</enum> + </property> + <property name="showGrid"> + <bool>false</bool> + </property> + <attribute name="horizontalHeaderHighlightSections"> + <bool>false</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + </widget> + </widget> </item> <item> <layout class="QHBoxLayout" name="paperReplayTools"> @@ -276,10 +259,27 @@ </widget> </item> <item> - <widget class="Phonon::SeekSlider" name="replaySlider"/> + <widget class="QSlider" name="replaySlider"> + <property name="maximum"> + <number>0</number> + </property> + <property name="tracking"> + <bool>false</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickInterval"> + <number>1</number> + </property> + </widget> </item> <item> - <widget class="QLabel" name="mediaPosLabel"/> + <widget class="QLabel" name="mediaPosLabel"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> </item> <item> <widget class="QLabel" name="mediaLenLabel"> @@ -302,7 +302,7 @@ <x>0</x> <y>0</y> <width>718</width> - <height>29</height> + <height>23</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -340,12 +340,15 @@ </action> <action name="actionExport"> <property name="icon"> - <iconset theme="document-save-as"> + <iconset theme="document-send"> <normaloff>.</normaloff>.</iconset> </property> <property name="text"> <string>&Export...</string> </property> + <property name="toolTip"> + <string>Export</string> + </property> </action> <action name="actionAbout"> <property name="icon"> @@ -360,12 +363,6 @@ <layoutdefault spacing="6" margin="11"/> <customwidgets> <customwidget> - <class>Phonon::SeekSlider</class> - <extends>QWidget</extends> - <header location="global">phonon/seekslider.h</header> - <container>1</container> - </customwidget> - <customwidget> <class>NotebookView</class> <extends>QGraphicsView</extends> <header>notebookview.h</header> @@ -388,12 +385,12 @@ <slot>handleNotebookSelected(QModelIndex)</slot> <hints> <hint type="sourcelabel"> - <x>159</x> - <y>193</y> + <x>131</x> + <y>204</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>356</x> + <y>218</y> </hint> </hints> </connection> @@ -414,78 +411,78 @@ </hints> </connection> <connection> - <sender>zoomSlider</sender> - <signal>valueChanged(int)</signal> - <receiver>notebookView</receiver> - <slot>setZoom(int)</slot> + <sender>playButton</sender> + <signal>clicked()</signal> + <receiver>MainWindow</receiver> + <slot>handlePaperReplayPlay()</slot> <hints> <hint type="sourcelabel"> - <x>671</x> - <y>42</y> + <x>331</x> + <y>356</y> </hint> <hint type="destinationlabel"> - <x>479</x> - <y>272</y> + <x>332</x> + <y>267</y> </hint> </hints> </connection> <connection> - <sender>notebookView</sender> - <signal>curPageChanged()</signal> + <sender>pauseButton</sender> + <signal>clicked()</signal> <receiver>MainWindow</receiver> - <slot>handleCurPageChanged()</slot> + <slot>handlePaperReplayPause()</slot> <hints> <hint type="sourcelabel"> - <x>479</x> - <y>272</y> + <x>365</x> + <y>356</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>373</x> + <y>294</y> </hint> </hints> </connection> <connection> - <sender>prevButton</sender> - <signal>clicked()</signal> - <receiver>notebookView</receiver> - <slot>prevPage()</slot> + <sender>actionQuit</sender> + <signal>triggered()</signal> + <receiver>MainWindow</receiver> + <slot>deleteLater()</slot> <hints> <hint type="sourcelabel"> - <x>273</x> - <y>57</y> + <x>-1</x> + <y>-1</y> </hint> <hint type="destinationlabel"> - <x>479</x> - <y>272</y> + <x>358</x> + <y>192</y> </hint> </hints> </connection> <connection> - <sender>nextButton</sender> - <signal>clicked()</signal> - <receiver>notebookView</receiver> - <slot>nextPage()</slot> + <sender>actionExport</sender> + <signal>triggered()</signal> + <receiver>MainWindow</receiver> + <slot>handleExport()</slot> <hints> <hint type="sourcelabel"> - <x>365</x> - <y>57</y> + <x>-1</x> + <y>-1</y> </hint> <hint type="destinationlabel"> - <x>479</x> - <y>272</y> + <x>358</x> + <y>192</y> </hint> </hints> </connection> <connection> - <sender>notebookView</sender> - <signal>paperReplayRequested(QString,qint64)</signal> + <sender>actionAbout</sender> + <signal>triggered()</signal> <receiver>MainWindow</receiver> - <slot>handlePaperReplayRequested(QString,qint64)</slot> + <slot>handleAbout()</slot> <hints> <hint type="sourcelabel"> - <x>479</x> - <y>255</y> + <x>-1</x> + <y>-1</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -494,126 +491,126 @@ </hints> </connection> <connection> - <sender>playButton</sender> - <signal>clicked()</signal> - <receiver>MainWindow</receiver> - <slot>handlePaperReplayPlay()</slot> + <sender>zoomSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>notebookView</receiver> + <slot>setZoom(int)</slot> <hints> <hint type="sourcelabel"> - <x>273</x> - <y>358</y> + <x>663</x> + <y>46</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>550</x> + <y>132</y> </hint> </hints> </connection> <connection> - <sender>pauseButton</sender> + <sender>prevButton</sender> <signal>clicked()</signal> - <receiver>MainWindow</receiver> - <slot>handlePaperReplayPause()</slot> + <receiver>notebookView</receiver> + <slot>prevPage()</slot> <hints> <hint type="sourcelabel"> - <x>309</x> - <y>358</y> + <x>331</x> + <y>61</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>441</x> + <y>141</y> </hint> </hints> </connection> <connection> - <sender>paperReplayView</sender> - <signal>activated(QModelIndex)</signal> - <receiver>MainWindow</receiver> - <slot>handlePaperReplaySelected(QModelIndex)</slot> + <sender>nextButton</sender> + <signal>clicked()</signal> + <receiver>notebookView</receiver> + <slot>nextPage()</slot> <hints> <hint type="sourcelabel"> - <x>597</x> - <y>193</y> + <x>421</x> + <y>61</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>473</x> + <y>87</y> </hint> </hints> </connection> <connection> - <sender>paperReplayView</sender> - <signal>doubleClicked(QModelIndex)</signal> + <sender>notebookView</sender> + <signal>curPageChanged()</signal> <receiver>MainWindow</receiver> - <slot>handlePaperReplaySelected(QModelIndex)</slot> + <slot>handleCurPageChanged()</slot> <hints> <hint type="sourcelabel"> - <x>597</x> - <y>193</y> + <x>368</x> + <y>161</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>486</x> + <y>27</y> </hint> </hints> </connection> <connection> - <sender>exportButton</sender> - <signal>clicked()</signal> + <sender>notebookView</sender> + <signal>paperReplayRequested(QString,qint64)</signal> <receiver>MainWindow</receiver> - <slot>handleExport()</slot> + <slot>handlePaperReplayRequested(QString,qint64)</slot> <hints> <hint type="sourcelabel"> - <x>402</x> - <y>42</y> + <x>349</x> + <y>86</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>387</x> + <y>165</y> </hint> </hints> </connection> <connection> - <sender>actionQuit</sender> - <signal>triggered()</signal> + <sender>paperReplayView</sender> + <signal>activated(QModelIndex)</signal> <receiver>MainWindow</receiver> - <slot>deleteLater()</slot> + <slot>handlePaperReplaySelected(QModelIndex)</slot> <hints> <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> + <x>402</x> + <y>95</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>778</x> + <y>310</y> </hint> </hints> </connection> <connection> - <sender>actionExport</sender> - <signal>triggered()</signal> - <receiver>MainWindow</receiver> - <slot>handleExport()</slot> + <sender>notebookView</sender> + <signal>zoomChanged(int)</signal> + <receiver>zoomSlider</receiver> + <slot>setValue(int)</slot> <hints> <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> + <x>576</x> + <y>116</y> </hint> <hint type="destinationlabel"> - <x>358</x> - <y>192</y> + <x>715</x> + <y>62</y> </hint> </hints> </connection> <connection> - <sender>actionAbout</sender> - <signal>triggered()</signal> + <sender>exportButton</sender> + <signal>clicked()</signal> <receiver>MainWindow</receiver> - <slot>handleAbout()</slot> + <slot>handleExport()</slot> <hints> <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> + <x>457</x> + <y>46</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -622,18 +619,18 @@ </hints> </connection> <connection> - <sender>notebookView</sender> - <signal>zoomChanged(int)</signal> - <receiver>zoomSlider</receiver> - <slot>setValue(int)</slot> + <sender>replaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>MainWindow</receiver> + <slot>handlePaperReplaySliderChanged(int)</slot> <hints> <hint type="sourcelabel"> - <x>361</x> - <y>193</y> + <x>416</x> + <y>339</y> </hint> <hint type="destinationlabel"> - <x>671</x> - <y>42</y> + <x>681</x> + <y>300</y> </hint> </hints> </connection> @@ -646,6 +643,7 @@ <slot>handlePaperReplayPlay()</slot> <slot>handlePaperReplayPause()</slot> <slot>handlePaperReplaySelected(QModelIndex)</slot> + <slot>handlePaperReplaySliderChanged(int)</slot> <slot>handleExport()</slot> <slot>handleAbout()</slot> </slots> |