mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
fix keysequence to use quit when available
This commit is contained in:
parent
e8ddfe2153
commit
2ed75030b2
2 changed files with 9 additions and 9 deletions
12
todo
12
todo
|
|
@ -18,13 +18,11 @@ jpgegoptim 1.2.2
|
|||
advancecomp 1.15
|
||||
===========================================
|
||||
later versions:
|
||||
animate compressing.gif
|
||||
figure out why QKeySequence.quit doesnt work
|
||||
|
||||
allow selection/deletion of rows from table (and subsequently the imagelist)
|
||||
check for double files
|
||||
pnypng api? http://www.gracepointafterfive.com/punypng/api
|
||||
imagemagick/graphicmagick?
|
||||
animate compressing.gif
|
||||
allow selection/deletion of rows from table (and subsequently the imagelist)
|
||||
check for double files when adding
|
||||
pnypng api? http://www.gracepointafterfive.com/punypng/api
|
||||
imagemagick/graphicmagick?
|
||||
|
||||
|
||||
thanks to:
|
||||
|
|
|
|||
|
|
@ -26,8 +26,10 @@ class StartQT4(QMainWindow):
|
|||
QWidget.__init__(self, parent)
|
||||
self.ui = Ui_trimage()
|
||||
self.ui.setupUi(self)
|
||||
#TODO use standardKey Quit.
|
||||
self.quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self)
|
||||
if hasattr(QKeySequence, 'Quit'):
|
||||
self.quit_shortcut = QShortcut(QKeySequence(QKeySequence.Quit), self)
|
||||
else:
|
||||
self.quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self)
|
||||
|
||||
# disable recompress
|
||||
self.ui.recompress.setEnabled(False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue