~sachinr/xpad/xpad-qt

« back to all changes in this revision

Viewing changes to src/padwindow.h

  • Committer: Sachin Raut
  • Date: 2013-09-18 15:08:32 UTC
  • Revision ID: great.sachin@gmail.com-20130918150832-086xl1b73jch29xi
initial import of qt port of xpad
add tray icon
options in tray icon
1) new pad
2) exit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MAINWINDOW_H
 
2
#define MAINWINDOW_H
 
3
 
 
4
#include <QMainWindow>
 
5
class Pad;
 
6
namespace Ui {
 
7
class PadWindow;
 
8
}
 
9
 
 
10
class PadWindow : public QMainWindow
 
11
{
 
12
    Q_OBJECT
 
13
    
 
14
public:
 
15
    explicit PadWindow(QWidget *parent = 0);
 
16
    ~PadWindow();
 
17
    void SetPad(Pad*);
 
18
public:
 
19
    void closeEvent(QCloseEvent *);
 
20
private:
 
21
    Pad*pad;
 
22
    Ui::PadWindow *ui;
 
23
};
 
24
 
 
25
#endif // MAINWINDOW_H