This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GUI instead of being console based script No longer extracting mods, read them directly instead Added a logo to the app Added steam and custom directory support Updated compiler for better compatibility Updated requirements.txt
- Loading branch information
1 parent
8854a66
commit 4156590
Showing
10 changed files
with
1,097 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import sys | ||
from pathlib import Path | ||
|
||
from PyQt5 import QtCore, QtGui, QtWidgets | ||
|
||
|
||
class Ui_About(object): | ||
def setupUi(self, About): | ||
About.setObjectName("About") | ||
About.resize(506, 154) | ||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) | ||
sizePolicy.setHorizontalStretch(0) | ||
sizePolicy.setVerticalStretch(0) | ||
sizePolicy.setHeightForWidth(About.sizePolicy().hasHeightForWidth()) | ||
icon = QtGui.QIcon() | ||
icon.addPixmap(QtGui.QPixmap(str(Path(sys._MEIPASS).joinpath("images", "AppLogo.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off) | ||
About.setWindowIcon(icon) | ||
About.setSizePolicy(sizePolicy) | ||
About.setStyleSheet("background: #313233;color: #bbb") | ||
self.label = QtWidgets.QLabel(About) | ||
self.label.setGeometry(QtCore.QRect(10, 100, 71, 16)) | ||
self.label.setObjectName("label") | ||
self.label_2 = QtWidgets.QLabel(About) | ||
self.label_2.setGeometry(QtCore.QRect(20, 125, 47, 13)) | ||
self.label_2.setObjectName("label_2") | ||
self.label_3 = QtWidgets.QLabel(About) | ||
self.label_3.setGeometry(QtCore.QRect(10, 10, 47, 13)) | ||
self.label_3.setObjectName("label_3") | ||
self.label_4 = QtWidgets.QLabel(About) | ||
self.label_4.setGeometry(QtCore.QRect(40, 30, 451, 61)) | ||
self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) | ||
self.label_4.setWordWrap(True) | ||
self.label_4.setObjectName("label_4") | ||
self.label_6 = QtWidgets.QLabel(About) | ||
self.label_6.setGeometry(QtCore.QRect(120, 100, 71, 16)) | ||
self.label_6.setObjectName("label_6") | ||
self.label_5 = QtWidgets.QLabel(About) | ||
self.label_5.setGeometry(QtCore.QRect(130, 125, 191, 16)) | ||
self.label_5.setStyleSheet("") | ||
self.label_5.setOpenExternalLinks(True) | ||
self.label_5.setObjectName("label_5") | ||
|
||
self.retranslateUi(About) | ||
QtCore.QMetaObject.connectSlotsByName(About) | ||
|
||
def retranslateUi(self, About): | ||
_translate = QtCore.QCoreApplication.translate | ||
About.setWindowTitle(_translate("About", "Dialog")) | ||
self.label.setText(_translate("About", "Developed by")) | ||
self.label_2.setText(_translate("About", "Sly")) | ||
self.label_3.setText(_translate("About", "About")) | ||
self.label_4.setText(_translate("About", "This tool was made to make it easier to generate configuration files for User Interface (UI)\nmods in Trove, it also can correct empty files or completely recreate said configuration files\n\nThis app is 100% free to use and code is open-source")) | ||
self.label_6.setText(_translate("About", "Github")) | ||
self.label_5.setText(_translate("About", "<a href=\"https://github.com/Sly0511/TroveModConfigGenerator\">Github/TroveModConfigGenerator</a>")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>About</class> | ||
<widget class="QDialog" name="About"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>506</width> | ||
<height>154</height> | ||
</rect> | ||
</property> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Dialog</string> | ||
</property> | ||
<property name="styleSheet"> | ||
<string notr="true">background: #313233;color: #bbb</string> | ||
</property> | ||
<widget class="QLabel" name="label"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>10</x> | ||
<y>100</y> | ||
<width>71</width> | ||
<height>16</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Developed by</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>125</y> | ||
<width>47</width> | ||
<height>13</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Sly</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>10</x> | ||
<y>10</y> | ||
<width>47</width> | ||
<height>13</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>About</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_4"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>30</y> | ||
<width>451</width> | ||
<height>61</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>This tool was made to make it easier to generate configuration files for User Interface (UI) | ||
mods in Trove, it also can correct empty files or completely recreate said configuration files | ||
|
||
This app is 100% free to use and code is open-source</string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_6"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>120</x> | ||
<y>100</y> | ||
<width>71</width> | ||
<height>16</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Github</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_5"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>130</x> | ||
<y>125</y> | ||
<width>191</width> | ||
<height>16</height> | ||
</rect> | ||
</property> | ||
<property name="styleSheet"> | ||
<string notr="true"/> | ||
</property> | ||
<property name="text"> | ||
<string><a href="https://github.com/Sly0511/TroveModConfigGenerator">Github/TroveModConfigGenerator</a></string> | ||
</property> | ||
<property name="openExternalLinks"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.