diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-23 07:32:06 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:04 -0500 |
| commit | 60b59ddf097fffa846a4d28e0d9256630da5149c (patch) | |
| tree | 625f9efc16325f691f5e8a9931dec14a2b19d12e /src/instancemanagerdialog.ui | |
| parent | 5513b273c679b9edda951f418ef013a762ca587a (diff) | |
started create instance dialog
allow for multiple instances of Settings
fill in information in instance manager
Diffstat (limited to 'src/instancemanagerdialog.ui')
| -rw-r--r-- | src/instancemanagerdialog.ui | 116 |
1 files changed, 67 insertions, 49 deletions
diff --git a/src/instancemanagerdialog.ui b/src/instancemanagerdialog.ui index b35d2e58..146b5fb5 100644 --- a/src/instancemanagerdialog.ui +++ b/src/instancemanagerdialog.ui @@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>531</width> + <width>689</width> <height>413</height> </rect> </property> @@ -41,17 +41,6 @@ </widget> </item> <item> - <widget class="QPushButton" name="createPortable"> - <property name="text"> - <string>Create portable instance</string> - </property> - <property name="icon"> - <iconset resource="resources.qrc"> - <normaloff>:/MO/gui/package</normaloff>:/MO/gui/package</iconset> - </property> - </widget> - </item> - <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -65,9 +54,9 @@ </spacer> </item> <item> - <widget class="QLabel" name="whatis"> + <widget class="LinkLabel" name="whatis"> <property name="text"> - <string><html><head/><body><p><a href="https://github.com/ModOrganizer2/modorganizer/wiki/Instance"><span style=" text-decoration: underline; color:#0000ff;">What is an instance?</span></a></p></body></html></string> + <string><html><head/><body><p><a href="https://github.com/ModOrganizer2/modorganizer/wiki/Instance">What is an instance?</a></p></body></html></string> </property> <property name="openExternalLinks"> <bool>true</bool> @@ -134,7 +123,7 @@ </property> <item> <widget class="QWidget" name="widget_7" native="true"> - <layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0"> + <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0"> <property name="leftMargin"> <number>0</number> </property> @@ -148,33 +137,51 @@ <number>0</number> </property> <item row="0" column="1"> - <widget class="QLabel" name="name"> + <widget class="QLineEdit" name="name"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> <property name="text"> - <string notr="true">instance name</string> + <string>Name</string> </property> - <property name="textInteractionFlags"> - <set>Qt::TextBrowserInteraction</set> + </widget> + </item> + <item row="4" column="2"> + <widget class="QPushButton" name="exploreLocation"> + <property name="text"> + <string>Explore</string> </property> </widget> </item> - <item row="2" column="0"> + <item row="6" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> - <string>Game:</string> + <string>Game</string> </property> </widget> </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Name:</string> + <item row="6" column="1"> + <widget class="QLineEdit" name="gameName"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLineEdit" name="location"> + <property name="readOnly"> + <bool>true</bool> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> - <string>Location:</string> + <string>Location</string> </property> </widget> </item> @@ -185,30 +192,24 @@ </property> </widget> </item> - <item row="4" column="1"> - <widget class="QLabel" name="location"> + <item row="7" column="0"> + <widget class="QLabel" name="label"> <property name="text"> - <string notr="true">location path</string> - </property> - <property name="textInteractionFlags"> - <set>Qt::TextBrowserInteraction</set> + <string>Game location</string> </property> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> - <string>Base folder:</string> + <string>Base folder</string> </property> </widget> </item> <item row="5" column="1"> - <widget class="QLabel" name="baseDirectory"> - <property name="text"> - <string notr="true">base folder path</string> - </property> - <property name="textInteractionFlags"> - <set>Qt::TextBrowserInteraction</set> + <widget class="QLineEdit" name="baseDirectory"> + <property name="readOnly"> + <bool>true</bool> </property> </widget> </item> @@ -219,20 +220,17 @@ </property> </widget> </item> - <item row="4" column="2"> - <widget class="QPushButton" name="exploreLocation"> - <property name="text"> - <string>Explore</string> + <item row="7" column="1"> + <widget class="QLineEdit" name="gameDir"> + <property name="readOnly"> + <bool>true</bool> </property> </widget> </item> - <item row="2" column="1" colspan="2"> - <widget class="QLabel" name="gameName"> + <item row="7" column="2"> + <widget class="QPushButton" name="exploreGame"> <property name="text"> - <string notr="true">game name</string> - </property> - <property name="textInteractionFlags"> - <set>Qt::TextBrowserInteraction</set> + <string>Explore</string> </property> </widget> </item> @@ -292,6 +290,19 @@ </property> </widget> </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> </layout> </widget> </item> @@ -371,6 +382,13 @@ </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>LinkLabel</class> + <extends>QLabel</extends> + <header location="global">linklabel.h</header> + </customwidget> + </customwidgets> <resources> <include location="resources.qrc"/> </resources> |
