2006-08-11 23:53:48 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2006 by Chu Xiaodong <xiaodongchu@gmail.com> *
|
2006-09-17 16:09:10 +00:00
|
|
|
* Copyright (C) 2006 by Pino Toscano <pino@kde.org> *
|
2006-08-11 23:53:48 +00:00
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
2006-09-16 17:06:56 +00:00
|
|
|
|
2006-08-11 23:53:48 +00:00
|
|
|
#ifndef _ANNOTWINDOW_H_
|
|
|
|
#define _ANNOTWINDOW_H_
|
|
|
|
|
2006-09-17 16:09:10 +00:00
|
|
|
#include <qframe.h>
|
2006-08-11 23:53:48 +00:00
|
|
|
|
2006-09-21 08:45:36 +00:00
|
|
|
namespace Okular {
|
2006-09-16 17:06:56 +00:00
|
|
|
class Annotation;
|
2006-09-21 08:45:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class QTextEdit;
|
2006-09-17 16:09:10 +00:00
|
|
|
class MovableTitle;
|
2006-09-16 17:06:56 +00:00
|
|
|
|
2006-09-17 16:09:10 +00:00
|
|
|
class AnnotWindow : public QFrame
|
2006-08-11 23:53:48 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2006-09-21 08:45:36 +00:00
|
|
|
AnnotWindow( QWidget * parent, Okular::Annotation * annot);
|
2006-08-11 23:53:48 +00:00
|
|
|
|
|
|
|
private:
|
2006-09-17 16:09:10 +00:00
|
|
|
MovableTitle * m_title;
|
2006-08-11 23:53:48 +00:00
|
|
|
QTextEdit *textEdit;
|
|
|
|
public:
|
2006-09-21 08:45:36 +00:00
|
|
|
Okular::Annotation* m_annot;
|
2006-09-17 16:09:10 +00:00
|
|
|
|
2006-08-11 23:53:48 +00:00
|
|
|
private slots:
|
2006-09-17 16:09:10 +00:00
|
|
|
void slotOptionBtn();
|
2006-08-11 23:53:48 +00:00
|
|
|
void slotsaveWindowText();
|
|
|
|
};
|
2006-09-21 08:45:36 +00:00
|
|
|
|
|
|
|
|
2006-08-11 23:53:48 +00:00
|
|
|
#endif
|