qt:quitting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
qt:quitting [2011/03/30 22:15] – [QApplication::lastWindowClosed()] mithat | qt:quitting [2011/03/30 22:18] – [QCoreApplication::quit ()] mithat | ||
---|---|---|---|
Line 10: | Line 10: | ||
By default, | By default, | ||
- | * this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus | + | * // |
* // | * // | ||
Line 45: | Line 45: | ||
<code cpp>void QCoreApplication:: | <code cpp>void QCoreApplication:: | ||
- | Tells the application to exit with return code 0 (success). Equivalent to calling QCoreApplication:: | + | Tells the application to exit with return code 0 (success). Equivalent to calling |
- | It's common to connect the '' | + | It's common to connect the '' |
Example:< | Example:< | ||
Line 53: | Line 53: | ||
connect(quitButton, | connect(quitButton, | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | See also QWidget:: | ||
qt/quitting.txt · Last modified: 2011/03/31 10:06 by mithat