Dialog for adding annotations. More...
#include <annotdialog.h>
Public Slots | |
| virtual void | fillStates (const QString ¤t) |
| virtual void | createAnnot () |
Public Member Functions | |
| AnnotDialog (QSPage &p, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) | |
| ~AnnotDialog () | |
| void | setRectangle (double xl, double yl, double width, double height) |
Protected Slots | |
| virtual void | languageChange () |
Protected Member Functions | |
| void | createTextAnnot () |
| void | createLinkAnnot () |
Protected Attributes | |
| QPushButton * | okBtn |
| QPushButton * | cancelButton |
| QTabWidget * | tabWidget3 |
| QWidget * | tab |
| Q_GroupBox * | groupBox1 |
| QCheckBox * | open |
| QLabel * | textLabel2 |
| QLineEdit * | textContent |
| QLabel * | textLabel3 |
| QComboBox * | iconName |
| QLabel * | textLabel4_2 |
| QComboBox * | state |
| QLabel * | textLabel5_2 |
| QComboBox * | stateModel |
| QWidget * | tab_2 |
| QFrame * | frame3 |
| QLabel * | textLabel2_3 |
| QLineEdit * | linkContent |
| QLabel * | textLabel1 |
| QLineEdit * | destination |
| QLabel * | textLabel2_2 |
| QComboBox * | highLight |
| QGridLayout * | AnnotDialogLayout |
| QHBoxLayout * | layout8 |
| QSpacerItem * | spacer8 |
| QSpacerItem * | spacer7 |
| QSpacerItem * | spacer9 |
| QGridLayout * | tabLayout |
| QGridLayout * | groupBox1Layout |
| QVBoxLayout * | layout21_2 |
| QHBoxLayout * | layout16_2 |
| QHBoxLayout * | layout18_2 |
| QHBoxLayout * | layout19_2 |
| QHBoxLayout * | layout20_2 |
| QGridLayout * | tabLayout_2 |
| QGridLayout * | frame3Layout |
| QVBoxLayout * | layout17 |
| QSpacerItem * | spacer4 |
| QVBoxLayout * | layout12 |
| QHBoxLayout * | layout16_2_2 |
| QHBoxLayout * | layout8_2 |
| QHBoxLayout * | layout9 |
Private Attributes | |
| libs::Rectangle | rect |
| QSPage & | page |
Dialog for adding annotations.
Dialog for adding annotation to documents. Dialog expect to receive the annotation rectangle in constructor, it will solicit the annotation data from user and add the annotation to page, if user presses Ok
| gui::AnnotDialog::AnnotDialog | ( | QSPage & | p, | |
| QWidget * | parent = 0, |
|||
| const char * | name = 0, |
|||
| bool | modal = FALSE, |
|||
| WFlags | fl = 0 | |||
| ) |
References Q_GroupBox.
| gui::AnnotDialog::~AnnotDialog | ( | ) |
| void gui::AnnotDialog::createAnnot | ( | ) | [virtual, slot] |
| void gui::AnnotDialog::createLinkAnnot | ( | ) | [protected] |
Referenced by setRectangle().
| void gui::AnnotDialog::createTextAnnot | ( | ) | [protected] |
Referenced by setRectangle().
| void gui::AnnotDialog::fillStates | ( | const QString & | current | ) | [virtual, slot] |
| void gui::AnnotDialog::languageChange | ( | ) | [protected, virtual, slot] |
| void gui::AnnotDialog::setRectangle | ( | double | xl, | |
| double | yl, | |||
| double | width, | |||
| double | height | |||
| ) |
References createLinkAnnot(), and createTextAnnot().
QGridLayout* gui::AnnotDialog::AnnotDialogLayout [protected] |
QPushButton* gui::AnnotDialog::cancelButton [protected] |
Cancel button to cancel the dialog
QLineEdit* gui::AnnotDialog::destination [protected] |
QFrame* gui::AnnotDialog::frame3 [protected] |
QGridLayout* gui::AnnotDialog::frame3Layout [protected] |
Q_GroupBox* gui::AnnotDialog::groupBox1 [protected] |
QGridLayout* gui::AnnotDialog::groupBox1Layout [protected] |
QComboBox* gui::AnnotDialog::highLight [protected] |
QComboBox* gui::AnnotDialog::iconName [protected] |
QVBoxLayout* gui::AnnotDialog::layout12 [protected] |
QHBoxLayout* gui::AnnotDialog::layout16_2 [protected] |
QHBoxLayout* gui::AnnotDialog::layout16_2_2 [protected] |
QVBoxLayout* gui::AnnotDialog::layout17 [protected] |
QHBoxLayout* gui::AnnotDialog::layout18_2 [protected] |
QHBoxLayout* gui::AnnotDialog::layout19_2 [protected] |
QHBoxLayout* gui::AnnotDialog::layout20_2 [protected] |
QVBoxLayout* gui::AnnotDialog::layout21_2 [protected] |
QHBoxLayout* gui::AnnotDialog::layout8 [protected] |
QHBoxLayout* gui::AnnotDialog::layout8_2 [protected] |
QHBoxLayout* gui::AnnotDialog::layout9 [protected] |
QLineEdit* gui::AnnotDialog::linkContent [protected] |
QPushButton* gui::AnnotDialog::okBtn [protected] |
OK button to accept the dialog
QCheckBox* gui::AnnotDialog::open [protected] |
QSPage& gui::AnnotDialog::page [private] |
Page in which the annotation will be added
libs::Rectangle gui::AnnotDialog::rect [private] |
Annotation rectangle
QSpacerItem* gui::AnnotDialog::spacer4 [protected] |
QSpacerItem* gui::AnnotDialog::spacer7 [protected] |
QSpacerItem* gui::AnnotDialog::spacer8 [protected] |
QSpacerItem* gui::AnnotDialog::spacer9 [protected] |
QComboBox* gui::AnnotDialog::state [protected] |
QComboBox* gui::AnnotDialog::stateModel [protected] |
QWidget* gui::AnnotDialog::tab [protected] |
QWidget* gui::AnnotDialog::tab_2 [protected] |
QGridLayout* gui::AnnotDialog::tabLayout [protected] |
QGridLayout* gui::AnnotDialog::tabLayout_2 [protected] |
QTabWidget* gui::AnnotDialog::tabWidget3 [protected] |
QLineEdit* gui::AnnotDialog::textContent [protected] |
QLabel* gui::AnnotDialog::textLabel1 [protected] |
QLabel* gui::AnnotDialog::textLabel2 [protected] |
QLabel* gui::AnnotDialog::textLabel2_2 [protected] |
QLabel* gui::AnnotDialog::textLabel2_3 [protected] |
QLabel* gui::AnnotDialog::textLabel3 [protected] |
QLabel* gui::AnnotDialog::textLabel4_2 [protected] |
QLabel* gui::AnnotDialog::textLabel5_2 [protected] |