diff --git a/src/loginscreen.py b/src/loginscreen.py index e6bde84..cf55a00 100644 --- a/src/loginscreen.py +++ b/src/loginscreen.py @@ -23,9 +23,9 @@ class LoginScreen(object): self.load_profile = QtGui.QPushButton(Form) self.load_profile.setGeometry(QtCore.QRect(220, 150, 161, 27)) self.load_profile.setObjectName("load_profile") - self.default_2 = QtGui.QCheckBox(Form) - self.default_2.setGeometry(QtCore.QRect(220, 110, 131, 22)) - self.default_2.setObjectName("default_2") + self.default = QtGui.QCheckBox(Form) + self.default.setGeometry(QtCore.QRect(220, 110, 131, 22)) + self.default.setObjectName("default") self.groupBox = QtGui.QGroupBox(Form) self.groupBox.setGeometry(QtCore.QRect(210, 40, 181, 151)) self.groupBox.setObjectName("groupBox") @@ -36,11 +36,19 @@ class LoginScreen(object): self.groupBox_2.setGeometry(QtCore.QRect(10, 40, 191, 151)) self.groupBox_2.setObjectName("groupBox_2") self.toxygen = QtGui.QLabel(Form) + self.groupBox.raise_() + self.groupBox_2.raise_() + self.comboBox.raise_() + self.default.raise_() + self.load_profile.raise_() + self.new_name.raise_() + self.new_profile.raise_() self.toxygen.setGeometry(QtCore.QRect(160, 10, 81, 21)) font = QtGui.QFont() font.setFamily("Impact") font.setPointSize(16) self.toxygen.setFont(font) + QtGui.QApplication.setStyle(QtGui.QStyleFactory.create('Plastique')) self.toxygen.setObjectName("toxygen") self.retranslateUi(Form) @@ -51,7 +59,7 @@ class LoginScreen(object): self.new_profile.setText(QtGui.QApplication.translate("Form", "Create", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("Form", "Profile name:", None, QtGui.QApplication.UnicodeUTF8)) self.load_profile.setText(QtGui.QApplication.translate("Form", "Load profile", None, QtGui.QApplication.UnicodeUTF8)) - self.default_2.setText(QtGui.QApplication.translate("Form", "Use as default", None, QtGui.QApplication.UnicodeUTF8)) + self.default.setText(QtGui.QApplication.translate("Form", "Use as default", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("Form", "Load existing profile", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_2.setTitle(QtGui.QApplication.translate("Form", "Create new profile", None, QtGui.QApplication.UnicodeUTF8)) self.toxygen.setText(QtGui.QApplication.translate("Form", "toxygen", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/src/mainscreen.py b/src/mainscreen.py new file mode 100644 index 0000000..e69de29 diff --git a/src/tox.py b/src/tox.py index 1418140..4a10842 100644 --- a/src/tox.py +++ b/src/tox.py @@ -36,7 +36,7 @@ class Tox(object): print temp self.libtoxcore = CDLL(temp + 'libtoxcore.so') elif system() == 'Windows': - self.libtoxcore = CDLL('/libs/libtox.dll') + self.libtoxcore = CDLL('libs/libtox.dll') print self.libtoxcore.__dict__ self.libtoxcore.tox_options_new.restype = POINTER(ToxOptions) # TODO: load from settings