kaptan rebuild
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
diff -Nuar a/kaptan/kaptan.py b/kaptan/kaptan.py
|
||||
--- a/kaptan/kaptan.py 2021-04-03 21:29:51.000000000 +0300
|
||||
+++ b/kaptan/kaptan.py 2023-10-31 11:18:34.775996882 +0300
|
||||
@@ -24,16 +24,20 @@
|
||||
|
||||
|
||||
class Kaptan(QtWidgets.QWizard):
|
||||
+ # def __init__(self):
|
||||
+ # super().__init__()
|
||||
+
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
+ self.setFixedSize(850, 600)
|
||||
|
||||
self.setWindowTitle(self.tr("Kaptan"))
|
||||
self.setWindowIcon(QIcon.fromTheme("kaptan-icon"))
|
||||
self.setMinimumSize(850, 600)
|
||||
self.setMaximumSize(950, 620)
|
||||
- x = (QtWidgets.QDesktopWidget().size().width() - self.width()) / 2
|
||||
- y = (QtWidgets.QDesktopWidget().size().height() - self.height()) / 2
|
||||
- self.move(x, y)
|
||||
+ # x = (QtWidgets.QDesktopWidget().size().width() - self.width()) / 2
|
||||
+ # y = (QtWidgets.QDesktopWidget().size().height() - self.height()) / 2
|
||||
+ # self.move(x, y)
|
||||
self.setPixmap(QtWidgets.QWizard.LogoPixmap, QPixmap("/usr/share/kaptan/images/kaptan.png"))
|
||||
|
||||
self.setButtonText(QtWidgets.QWizard.NextButton, self.tr("Next"))
|
||||
Reference in New Issue
Block a user