diff options
author | Nao Pross <np@0hm.ch> | 2020-11-07 01:24:11 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2020-11-07 01:24:11 +0100 |
commit | 34c63bda4165b72b536c2ddef6a20fde5b294da5 (patch) | |
tree | c9a51f674ec2ca76ae28642d579600d863d0e124 /muddle.ui | |
parent | Clean up import (diff) | |
download | Muddle-34c63bda4165b72b536c2ddef6a20fde5b294da5.tar.gz Muddle-34c63bda4165b72b536c2ddef6a20fde5b294da5.zip |
Replace UI code with Qt designer file
Diffstat (limited to '')
-rw-r--r-- | muddle.ui | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/muddle.ui b/muddle.ui new file mode 100644 index 0000000..e25a1a9 --- /dev/null +++ b/muddle.ui @@ -0,0 +1,235 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MuddleWindow</class> + <widget class="QMainWindow" name="MuddleWindow"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>750</height> + </rect> + </property> + <property name="windowTitle"> + <string>Muddle</string> + </property> + <widget class="QTabWidget" name="Muddle"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>400</width> + <height>600</height> + </size> + </property> + <property name="windowTitle"> + <string>TabWidget</string> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="moodleTab"> + <attribute name="title"> + <string>Moodle</string> + </attribute> + <layout class="QGridLayout" name="gridLayout"> + <item row="2" column="0"> + <widget class="QLineEdit" name="downloadPathEdit"> + <property name="enabled"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="4" column="0" colspan="2"> + <widget class="QPushButton" name="downloadBtn"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Download</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLineEdit" name="searchBar"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="inputMask"> + <string/> + </property> + <property name="placeholderText"> + <string>Search</string> + </property> + </widget> + </item> + <item row="5" column="0" colspan="2"> + <widget class="QProgressBar" name="downloadProgressBar"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="value"> + <number>24</number> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="MoodleTreeWidget" name="moodleTree"> + <property name="headerHidden"> + <bool>false</bool> + </property> + <column> + <property name="text"> + <string notr="true">Item</string> + </property> + </column> + <column> + <property name="text"> + <string>Size</string> + </property> + </column> + </widget> + </item> + <item row="0" column="1"> + <widget class="QToolButton" name="refreshBtn"> + <property name="text"> + <string>Refresh</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QToolButton" name="selectPathBtn"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Select</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QTreeWidget" name="localTab"> + <attribute name="title"> + <string>Local</string> + </attribute> + <column> + <property name="text"> + <string notr="true">Name</string> + </property> + </column> + <column> + <property name="text"> + <string>Size</string> + </property> + </column> + </widget> + <widget class="QPlainTextEdit" name="logsTab"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="undoRedoEnabled"> + <bool>false</bool> + </property> + <property name="plainText"> + <string notr="true"/> + </property> + <property name="textInteractionFlags"> + <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> + </property> + <attribute name="title"> + <string>Logs</string> + </attribute> + </widget> + <widget class="QWidget" name="settingsTab"> + <attribute name="title"> + <string>Settings</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QGroupBox" name="moodleGrp"> + <property name="title"> + <string>Moodle</string> + </property> + <layout class="QFormLayout" name="formLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="intanceLabel"> + <property name="text"> + <string>Instance URL</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="instanceUrlEdit"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="tokenLabel"> + <property name="text"> + <string>Token</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="tokenEdit"/> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="muddleGrp"> + <property name="title"> + <string>Muddle</string> + </property> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="configLabel"> + <property name="text"> + <string>Config</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="configEdit"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + </widget> + <widget class="QMenuBar" name="menubar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QStatusBar" name="statusbar"/> + </widget> + <customwidgets> + <customwidget> + <class>MoodleTreeWidget</class> + <extends>QTreeWidget</extends> + <header>gui</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> |