~sachinr/xpad/xpad-qt

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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
class Pad;
namespace Ui {
class PadWindow;
}

class PadWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit PadWindow(QWidget *parent = 0);
    ~PadWindow();
    void SetPad(Pad*);
    void SetText(QString text);
public:
    void closeEvent(QCloseEvent *);
private:
    Pad*pad;
    Ui::PadWindow *ui;
};

#endif // MAINWINDOW_H