diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2010-05-12 14:32:12 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2010-05-12 14:36:10 (GMT) |
commit | 812f78e55aa3db4d51ec8617320358d80c4a71d5 (patch) | |
tree | aaceddad76df5b4d91bd2de4d56bb21b73ca94fa /examples/graphicsview/padnavigator/padnavigator.h | |
parent | e4902b4f25ca9c1ecff99609dbe376b407d9c6c5 (diff) | |
download | Qt-812f78e55aa3db4d51ec8617320358d80c4a71d5.zip Qt-812f78e55aa3db4d51ec8617320358d80c4a71d5.tar.gz Qt-812f78e55aa3db4d51ec8617320358d80c4a71d5.tar.bz2 |
Documentation for the Pad Navigator Example.
This also does a few touch-ups on the source code.
Diffstat (limited to 'examples/graphicsview/padnavigator/padnavigator.h')
-rw-r--r-- | examples/graphicsview/padnavigator/padnavigator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/graphicsview/padnavigator/padnavigator.h b/examples/graphicsview/padnavigator/padnavigator.h index c79a13c..03a1ea2 100644 --- a/examples/graphicsview/padnavigator/padnavigator.h +++ b/examples/graphicsview/padnavigator/padnavigator.h @@ -43,23 +43,25 @@ #define PADNAVIGATOR_H #include <QGraphicsView> +#include "ui_form.h" class QState; class QStateMachine; class Ui_Form; +//! [0] class PadNavigator : public QGraphicsView { Q_OBJECT public: explicit PadNavigator(const QSize &size, QWidget *parent = 0); - ~PadNavigator(); protected: void resizeEvent(QResizeEvent *event); private: - Ui_Form *form; + Ui_Form form; }; +//! [0] #endif // PADNAVIGATOR_H |