diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-04 06:59:25 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-04 06:59:25 +0000 |
| commit | 9616389377d169c5c23317f0695d322b8d958b09 (patch) | |
| tree | 374cf26043cfc4e0d954a3de44d289fb860ba982 /utils/themeeditor/editorwindow.ui | |
| parent | d5171cc22574133b006fdbd8dc3bcad0ac139353 (diff) | |
| download | rockbox-9616389377d169c5c23317f0695d322b8d958b09.zip rockbox-9616389377d169c5c23317f0695d322b8d958b09.tar.gz rockbox-9616389377d169c5c23317f0695d322b8d958b09.tar.bz2 rockbox-9616389377d169c5c23317f0695d322b8d958b09.tar.xz | |
Theme Editor: Fixed bugs with menu signals, rearranged UI some more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26540 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/editorwindow.ui')
| -rw-r--r-- | utils/themeeditor/editorwindow.ui | 183 |
1 files changed, 47 insertions, 136 deletions
diff --git a/utils/themeeditor/editorwindow.ui b/utils/themeeditor/editorwindow.ui index f5064a0..c7e89a4 100644 --- a/utils/themeeditor/editorwindow.ui +++ b/utils/themeeditor/editorwindow.ui @@ -20,9 +20,18 @@ <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QPlainTextEdit" name="codeEdit"> - <property name="lineWrapMode"> - <enum>QPlainTextEdit::NoWrap</enum> + <widget class="QTabWidget" name="editorTabs"> + <property name="tabPosition"> + <enum>QTabWidget::North</enum> + </property> + <property name="currentIndex"> + <number>-1</number> + </property> + <property name="tabsClosable"> + <bool>true</bool> + </property> + <property name="movable"> + <bool>true</bool> </property> </widget> </item> @@ -41,6 +50,9 @@ <property name="title"> <string>&File</string> </property> + <addaction name="actionNew_Document"/> + <addaction name="actionOpen_Document"/> + <addaction name="separator"/> <addaction name="actionPreferences"/> <addaction name="separator"/> <addaction name="actionQuit"/> @@ -58,22 +70,15 @@ </widget> <widget class="QStatusBar" name="statusbar"/> <widget class="QDockWidget" name="skinPreviewDock"> + <property name="windowTitle"> + <string>Skin Preview</string> + </property> <attribute name="dockWidgetArea"> <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Skin Preview</string> - </property> - <property name="buddy"> - <cstring>skinPreview</cstring> - </property> - </widget> - </item> - <item> <widget class="QGraphicsView" name="skinPreview"/> </item> </layout> @@ -87,48 +92,34 @@ <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> - <bool>true</bool> + <bool>false</bool> </attribute> </widget> <widget class="QDockWidget" name="fileDock"> + <property name="windowTitle"> + <string>Files</string> + </property> <attribute name="dockWidgetArea"> <number>1</number> </attribute> <widget class="QWidget" name="dockWidgetContents_2"> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Files</string> - </property> - <property name="buddy"> - <cstring>fileTree</cstring> - </property> - </widget> - </item> - <item> <widget class="QTreeView" name="fileTree"/> </item> </layout> </widget> </widget> <widget class="QDockWidget" name="parseTreeDock"> + <property name="windowTitle"> + <string>Parse Tree</string> + </property> <attribute name="dockWidgetArea"> <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents_3"> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Parse Tree</string> - </property> - <property name="buddy"> - <cstring>parseTree</cstring> - </property> - </widget> - </item> - <item> <widget class="QTreeView" name="parseTree"/> </item> <item> @@ -151,10 +142,10 @@ </action> <action name="actionDisplay_Panel"> <property name="checkable"> - <bool>true</bool> + <bool>false</bool> </property> <property name="checked"> - <bool>true</bool> + <bool>false</bool> </property> <property name="text"> <string>Parse &Tree Panel</string> @@ -170,10 +161,10 @@ </action> <action name="actionFile_Panel"> <property name="checkable"> - <bool>true</bool> + <bool>false</bool> </property> <property name="checked"> - <bool>true</bool> + <bool>false</bool> </property> <property name="text"> <string>&File Panel</string> @@ -181,15 +172,31 @@ </action> <action name="actionPreview_Panel"> <property name="checkable"> - <bool>true</bool> + <bool>false</bool> </property> <property name="checked"> - <bool>true</bool> + <bool>false</bool> </property> <property name="text"> <string>&Preview Panel</string> </property> </action> + <action name="actionNew_Document"> + <property name="text"> + <string>&New Document</string> + </property> + <property name="shortcut"> + <string>Ctrl+N</string> + </property> + </action> + <action name="actionOpen_Document"> + <property name="text"> + <string>&Open Document</string> + </property> + <property name="shortcut"> + <string>Ctrl+O</string> + </property> + </action> </widget> <resources> <include location="resources.qrc"/> @@ -211,101 +218,5 @@ </hint> </hints> </connection> - <connection> - <sender>actionDisplay_Panel</sender> - <signal>toggled(bool)</signal> - <receiver>parseTreeDock</receiver> - <slot>setVisible(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> - </hint> - <hint type="destinationlabel"> - <x>680</x> - <y>129</y> - </hint> - </hints> - </connection> - <connection> - <sender>parseTreeDock</sender> - <signal>visibilityChanged(bool)</signal> - <receiver>actionDisplay_Panel</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>680</x> - <y>129</y> - </hint> - <hint type="destinationlabel"> - <x>-1</x> - <y>-1</y> - </hint> - </hints> - </connection> - <connection> - <sender>actionFile_Panel</sender> - <signal>toggled(bool)</signal> - <receiver>fileDock</receiver> - <slot>setVisible(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> - </hint> - <hint type="destinationlabel"> - <x>79</x> - <y>206</y> - </hint> - </hints> - </connection> - <connection> - <sender>fileDock</sender> - <signal>visibilityChanged(bool)</signal> - <receiver>actionFile_Panel</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>79</x> - <y>206</y> - </hint> - <hint type="destinationlabel"> - <x>-1</x> - <y>-1</y> - </hint> - </hints> - </connection> - <connection> - <sender>actionPreview_Panel</sender> - <signal>toggled(bool)</signal> - <receiver>skinPreviewDock</receiver> - <slot>setVisible(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> - </hint> - <hint type="destinationlabel"> - <x>680</x> - <y>112</y> - </hint> - </hints> - </connection> - <connection> - <sender>skinPreviewDock</sender> - <signal>visibilityChanged(bool)</signal> - <receiver>actionPreview_Panel</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>680</x> - <y>112</y> - </hint> - <hint type="destinationlabel"> - <x>-1</x> - <y>-1</y> - </hint> - </hints> - </connection> </connections> </ui> |