kaptan rebuild

This commit is contained in:
Rmys
2023-10-31 11:21:16 +03:00
parent e98ca1bf1f
commit 01022a149d
2 changed files with 29 additions and 2 deletions
@@ -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"))
+2 -2
View File
@@ -21,7 +21,7 @@
<Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch>screen.patch</Patch> -->
<Patch>kaptan-QtWidgets.patch</Patch>
</Patches>
</Source>
@@ -44,7 +44,7 @@
<History>
<Update release="20">
<Date>2023-10-22</Date>
<Date>2023-10-31</Date>
<Version>7.4.3</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>