blob: 3491823c74c7911230fbf7ed6becbfb2e0d4d2be (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef MEMORYDIALOG_H
#define MEMORYDIALOG_H
#include <qdialog.h>
#include <qlistbox.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qstring.h>
#include <qhbox.h>
class MemoryDialog : public QDialog
{
Q_OBJECT
public:
MemoryDialog();
~MemoryDialog();
private slots:
void addItem();
void editItem();
void deleteItem();
private:
QHBox *secondline;
QListBox* listbox;
QLineEdit* lineedit;
QPushButton* newbutton;
QPushButton* editbutton;
QPushButton* deletebutton;
QBoxLayout *layout;
};
#endif
|