15 lines
186 B
C++
15 lines
186 B
C++
#include <qwidget.h>
|
|
|
|
class MainWindow : public QWidget
|
|
{
|
|
public:
|
|
MainWindow();
|
|
|
|
protected:
|
|
virtual void resizeEvent( QResizeEvent * );
|
|
|
|
private:
|
|
void updateGradient();
|
|
};
|
|
|
|
|