Subversion Repositories svn1-original

Rev

Rev 130 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
98 - 1
#ifndef MAINWINDOW_H
2
#define MAINWINDOW_H
3
 
4
#include <QMainWindow>
5
#include <QTextCursor>
6
#include <QTextDocument>
7
 
8
namespace Ui {
9
    class MainWindow;
10
}
11
 
12
class MainWindow : public QMainWindow {
13
    Q_OBJECT
14
public:
15
    MainWindow(QWidget *parent = 0);
16
    ~MainWindow();
17
    void clearScreen(void);
18
    void setPosn( int x, int y);
19
    void insertText( const char * text);
20
 
21
protected:
22
    void changeEvent(QEvent *e);
23
 
24
private:
25
    Ui::MainWindow *ui;
26
    QTextDocument * document;
27
    QTextCursor *cr;
28
};
29
 
30
#endif // MAINWINDOW_H