diff --git a/darkmode.css b/darkmode.css index 24e9102..f2b51e3 100644 --- a/darkmode.css +++ b/darkmode.css @@ -36,7 +36,7 @@ QCheckBox { QPushButton { font-size: 9pt; padding: 10px; - background-color: #444444; + background-color: #666666; color: #ffffff; border: none; border-radius: 5px; @@ -44,7 +44,7 @@ QPushButton { } QPushButton:hover { - background-color: #666666; + background-color: #444444; } QPushButton:disabled { @@ -62,4 +62,12 @@ QProgressBar { QProgressBar::chunk { background-color: #ffdc5f; width: 10px; +} + +QComboBox { + font-size: 10pt; + background-color: #222222; + border: 1px solid #555555; + padding: 5px; + color: #ffffff; } \ No newline at end of file diff --git a/main.py b/main.py index 24d32d1..f7ecbc4 100644 --- a/main.py +++ b/main.py @@ -88,7 +88,7 @@ def change_language(self, language): if __name__ == "__main__": app = QApplication(sys.argv) - app.setStyleSheet(open("style.css").read()) + app.setStyleSheet(open("darkmode.css").read()) window = MainWindow() window.show() sys.exit(app.exec_()) \ No newline at end of file diff --git a/style.css b/style.css index 16f5f7a..3b3bcc2 100644 --- a/style.css +++ b/style.css @@ -63,3 +63,11 @@ QProgressBar::chunk { background-color: #ffdc5f; width: 10px; } + +QComboBox { + font-size: 10pt; + background-color: #ffffff; + border: 1px solid #cccccc; + padding: 5px; + color: #000000; +} diff --git a/ui.py b/ui.py index 4d40741..197310e 100644 --- a/ui.py +++ b/ui.py @@ -7,9 +7,9 @@ class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") - MainWindow.resize(600, 400) - MainWindow.setMinimumSize(QtCore.QSize(600, 400)) - MainWindow.setMaximumSize(QtCore.QSize(600, 400)) + MainWindow.resize(600, 450) + MainWindow.setMinimumSize(QtCore.QSize(600, 450)) + MainWindow.setMaximumSize(QtCore.QSize(600, 450)) MainWindow.setWindowIcon(QtGui.QIcon("logo.png")) if sys.platform == "win32" and hasattr(ctypes.windll, "shell32"): ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("Chainsaw Human Typing") @@ -17,7 +17,7 @@ def setupUi(self, MainWindow): self.centralwidget.setObjectName("centralwidget") self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget) - self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 560, 340)) + self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 561, 411)) self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget") self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)