mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a913828a6b
commit
dc5f2be9b2
@ -30,7 +30,7 @@ l.addWidget(b, 0, 1, 1, 1)
|
|||||||
|
|
||||||
def print_button_sizes():
|
def print_button_sizes():
|
||||||
for b in d.findChildren(QPushButton):
|
for b in d.findChildren(QPushButton):
|
||||||
print (unicode(b.text()), b.height())
|
print (unicode(b.text()), b.height(), b.iconSize())
|
||||||
QTimer.singleShot(5, print_button_sizes)
|
QTimer.singleShot(5, print_button_sizes)
|
||||||
d.exec_()
|
d.exec_()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user