Editing Developer FAQ
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 322: | Line 322: | ||
There is a [[Qt4 Hildon|Qt page on the wiki]] with some useful information, and [http://qt.nokia.com/doc/qt-maemo-4.6/index.html official Qt for Maemo documentation]. | There is a [[Qt4 Hildon|Qt page on the wiki]] with some useful information, and [http://qt.nokia.com/doc/qt-maemo-4.6/index.html official Qt for Maemo documentation]. | ||
- | === How to create "[[Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Windows#Window_Views|HildonStackableWindows]]"?=== | + | === How to create "[[Documentation/Maemo_5_Developer_Guide/Human_Interface_Guidelines/Windows#Window_Views | HildonStackableWindows]]"?=== |
- | This is done by | + | This is done by creating a [http://doc.trolltech.com/4.5/qmainwindow.html QMainWindow], with another QMainWindow as parent in the constructor. |
+ | '''Example''' | ||
+ | <source lang="cpp"> | ||
+ | // created by [http://talk.maemo.org/member.php?u=25407 hopbeat] | ||
+ | |||
+ | QApplication app(argc, argv); | ||
+ | QMainWindow* window=new QMainWindow(); | ||
+ | window->setCentralWidget(someWidget); | ||
+ | |||
+ | window->show(); | ||
+ | |||
+ | QMainWindow* window2=new QMainWindow(window); | ||
+ | window2->show(); | ||
+ | </source> | ||
== Autobuilder == | == Autobuilder == | ||
Learn more about Contributing to the wiki.