compile
[kdegraphics.git] / okular / ui / annotwindow.h
blobedcc54d8735d69b37df012dde8d6526580103a94
1 /***************************************************************************
2 * Copyright (C) 2006 by Chu Xiaodong <xiaodongchu@gmail.com> *
3 * Copyright (C) 2006 by Pino Toscano <pino@kde.org> *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #ifndef _ANNOTWINDOW_H_
12 #define _ANNOTWINDOW_H_
14 #include <qcolor.h>
15 #include <qframe.h>
17 namespace Okular {
18 class Annotation;
21 class QTextEdit;
22 class MovableTitle;
24 class AnnotWindow : public QFrame
26 Q_OBJECT
27 public:
28 AnnotWindow( QWidget * parent, Okular::Annotation * annot);
30 void reloadInfo();
32 private:
33 MovableTitle * m_title;
34 QTextEdit *textEdit;
35 QColor m_color;
36 public:
37 Okular::Annotation* m_annot;
39 protected:
40 virtual void showEvent( QShowEvent * event );
42 private slots:
43 void slotOptionBtn();
44 void slotsaveWindowText();
48 #endif