Back to index

scribus-ng  1.3.4.dfsg+svn20071115
docinfo.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef DOCINFOS_H
00008 #define DOCINFOS_H
00009 
00010 #include <qtabwidget.h>
00011 
00012 #include "scribusapi.h"
00013 #include "documentinformation.h"
00014 
00015 class QLineEdit;
00016 class QMultiLineEdit;
00017 class QLabel;
00018 class QWidget;
00019 class QGridLayout;
00020 
00021 
00025 class SCRIBUS_API DocInfos : public QTabWidget
00026 {
00027     Q_OBJECT
00028 
00029 public:
00030        DocInfos( QWidget* parent, DocumentInformation& docInfo );
00031        ~DocInfos() {};
00032 
00034        DocumentInformation infos;
00035 
00039        DocumentInformation getDocInfo();
00040 
00043        void restoreDefaults();
00044 
00045 protected:
00046        QLineEdit* publisherEdit;
00047        QLineEdit* dateEdit;
00048        QLineEdit* typeEdit;
00049        QLineEdit* formatEdit;
00050        QLineEdit* identifierEdit;
00051        QLineEdit* sourceEdit;
00052        QLineEdit* languageEdit;
00053        QLineEdit* relationEdit;
00054        QLineEdit* coverageEdit;
00055        QLineEdit* rightsEdit;
00056        QLineEdit* titleEdit;
00057        QLineEdit* authorEdit;
00058 
00059        QMultiLineEdit* descriptionEdit;
00060        QMultiLineEdit* keywordsEdit;
00061        QMultiLineEdit* contributorsEdit;
00062 
00063        QLabel* authorLabel;
00064        QLabel* titleLabel;
00065        QLabel* publisherLabel;
00066        QLabel* dateLabel;
00067        QLabel* typeLabel;
00068        QLabel* formatLabel;
00069        QLabel* identifierLabel;
00070        QLabel* sourceLabel;
00071        QLabel* languageLabel;
00072        QLabel* relationLabel;
00073        QLabel* coverageLabel;
00074        QLabel* rightsLabel;
00075        QLabel* descriptionLabel;
00076        QLabel* keywordsLabel;
00077        QLabel* contributorsLabel;
00078 
00079        QGridLayout* layout1;
00080        QGridLayout* layout2;
00081 
00082        QWidget* page1;
00083        QWidget* page2;
00084 };
00085 
00086 #endif // DOCINFOS_H