DocInfos Class Reference
The DocInfos class is now part of the ReformDoc multi widgets storage. See reformdoc.h as reference. The return values are handled via. getDocInfo() method. It can be used as standalone widget. More...
#include <docinfo.h>

Public Member Functions | |
| DocInfos (QWidget *parent, DocumentInformation &docInfo) | |
| ~DocInfos () | |
| DocumentInformation | getDocInfo () |
| Returns the changed values. Used e.g. in ScribusMainWindow::SetupDoc(). | |
| void | restoreDefaults () |
| (Re)loads the document informations. See e.g. ReformDoc::restoreDefaults() | |
Public Attributes | |
| DocumentInformation | infos |
| Class wide DocumentInformation& docInfo reference. | |
Protected Attributes | |
| QLineEdit * | publisherEdit |
| QLineEdit * | dateEdit |
| QLineEdit * | typeEdit |
| QLineEdit * | formatEdit |
| QLineEdit * | identifierEdit |
| QLineEdit * | sourceEdit |
| QLineEdit * | languageEdit |
| QLineEdit * | relationEdit |
| QLineEdit * | coverageEdit |
| QLineEdit * | rightsEdit |
| QLineEdit * | titleEdit |
| QLineEdit * | authorEdit |
| QTextEdit * | descriptionEdit |
| QTextEdit * | keywordsEdit |
| QTextEdit * | contributorsEdit |
| QLabel * | authorLabel |
| QLabel * | titleLabel |
| QLabel * | publisherLabel |
| QLabel * | dateLabel |
| QLabel * | typeLabel |
| QLabel * | formatLabel |
| QLabel * | identifierLabel |
| QLabel * | sourceLabel |
| QLabel * | languageLabel |
| QLabel * | relationLabel |
| QLabel * | coverageLabel |
| QLabel * | rightsLabel |
| QLabel * | descriptionLabel |
| QLabel * | keywordsLabel |
| QLabel * | contributorsLabel |
| QGridLayout * | layout1 |
| QGridLayout * | layout2 |
| QWidget * | page1 |
| QWidget * | page2 |
Detailed Description
The DocInfos class is now part of the ReformDoc multi widgets storage. See reformdoc.h as reference. The return values are handled via. getDocInfo() method. It can be used as standalone widget.Definition at line 25 of file docinfo.h.
Constructor & Destructor Documentation
| DocInfos::DocInfos | ( | QWidget * | parent, | |
| DocumentInformation & | docInfo | |||
| ) |
Definition at line 26 of file docinfo.cpp.
References authorEdit, authorLabel, contributorsEdit, contributorsLabel, coverageEdit, coverageLabel, dateEdit, dateLabel, descriptionEdit, descriptionLabel, formatEdit, formatLabel, identifierEdit, identifierLabel, infos, keywordsEdit, keywordsLabel, languageEdit, languageLabel, layout1, layout2, loadIcon(), page1, page2, publisherEdit, publisherLabel, relationEdit, relationLabel, rightsEdit, rightsLabel, sourceEdit, sourceLabel, titleEdit, titleLabel, tr(), typeEdit, and typeLabel.
Member Function Documentation
| DocumentInformation DocInfos::getDocInfo | ( | ) |
Returns the changed values. Used e.g. in ScribusMainWindow::SetupDoc().
- Return values:
-
DocumentInformation structure
Definition at line 177 of file docinfo.cpp.
References authorEdit, contributorsEdit, coverageEdit, dateEdit, descriptionEdit, formatEdit, identifierEdit, keywordsEdit, languageEdit, publisherEdit, relationEdit, rightsEdit, DocumentInformation::setAuthor(), DocumentInformation::setComments(), DocumentInformation::setContrib(), DocumentInformation::setCover(), DocumentInformation::setDate(), DocumentInformation::setFormat(), DocumentInformation::setIdent(), DocumentInformation::setKeywords(), DocumentInformation::setLangInfo(), DocumentInformation::setPublisher(), DocumentInformation::setRelation(), DocumentInformation::setRights(), DocumentInformation::setSource(), DocumentInformation::setTitle(), DocumentInformation::setType(), sourceEdit, titleEdit, and typeEdit.
Referenced by ReformDoc::updateDocumentSettings().
| void DocInfos::restoreDefaults | ( | ) |
(Re)loads the document informations. See e.g. ReformDoc::restoreDefaults()
Definition at line 198 of file docinfo.cpp.
References authorEdit, contributorsEdit, coverageEdit, dateEdit, descriptionEdit, formatEdit, DocumentInformation::getAuthor(), DocumentInformation::getComments(), DocumentInformation::getContrib(), DocumentInformation::getCover(), DocumentInformation::getDate(), DocumentInformation::getFormat(), DocumentInformation::getIdent(), DocumentInformation::getKeywords(), DocumentInformation::getLangInfo(), DocumentInformation::getPublisher(), DocumentInformation::getRelation(), DocumentInformation::getRights(), DocumentInformation::getSource(), DocumentInformation::getTitle(), DocumentInformation::getType(), identifierEdit, infos, keywordsEdit, languageEdit, publisherEdit, relationEdit, rightsEdit, sourceEdit, titleEdit, and typeEdit.
Referenced by ReformDoc::restoreDefaults().
Member Data Documentation
Class wide DocumentInformation& docInfo reference.
Definition at line 31 of file docinfo.h.
Referenced by DocInfos(), and restoreDefaults().
QLineEdit* DocInfos::publisherEdit [protected] |
Definition at line 46 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::dateEdit [protected] |
Definition at line 47 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::typeEdit [protected] |
Definition at line 48 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::formatEdit [protected] |
Definition at line 49 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::identifierEdit [protected] |
Definition at line 50 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::sourceEdit [protected] |
Definition at line 51 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::languageEdit [protected] |
Definition at line 52 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::relationEdit [protected] |
Definition at line 53 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::coverageEdit [protected] |
Definition at line 54 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::rightsEdit [protected] |
Definition at line 55 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::titleEdit [protected] |
Definition at line 56 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLineEdit* DocInfos::authorEdit [protected] |
Definition at line 57 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QTextEdit* DocInfos::descriptionEdit [protected] |
Definition at line 59 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QTextEdit* DocInfos::keywordsEdit [protected] |
Definition at line 60 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QTextEdit* DocInfos::contributorsEdit [protected] |
Definition at line 61 of file docinfo.h.
Referenced by DocInfos(), getDocInfo(), and restoreDefaults().
QLabel* DocInfos::authorLabel [protected] |
QLabel* DocInfos::titleLabel [protected] |
QLabel* DocInfos::publisherLabel [protected] |
QLabel* DocInfos::dateLabel [protected] |
QLabel* DocInfos::typeLabel [protected] |
QLabel* DocInfos::formatLabel [protected] |
QLabel* DocInfos::identifierLabel [protected] |
QLabel* DocInfos::sourceLabel [protected] |
QLabel* DocInfos::languageLabel [protected] |
QLabel* DocInfos::relationLabel [protected] |
QLabel* DocInfos::coverageLabel [protected] |
QLabel* DocInfos::rightsLabel [protected] |
QLabel* DocInfos::descriptionLabel [protected] |
QLabel* DocInfos::keywordsLabel [protected] |
QLabel* DocInfos::contributorsLabel [protected] |
QGridLayout* DocInfos::layout1 [protected] |
QGridLayout* DocInfos::layout2 [protected] |
QWidget* DocInfos::page1 [protected] |
QWidget* DocInfos::page2 [protected] |
The documentation for this class was generated from the following files:
