summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/browsedirtreefrm.ui
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-07 16:48:45 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-07 16:48:45 +0000
commit3a4e540c3db4309990965455b0686230345be002 (patch)
tree76dcb5cff51e91065cc0fba97b61a30db4e29da9 /rbutil/rbutilqt/browsedirtreefrm.ui
parent611c699fd7c2c65d3d7f0d1a1d007cf2cdc42e05 (diff)
Replace the file selection dialog for the mountpoint with a pure folder tree view. This fixes an issue with the selection dialog which could try opening a nonexisting folder. Only allow to select drive letters on windows. Additionally, remove an old file I forgot earlier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14233 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/browsedirtreefrm.ui')
-rw-r--r--rbutil/rbutilqt/browsedirtreefrm.ui105
1 files changed, 105 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/browsedirtreefrm.ui b/rbutil/rbutilqt/browsedirtreefrm.ui
new file mode 100644
index 0000000000..de95b47024
--- /dev/null
+++ b/rbutil/rbutilqt/browsedirtreefrm.ui
@@ -0,0 +1,105 @@
+<ui version="4.0" >
+ <class>BrowseDirtreeFrm</class>
+ <widget class="QDialog" name="BrowseDirtreeFrm" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>275</width>
+ <height>380</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Find Directory</string>
+ </property>
+ <layout class="QGridLayout" >
+ <item row="0" column="0" colspan="2" >
+ <widget class="QLabel" name="label" >
+ <property name="text" >
+ <string>Browse to the destination folder</string>
+ </property>
+ <property name="wordWrap" >
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="2" >
+ <widget class="QTreeView" name="tree" />
+ </item>
+ <item row="2" column="0" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="1" >
+ <layout class="QHBoxLayout" >
+ <item>
+ <widget class="QPushButton" name="buttonOk" >
+ <property name="text" >
+ <string>&amp;Ok</string>
+ </property>
+ <property name="icon" >
+ <iconset resource="rbutilqt.qrc" >:/icons/icons/go-next.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="buttonCancel" >
+ <property name="text" >
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="icon" >
+ <iconset resource="rbutilqt.qrc" >:/icons/icons/process-stop.png</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <resources>
+ <include location="rbutilqt.qrc" />
+ </resources>
+ <connections>
+ <connection>
+ <sender>buttonCancel</sender>
+ <signal>clicked()</signal>
+ <receiver>BrowseDirtreeFrm</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>224</x>
+ <y>355</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>48</x>
+ <y>349</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonOk</sender>
+ <signal>clicked()</signal>
+ <receiver>BrowseDirtreeFrm</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>146</x>
+ <y>358</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>74</x>
+ <y>357</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>