demos/composition/main.cpp File Reference

#include "composition.h"
#include <QApplication>

Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 28 of file main.cpp.

References QApplication::exec(), QWidget::setStyle(), QWidget::show(), and w.

00029 {
00030  //   Q_INIT_RESOURCE(deform);
00031 
00032     QApplication app(argc, argv);
00033 
00034     CompositionWidget compWidget(0);
00035     QStyle *arthurStyle = new ArthurStyle();
00036     compWidget.setStyle(arthurStyle);
00037 
00038     QList<QWidget *> widgets = qFindChildren<QWidget *>(&compWidget);
00039     foreach (QWidget *w, widgets)
00040         w->setStyle(arthurStyle);
00041     compWidget.show();
00042 
00043     return app.exec();
00044 }

Here is the call graph for this function:


Generated on Thu Mar 15 13:56:25 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1