blob: 8524929d58ac121326cc768106ee656178a55637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <MApplication>
#include <MApplicationPage>
#include <MApplicationWindow>
#include <MButton>
#include "imageviewer.h"
int main(int argc, char** argv)
{
MApplication app(argc, argv);
MApplicationWindow w;
w.setObjectName( "Main Window" );
w.show();
MApplicationPage p;
p.appear();
MButton b(p.centralWidget());
b.setText("IMAGE");
ImageViewer myImageViewer( b );
return app.exec();
}
|