1 /***************************************************************************
2 * Copyright (C) 2006 by Chu Xiaodong <xiaodongchu@gmail.com> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _ANNOTATIONPROPERTIESDIALOG_H_
11 #define _ANNOTATIONPROPERTIESDIALOG_H_
13 #include <kpagedialog.h>
19 class AnnotationWidget
;
26 class AnnotsPropertiesDialog
: public KPageDialog
30 AnnotsPropertiesDialog( QWidget
*parent
, Okular::Document
*document
, int docpage
, Okular::Annotation
*ann
);
31 ~AnnotsPropertiesDialog();
34 Okular::Document
*m_document
;
37 Okular::Annotation
* m_annot
; //source annotation
39 QLineEdit
*AuthorEdit
;
40 KColorButton
*colorBn
;
41 KIntNumInput
*m_opacity
;
42 AnnotationWidget
*m_annotWidget
;
43 QLabel
*m_modifyDateLabel
;
45 void setCaptionTextbyAnnotType();