1 #ifndef __MAINWIDGET_H__
2 #define __MAINWIDGET_H__
6 class MainWidget : public QLabel
11 : QLabel (tr ("Hello, World"))
13 setAlignment(Qt::AlignCenter);
14 setAttribute(Qt::WA_TranslucentBackground);
17 QSize sizeHint() const
19 return 2 * QLabel::sizeHint();
23 #endif /* __MAINWIDGET_H__ */