359
|
1 |
#include <QScrollArea>
|
|
2 |
#include <QMainWindow>
|
|
3 |
#include <QLabel>
|
|
4 |
#include <QListWidget>
|
|
5 |
#include <QPushButton>
|
|
6 |
#include "pixlabel.h"
|
|
7 |
|
|
8 |
class MyWindow : public QMainWindow
|
|
9 |
{
|
8442
|
10 |
Q_OBJECT
|
359
|
11 |
|
|
12 |
public:
|
|
13 |
|
8442
|
14 |
MyWindow(QWidget * parent = 0, Qt::WFlags flags = 0);
|
359
|
15 |
|
|
16 |
private:
|
|
17 |
|
8442
|
18 |
QScrollArea * sa_xy;
|
|
19 |
PixLabel * xy;
|
|
20 |
QPushButton * buttAdd;
|
|
21 |
QPushButton * buttCode;
|
|
22 |
QPushButton * buttSave;
|
|
23 |
QPushButton * buttLoad;
|
359
|
24 |
|
|
25 |
private slots:
|
8442
|
26 |
void Code();
|
|
27 |
void Save();
|
|
28 |
void Load();
|
359
|
29 |
};
|