1
#include <qapplication.h>
8
int main(int argc, char *argv[])
10
QApplication app(argc, argv);
14
QLabel *l = new QLabel("Edit Test", &page);
15
l->setAlignment(Qt::AlignCenter);
19
QVBox *linev = new QVBox(&page);
20
new QLabel("lineedit", linev);
23
QVBox *textv = new QVBox(&page);
24
new QLabel("textedit", textv);
27
app.setMainWidget(&page);