mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Commit to accept Kovid's dialog changes
This commit is contained in:
parent
347d1f8b54
commit
8a0d3e3913
@ -83,9 +83,9 @@ class BlockingBusy(QDialog):
|
|||||||
self.font = QFont()
|
self.font = QFont()
|
||||||
self.font.setPointSize(self.font.pointSize() + 8)
|
self.font.setPointSize(self.font.pointSize() + 8)
|
||||||
self.msg.setFont(self.font)
|
self.msg.setFont(self.font)
|
||||||
# self.pi = ProgressIndicator(self)
|
self.pi = ProgressIndicator(self)
|
||||||
# self.pi.setDisplaySize(100)
|
self.pi.setDisplaySize(100)
|
||||||
# self._layout.addWidget(self.pi, 0, Qt.AlignHCenter)
|
self._layout.addWidget(self.pi, 0, Qt.AlignHCenter)
|
||||||
self._layout.addSpacing(15)
|
self._layout.addSpacing(15)
|
||||||
self._layout.addWidget(self.msg, 0, Qt.AlignHCenter)
|
self._layout.addWidget(self.msg, 0, Qt.AlignHCenter)
|
||||||
self.start()
|
self.start()
|
||||||
@ -93,11 +93,11 @@ class BlockingBusy(QDialog):
|
|||||||
self.resize(self.sizeHint())
|
self.resize(self.sizeHint())
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
# self.pi.startAnimation()
|
self.pi.startAnimation()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# self.pi.stopAnimation()
|
self.pi.stopAnimation()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def accept(self):
|
def accept(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user