#include "pathstroke.h"
#include <QApplication>
Include dependency graph for main.cpp:

Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 27 of file main.cpp.
References QApplication::exec(), Q_INIT_RESOURCE, QWidget::setStyle(), QWidget::show(), and w.
00028 { 00029 Q_INIT_RESOURCE(pathstroke); 00030 00031 QApplication app(argc, argv); 00032 00033 PathStrokeWidget pathStrokeWidget; 00034 QStyle *arthurStyle = new ArthurStyle(); 00035 pathStrokeWidget.setStyle(arthurStyle); 00036 QList<QWidget *> widgets = qFindChildren<QWidget *>(&pathStrokeWidget); 00037 foreach (QWidget *w, widgets) 00038 w->setStyle(arthurStyle); 00039 pathStrokeWidget.show(); 00040 00041 return app.exec(); 00042 }
Here is the call graph for this function:

1.5.1