#include "gradients.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 28 of file main.cpp.
References QApplication::exec(), Q_INIT_RESOURCE, QWidget::setStyle(), QWidget::show(), and w.
00029 { 00030 Q_INIT_RESOURCE(gradients); 00031 00032 QApplication app(argc, argv); 00033 00034 GradientWidget gradientWidget(0); 00035 QStyle *arthurStyle = new ArthurStyle(); 00036 gradientWidget.setStyle(arthurStyle); 00037 QList<QWidget *> widgets = qFindChildren<QWidget *>(&gradientWidget); 00038 foreach (QWidget *w, widgets) 00039 w->setStyle(arthurStyle); 00040 gradientWidget.show(); 00041 00042 return app.exec(); 00043 }
Here is the call graph for this function:

1.5.1