[ fromfile: mainwindows-questions.xml id: mainwindows-questions ]
What are the main features of a QMainWindow?
How can you install a QMenuBar in a QMainWindow?
How can you save and later restore the size, position, and arrangements of widgets for a GUI app?
What is a central widget?
How does a widget become the central widget?
What are dock widgets for?
How many dock widgets can you have in one application?
How can you make use of dock widgets?
What is an action?
How can you make use of actions?
What is an action group? Why would you have one in your application?
How can you make your application available to people who can't understand English?
What is a QAction? How are actions triggered?
A QAction is an object representing something that the user can do to the program. It can be triggered through menu items, button clicking, keyboard presses, etc.
It is possible to create QMenu
s without using QAction
s. What are the advantages of using a QAction?
By creating a unique QAction for each action, you can add it to different menus and toolbars, and from one place, disable/enable it, or change other properties (such as its label or tooltip) and it will reflect in all views (menuitems, toolbar buttons, etc) that refer to it.
Which Qt classes use the Command pattern?
QRunnable, QProcess, QAction, QThread, QtConcurrentRun
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |