My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 53: Missing shortcuts
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  roberto.alsina


 
Project Member Reported by roberto.alsina, Feb 15, 2010
As of r266 many "menu" actions have no shortcuts, and they should.

Example: font size could be increased via ctrl+ as in web browsers.
Apr 8, 2011
#1 jessca...@gmail.com
I have added some code in the MainWidget class where all the shortcuts are defined that allows increasing/decreasing the font with Ctrl++/Ctrl+-:

self.sc14 = QtGui.QShortcut(QtGui.QKeySequence(self.tr("Ctrl++","Larger")), self);
self.sc14.activated.connect(self.editor.larger)
self.sc15 = QtGui.QShortcut(QtGui.QKeySequence(self.tr("Ctrl+-","Smaller")), self);
self.sc15.activated.connect(self.editor.smaller)

Powered by Google Project Hosting