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"))
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
|
<Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch>screen.patch</Patch> -->
|
<Patch>kaptan-QtWidgets.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="20">
|
<Update release="20">
|
||||||
<Date>2023-10-22</Date>
|
<Date>2023-10-31</Date>
|
||||||
<Version>7.4.3</Version>
|
<Version>7.4.3</Version>
|
||||||
<Comment>Rebuild.</Comment>
|
<Comment>Rebuild.</Comment>
|
||||||
<Name>Mustafa Cinasal</Name>
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user