compile
[kdegraphics.git] / okular / ui / annotwindow.h
blob8e3a74d3b977b3fe823a20b07f1a4255775a2f1d
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 private slots:
40 void slotOptionBtn();
41 void slotsaveWindowText();
45 #endif