Unify look of all pages.
Now they have a QTabWidget with no tabs as a background.
This commit is contained in:
		| @@ -35,6 +35,8 @@ LegacyJarModPage::LegacyJarModPage(LegacyInstance *inst, QWidget *parent) | ||||
| 	: QWidget(parent), ui(new Ui::LegacyJarModPage), m_inst(inst) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
|  | ||||
| 	m_jarmods = m_inst->jarModList(); | ||||
| 	ui->jarModsTreeView->setModel(m_jarmods.get()); | ||||
| 	ui->jarModsTreeView->setDragDropMode(QAbstractItemView::DragDrop); | ||||
|   | ||||
| @@ -6,8 +6,8 @@ | ||||
|    <rect> | ||||
|     <x>0</x> | ||||
|     <y>0</y> | ||||
|     <width>378</width> | ||||
|     <height>324</height> | ||||
|     <width>659</width> | ||||
|     <height>593</height> | ||||
|    </rect> | ||||
|   </property> | ||||
|   <property name="windowTitle"> | ||||
| @@ -27,100 +27,114 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|      <item> | ||||
|       <widget class="ModListView" name="jarModsTreeView"> | ||||
|        <property name="verticalScrollBarPolicy"> | ||||
|         <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|        </property> | ||||
|        <property name="horizontalScrollBarPolicy"> | ||||
|         <enum>Qt::ScrollBarAlwaysOff</enum> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <layout class="QVBoxLayout" name="jarModsButtonBox"> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|        <item> | ||||
|         <widget class="QLabel" name="label"> | ||||
|          <property name="text"> | ||||
|           <string>Selection</string> | ||||
|          </property> | ||||
|          <property name="alignment"> | ||||
|           <set>Qt::AlignCenter</set> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="rmJarBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Remove</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="moveJarUpBtn"> | ||||
|          <property name="text"> | ||||
|           <string>Move &Up</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="moveJarDownBtn"> | ||||
|          <property name="text"> | ||||
|           <string>Move &Down</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="LineSeparator" name="separator" native="true"/> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QLabel" name="label_2"> | ||||
|          <property name="text"> | ||||
|           <string>Install</string> | ||||
|          </property> | ||||
|          <property name="alignment"> | ||||
|           <set>Qt::AlignCenter</set> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="addJarBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Add jar mod</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="addForgeBtn"> | ||||
|          <property name="text"> | ||||
|           <string>Install Forge</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <spacer name="verticalSpacer"> | ||||
|          <property name="orientation"> | ||||
|           <enum>Qt::Vertical</enum> | ||||
|          </property> | ||||
|          <property name="sizeHint" stdset="0"> | ||||
|           <size> | ||||
|            <width>20</width> | ||||
|            <height>40</height> | ||||
|           </size> | ||||
|          </property> | ||||
|         </spacer> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="viewJarBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&View Folder</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|         <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|          <item> | ||||
|           <widget class="ModListView" name="jarModsTreeView"> | ||||
|            <property name="verticalScrollBarPolicy"> | ||||
|             <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|            </property> | ||||
|            <property name="horizontalScrollBarPolicy"> | ||||
|             <enum>Qt::ScrollBarAlwaysOff</enum> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <layout class="QVBoxLayout" name="jarModsButtonBox"> | ||||
|            <item> | ||||
|             <widget class="QLabel" name="label"> | ||||
|              <property name="text"> | ||||
|               <string>Selection</string> | ||||
|              </property> | ||||
|              <property name="alignment"> | ||||
|               <set>Qt::AlignCenter</set> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="rmJarBtn"> | ||||
|              <property name="text"> | ||||
|               <string>&Remove</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="moveJarUpBtn"> | ||||
|              <property name="text"> | ||||
|               <string>Move &Up</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="moveJarDownBtn"> | ||||
|              <property name="text"> | ||||
|               <string>Move &Down</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="LineSeparator" name="separator" native="true"/> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QLabel" name="label_2"> | ||||
|              <property name="text"> | ||||
|               <string>Install</string> | ||||
|              </property> | ||||
|              <property name="alignment"> | ||||
|               <set>Qt::AlignCenter</set> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="addJarBtn"> | ||||
|              <property name="text"> | ||||
|               <string>&Add jar mod</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="addForgeBtn"> | ||||
|              <property name="text"> | ||||
|               <string>Install Forge</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|            <item> | ||||
|             <spacer name="verticalSpacer"> | ||||
|              <property name="orientation"> | ||||
|               <enum>Qt::Vertical</enum> | ||||
|              </property> | ||||
|              <property name="sizeHint" stdset="0"> | ||||
|               <size> | ||||
|                <width>20</width> | ||||
|                <height>40</height> | ||||
|               </size> | ||||
|              </property> | ||||
|             </spacer> | ||||
|            </item> | ||||
|            <item> | ||||
|             <widget class="QPushButton" name="viewJarBtn"> | ||||
|              <property name="text"> | ||||
|               <string>&View Folder</string> | ||||
|              </property> | ||||
|             </widget> | ||||
|            </item> | ||||
|           </layout> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </item> | ||||
|     </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|    <item> | ||||
|     <widget class="MCModInfoFrame" name="jarMIFrame"> | ||||
|   | ||||
| @@ -11,6 +11,7 @@ LogPage::LogPage(MinecraftProcess *proc, QWidget *parent) | ||||
| 	: QWidget(parent), ui(new Ui::LogPage), m_process(proc) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
| 	connect(m_process, SIGNAL(log(QString, MessageLevel::Enum)), this, | ||||
| 		SLOT(write(QString, MessageLevel::Enum))); | ||||
| } | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|   <property name="windowTitle"> | ||||
|    <string>Log</string> | ||||
|   </property> | ||||
|   <layout class="QGridLayout" name="gridLayout"> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -26,112 +26,126 @@ | ||||
|    <property name="bottomMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item row="2" column="1"> | ||||
|     <widget class="QLineEdit" name="lineEdit"> | ||||
|      <property name="enabled"> | ||||
|       <bool>false</bool> | ||||
|    <item> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QGridLayout" name="gridLayout"> | ||||
|        <item row="2" column="0"> | ||||
|         <widget class="QLabel" name="label"> | ||||
|          <property name="enabled"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <property name="text"> | ||||
|           <string>Search:</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="2" column="1"> | ||||
|         <widget class="QLineEdit" name="lineEdit"> | ||||
|          <property name="enabled"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="2" column="2"> | ||||
|         <widget class="QPushButton" name="pushButton"> | ||||
|          <property name="enabled"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <property name="text"> | ||||
|           <string>Find next</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="1" column="0" colspan="3"> | ||||
|         <widget class="QPlainTextEdit" name="text"> | ||||
|          <property name="undoRedoEnabled"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <property name="readOnly"> | ||||
|           <bool>true</bool> | ||||
|          </property> | ||||
|          <property name="plainText"> | ||||
|           <string notr="true"/> | ||||
|          </property> | ||||
|          <property name="textInteractionFlags"> | ||||
|           <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|          </property> | ||||
|          <property name="centerOnScroll"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="0" column="0" colspan="3"> | ||||
|         <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|          <item> | ||||
|           <widget class="QCheckBox" name="checkBox"> | ||||
|            <property name="enabled"> | ||||
|             <bool>false</bool> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Keep updating</string> | ||||
|            </property> | ||||
|            <property name="checked"> | ||||
|             <bool>true</bool> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <spacer name="horizontalSpacer"> | ||||
|            <property name="orientation"> | ||||
|             <enum>Qt::Horizontal</enum> | ||||
|            </property> | ||||
|            <property name="sizeHint" stdset="0"> | ||||
|             <size> | ||||
|              <width>40</width> | ||||
|              <height>20</height> | ||||
|             </size> | ||||
|            </property> | ||||
|           </spacer> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnCopy"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Copy the whole log into the clipboard</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>&Copy</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnPaste"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Upload the log to paste.ee - it will stay online for a month</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Upload</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnClear"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Clear the log</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Clear</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|    <item row="2" column="0"> | ||||
|     <widget class="QLabel" name="label"> | ||||
|      <property name="enabled"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|      <property name="text"> | ||||
|       <string>Search:</string> | ||||
|      </property> | ||||
|     </widget> | ||||
|    </item> | ||||
|    <item row="2" column="2"> | ||||
|     <widget class="QPushButton" name="pushButton"> | ||||
|      <property name="enabled"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|      <property name="text"> | ||||
|       <string>Find next</string> | ||||
|      </property> | ||||
|     </widget> | ||||
|    </item> | ||||
|    <item row="1" column="0" colspan="3"> | ||||
|     <widget class="QPlainTextEdit" name="text"> | ||||
|      <property name="undoRedoEnabled"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|      <property name="readOnly"> | ||||
|       <bool>true</bool> | ||||
|      </property> | ||||
|      <property name="plainText"> | ||||
|       <string notr="true"/> | ||||
|      </property> | ||||
|      <property name="textInteractionFlags"> | ||||
|       <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|      </property> | ||||
|      <property name="centerOnScroll"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|     </widget> | ||||
|    </item> | ||||
|    <item row="0" column="0" colspan="3"> | ||||
|     <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|      <item> | ||||
|       <widget class="QCheckBox" name="checkBox"> | ||||
|        <property name="enabled"> | ||||
|         <bool>false</bool> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Keep updating</string> | ||||
|        </property> | ||||
|        <property name="checked"> | ||||
|         <bool>true</bool> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <spacer name="horizontalSpacer"> | ||||
|        <property name="orientation"> | ||||
|         <enum>Qt::Horizontal</enum> | ||||
|        </property> | ||||
|        <property name="sizeHint" stdset="0"> | ||||
|         <size> | ||||
|          <width>40</width> | ||||
|          <height>20</height> | ||||
|         </size> | ||||
|        </property> | ||||
|       </spacer> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnCopy"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Copy the whole log into the clipboard</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>&Copy</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnPaste"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Upload the log to paste.ee - it will stay online for a month</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Upload</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnClear"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Clear the log</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Clear</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|     </layout> | ||||
|    </item> | ||||
|   </layout> | ||||
|  </widget> | ||||
|  <resources/> | ||||
|   | ||||
| @@ -38,6 +38,7 @@ ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, | ||||
| 	: QWidget(parent), ui(new Ui::ModFolderPage) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
| 	m_inst = inst; | ||||
| 	m_mods = mods; | ||||
| 	m_id = id; | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|   <property name="windowTitle"> | ||||
|    <string>Mods</string> | ||||
|   </property> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -27,10 +27,16 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|      <item> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|        <item> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QGridLayout" name="gridLayout"> | ||||
|        <item row="0" column="0"> | ||||
|         <widget class="ModListView" name="modTreeView"> | ||||
|          <property name="sizePolicy"> | ||||
|           <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> | ||||
| @@ -46,56 +52,56 @@ | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </item> | ||||
|      <item> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="addModBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Add</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        <item row="0" column="1"> | ||||
|         <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="addModBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&Add</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="rmModBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&Remove</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <spacer name="verticalSpacer"> | ||||
|            <property name="orientation"> | ||||
|             <enum>Qt::Vertical</enum> | ||||
|            </property> | ||||
|            <property name="sizeHint" stdset="0"> | ||||
|             <size> | ||||
|              <width>20</width> | ||||
|              <height>40</height> | ||||
|             </size> | ||||
|            </property> | ||||
|           </spacer> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="viewModBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&View Folder</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="rmModBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Remove</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <spacer name="verticalSpacer"> | ||||
|          <property name="orientation"> | ||||
|           <enum>Qt::Vertical</enum> | ||||
|          </property> | ||||
|          <property name="sizeHint" stdset="0"> | ||||
|           <size> | ||||
|            <width>20</width> | ||||
|            <height>40</height> | ||||
|           </size> | ||||
|          </property> | ||||
|         </spacer> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="viewModBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&View Folder</string> | ||||
|        <item row="1" column="0" colspan="2"> | ||||
|         <widget class="MCModInfoFrame" name="frame"> | ||||
|          <property name="sizePolicy"> | ||||
|           <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> | ||||
|            <horstretch>0</horstretch> | ||||
|            <verstretch>0</verstretch> | ||||
|           </sizepolicy> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </item> | ||||
|     </layout> | ||||
|    </item> | ||||
|    <item> | ||||
|     <widget class="MCModInfoFrame" name="frame"> | ||||
|      <property name="sizePolicy"> | ||||
|       <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> | ||||
|        <horstretch>0</horstretch> | ||||
|        <verstretch>0</verstretch> | ||||
|       </sizepolicy> | ||||
|      </property> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|   </layout> | ||||
|   | ||||
| @@ -5,6 +5,7 @@ NotesPage::NotesPage(BaseInstance *inst, QWidget *parent) | ||||
| 	: QWidget(parent), ui(new Ui::NotesPage), m_inst(inst) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
| 	ui->noteEditor->setText(m_inst->notes()); | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -6,14 +6,14 @@ | ||||
|    <rect> | ||||
|     <x>0</x> | ||||
|     <y>0</y> | ||||
|     <width>400</width> | ||||
|     <height>300</height> | ||||
|     <width>731</width> | ||||
|     <height>538</height> | ||||
|    </rect> | ||||
|   </property> | ||||
|   <property name="windowTitle"> | ||||
|    <string>Form</string> | ||||
|   </property> | ||||
|   <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -27,16 +27,30 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <widget class="QTextEdit" name="noteEditor"> | ||||
|      <property name="verticalScrollBarPolicy"> | ||||
|       <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|      </property> | ||||
|      <property name="acceptRichText"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|      <property name="textInteractionFlags"> | ||||
|       <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|        <item> | ||||
|         <widget class="QTextEdit" name="noteEditor"> | ||||
|          <property name="verticalScrollBarPolicy"> | ||||
|           <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|          </property> | ||||
|          <property name="acceptRichText"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <property name="textInteractionFlags"> | ||||
|           <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|   </layout> | ||||
|   | ||||
| @@ -28,6 +28,7 @@ OtherLogsPage::OtherLogsPage(BaseInstance *instance, QWidget *parent) | ||||
| 	  m_watcher(new RecursiveFileSystemWatcher(this)) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
|  | ||||
| 	m_watcher->setFileExpression("(.*\\.log(\\.[0-9]*)?$)|(crash-.*\\.txt)"); | ||||
| 	m_watcher->setRootDir(QDir::current().absoluteFilePath(m_instance->minecraftRoot())); | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|   <property name="windowTitle"> | ||||
|    <string>Form</string> | ||||
|   </property> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -27,70 +27,84 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|      <item> | ||||
|       <widget class="QComboBox" name="selectLogBox"> | ||||
|        <property name="sizePolicy"> | ||||
|         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> | ||||
|          <horstretch>0</horstretch> | ||||
|          <verstretch>0</verstretch> | ||||
|         </sizepolicy> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnReload"> | ||||
|        <property name="text"> | ||||
|         <string>Reload</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnCopy"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Copy the whole log into the clipboard</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>&Copy</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnPaste"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Upload the log to paste.ee - it will stay online for a month</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Upload</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="btnDelete"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Clear the log</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Delete</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|     </layout> | ||||
|    </item> | ||||
|    <item> | ||||
|     <widget class="QPlainTextEdit" name="text"> | ||||
|      <property name="enabled"> | ||||
|       <bool>false</bool> | ||||
|      </property> | ||||
|      <property name="verticalScrollBarPolicy"> | ||||
|       <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|      </property> | ||||
|      <property name="readOnly"> | ||||
|       <bool>true</bool> | ||||
|      </property> | ||||
|      <property name="textInteractionFlags"> | ||||
|       <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|        <item> | ||||
|         <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|          <item> | ||||
|           <widget class="QComboBox" name="selectLogBox"> | ||||
|            <property name="sizePolicy"> | ||||
|             <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> | ||||
|              <horstretch>0</horstretch> | ||||
|              <verstretch>0</verstretch> | ||||
|             </sizepolicy> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnReload"> | ||||
|            <property name="text"> | ||||
|             <string>Reload</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnCopy"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Copy the whole log into the clipboard</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>&Copy</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnPaste"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Upload the log to paste.ee - it will stay online for a month</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Upload</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="btnDelete"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Clear the log</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Delete</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPlainTextEdit" name="text"> | ||||
|          <property name="enabled"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <property name="verticalScrollBarPolicy"> | ||||
|           <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|          </property> | ||||
|          <property name="readOnly"> | ||||
|           <bool>true</bool> | ||||
|          </property> | ||||
|          <property name="textInteractionFlags"> | ||||
|           <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|   </layout> | ||||
|   | ||||
| @@ -222,6 +222,7 @@ ScreenshotsPage::ScreenshotsPage(BaseInstance *instance, QWidget *parent) | ||||
| 	m_valid = ensureFolderPathExists(m_folder); | ||||
|  | ||||
| 	ui->setupUi(this); | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
| 	ui->listView->setModel(m_filterModel.get()); | ||||
| 	ui->listView->setIconSize(QSize(128, 128)); | ||||
| 	ui->listView->setGridSize(QSize(192, 160)); | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|   <property name="windowTitle"> | ||||
|    <string>Mods</string> | ||||
|   </property> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -27,9 +27,15 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|      <item> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|        <item> | ||||
|         <widget class="QListView" name="listView"> | ||||
|          <property name="selectionMode"> | ||||
| @@ -40,54 +46,54 @@ | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </item> | ||||
|      <item> | ||||
|       <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="uploadBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Upload</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="deleteBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Delete</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="renameBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&Rename</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <spacer name="verticalSpacer"> | ||||
|          <property name="orientation"> | ||||
|           <enum>Qt::Vertical</enum> | ||||
|          </property> | ||||
|          <property name="sizeHint" stdset="0"> | ||||
|           <size> | ||||
|            <width>20</width> | ||||
|            <height>40</height> | ||||
|           </size> | ||||
|          </property> | ||||
|         </spacer> | ||||
|        </item> | ||||
|        <item> | ||||
|         <widget class="QPushButton" name="viewFolderBtn"> | ||||
|          <property name="text"> | ||||
|           <string>&View Folder</string> | ||||
|          </property> | ||||
|         </widget> | ||||
|         <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="uploadBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&Upload</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="deleteBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&Delete</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="renameBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&Rename</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <spacer name="verticalSpacer"> | ||||
|            <property name="orientation"> | ||||
|             <enum>Qt::Vertical</enum> | ||||
|            </property> | ||||
|            <property name="sizeHint" stdset="0"> | ||||
|             <size> | ||||
|              <width>20</width> | ||||
|              <height>40</height> | ||||
|             </size> | ||||
|            </property> | ||||
|           </spacer> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="viewFolderBtn"> | ||||
|            <property name="text"> | ||||
|             <string>&View Folder</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </item> | ||||
|     </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|   </layout> | ||||
|  </widget> | ||||
|   | ||||
| @@ -63,7 +63,7 @@ VersionPage::VersionPage(OneSixInstance *inst, QWidget *parent) | ||||
| 	: QWidget(parent), ui(new Ui::VersionPage), m_inst(inst) | ||||
| { | ||||
| 	ui->setupUi(this); | ||||
| 	// libraries! | ||||
| 	ui->tabWidget->tabBar()->hide(); | ||||
|  | ||||
| 	m_version = m_inst->getFullVersion(); | ||||
| 	if (m_version) | ||||
|   | ||||
| @@ -6,17 +6,14 @@ | ||||
|    <rect> | ||||
|     <x>0</x> | ||||
|     <y>0</y> | ||||
|     <width>400</width> | ||||
|     <height>475</height> | ||||
|     <width>693</width> | ||||
|     <height>575</height> | ||||
|    </rect> | ||||
|   </property> | ||||
|   <property name="windowTitle"> | ||||
|    <string>Version</string> | ||||
|   </property> | ||||
|   <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|    <property name="spacing"> | ||||
|     <number>6</number> | ||||
|    </property> | ||||
|   <layout class="QVBoxLayout" name="verticalLayout"> | ||||
|    <property name="leftMargin"> | ||||
|     <number>0</number> | ||||
|    </property> | ||||
| @@ -30,152 +27,162 @@ | ||||
|     <number>0</number> | ||||
|    </property> | ||||
|    <item> | ||||
|     <layout class="QVBoxLayout" name="verticalLayout_10"> | ||||
|      <item> | ||||
|       <widget class="ModListView" name="libraryTreeView"> | ||||
|        <property name="verticalScrollBarPolicy"> | ||||
|         <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|        </property> | ||||
|        <property name="horizontalScrollBarPolicy"> | ||||
|         <enum>Qt::ScrollBarAlwaysOff</enum> | ||||
|        </property> | ||||
|        <property name="headerHidden"> | ||||
|         <bool>false</bool> | ||||
|        </property> | ||||
|        <attribute name="headerVisible"> | ||||
|         <bool>true</bool> | ||||
|        </attribute> | ||||
|       </widget> | ||||
|      </item> | ||||
|     </layout> | ||||
|    </item> | ||||
|    <item> | ||||
|     <layout class="QVBoxLayout" name="verticalLayout_4"> | ||||
|      <item> | ||||
|       <widget class="QLabel" name="label"> | ||||
|        <property name="text"> | ||||
|         <string>Selection</string> | ||||
|        </property> | ||||
|        <property name="alignment"> | ||||
|         <set>Qt::AlignCenter</set> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="changeMCVersionBtn"> | ||||
|        <property name="text"> | ||||
|         <string>Change version</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="moveLibraryUpBtn"> | ||||
|        <property name="toolTip"> | ||||
|         <string>This isn't implemented yet.</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Move up</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="moveLibraryDownBtn"> | ||||
|        <property name="toolTip"> | ||||
|         <string>This isn't implemented yet.</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Move down</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="removeLibraryBtn"> | ||||
|        <property name="text"> | ||||
|         <string>Remove</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="LineSeparator" name="separator" native="true"/> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QLabel" name="label_2"> | ||||
|        <property name="text"> | ||||
|         <string>Install</string> | ||||
|        </property> | ||||
|        <property name="alignment"> | ||||
|         <set>Qt::AlignCenter</set> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="forgeBtn"> | ||||
|        <property name="toolTip"> | ||||
|         <string>Replace any current custom version with Minecraft Forge</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Install Forge</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="liteloaderBtn"> | ||||
|        <property name="text"> | ||||
|         <string>Install LiteLoader</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="jarmodBtn"> | ||||
|        <property name="text"> | ||||
|         <string>Add jar mod</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="LineSeparator" name="widget" native="true"/> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QLabel" name="label_5"> | ||||
|        <property name="text"> | ||||
|         <string>List</string> | ||||
|        </property> | ||||
|        <property name="alignment"> | ||||
|         <set>Qt::AlignCenter</set> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="resetLibraryOrderBtn"> | ||||
|        <property name="toolTip"> | ||||
|         <string>This isn't implemented yet.</string> | ||||
|        </property> | ||||
|        <property name="text"> | ||||
|         <string>Reset order</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <widget class="QPushButton" name="reloadLibrariesBtn"> | ||||
|        <property name="text"> | ||||
|         <string>Reload</string> | ||||
|        </property> | ||||
|       </widget> | ||||
|      </item> | ||||
|      <item> | ||||
|       <spacer name="verticalSpacer_7"> | ||||
|        <property name="orientation"> | ||||
|         <enum>Qt::Vertical</enum> | ||||
|        </property> | ||||
|        <property name="sizeHint" stdset="0"> | ||||
|         <size> | ||||
|          <width>20</width> | ||||
|          <height>40</height> | ||||
|         </size> | ||||
|        </property> | ||||
|       </spacer> | ||||
|      </item> | ||||
|     </layout> | ||||
|     <widget class="QTabWidget" name="tabWidget"> | ||||
|      <property name="currentIndex"> | ||||
|       <number>0</number> | ||||
|      </property> | ||||
|      <widget class="QWidget" name="tab"> | ||||
|       <attribute name="title"> | ||||
|        <string>Tab 1</string> | ||||
|       </attribute> | ||||
|       <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
|        <item> | ||||
|         <widget class="ModListView" name="libraryTreeView"> | ||||
|          <property name="verticalScrollBarPolicy"> | ||||
|           <enum>Qt::ScrollBarAlwaysOn</enum> | ||||
|          </property> | ||||
|          <property name="horizontalScrollBarPolicy"> | ||||
|           <enum>Qt::ScrollBarAlwaysOff</enum> | ||||
|          </property> | ||||
|          <property name="headerHidden"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <attribute name="headerVisible"> | ||||
|           <bool>true</bool> | ||||
|          </attribute> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item> | ||||
|         <layout class="QVBoxLayout" name="verticalLayout_4"> | ||||
|          <item> | ||||
|           <widget class="QLabel" name="label"> | ||||
|            <property name="text"> | ||||
|             <string>Selection</string> | ||||
|            </property> | ||||
|            <property name="alignment"> | ||||
|             <set>Qt::AlignCenter</set> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="changeMCVersionBtn"> | ||||
|            <property name="text"> | ||||
|             <string>Change version</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="moveLibraryUpBtn"> | ||||
|            <property name="toolTip"> | ||||
|             <string>This isn't implemented yet.</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Move up</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="moveLibraryDownBtn"> | ||||
|            <property name="toolTip"> | ||||
|             <string>This isn't implemented yet.</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Move down</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="removeLibraryBtn"> | ||||
|            <property name="text"> | ||||
|             <string>Remove</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="LineSeparator" name="separator" native="true"/> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QLabel" name="label_2"> | ||||
|            <property name="text"> | ||||
|             <string>Install</string> | ||||
|            </property> | ||||
|            <property name="alignment"> | ||||
|             <set>Qt::AlignCenter</set> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="forgeBtn"> | ||||
|            <property name="toolTip"> | ||||
|             <string>Replace any current custom version with Minecraft Forge</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Install Forge</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="liteloaderBtn"> | ||||
|            <property name="text"> | ||||
|             <string>Install LiteLoader</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="jarmodBtn"> | ||||
|            <property name="text"> | ||||
|             <string>Add jar mod</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="LineSeparator" name="widget" native="true"/> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QLabel" name="label_5"> | ||||
|            <property name="text"> | ||||
|             <string>List</string> | ||||
|            </property> | ||||
|            <property name="alignment"> | ||||
|             <set>Qt::AlignCenter</set> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="resetLibraryOrderBtn"> | ||||
|            <property name="toolTip"> | ||||
|             <string>This isn't implemented yet.</string> | ||||
|            </property> | ||||
|            <property name="text"> | ||||
|             <string>Reset order</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <widget class="QPushButton" name="reloadLibrariesBtn"> | ||||
|            <property name="text"> | ||||
|             <string>Reload</string> | ||||
|            </property> | ||||
|           </widget> | ||||
|          </item> | ||||
|          <item> | ||||
|           <spacer name="verticalSpacer_7"> | ||||
|            <property name="orientation"> | ||||
|             <enum>Qt::Vertical</enum> | ||||
|            </property> | ||||
|            <property name="sizeHint" stdset="0"> | ||||
|             <size> | ||||
|              <width>20</width> | ||||
|              <height>40</height> | ||||
|             </size> | ||||
|            </property> | ||||
|           </spacer> | ||||
|          </item> | ||||
|         </layout> | ||||
|        </item> | ||||
|       </layout> | ||||
|      </widget> | ||||
|     </widget> | ||||
|    </item> | ||||
|   </layout> | ||||
|  </widget> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user