Allah
C++
code posted
by
Allah
created at 07 Jul 16:37, updated at 07 Jul 16:38
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
#ifndef REPORT_TEMPLATE_CONTENT_EDITOR_H__ #define REPORT_TEMPLATE_CONTENT_EDITOR_H__ #include <QAction> #include "SimpleXmlEditorInterface.h" #include "ReportFragmentEditor.h" #include "reportviewer/ReportViewer.h" class ReportTemplateContentEditor: public SimpleXmlEditorInterface { Q_OBJECT public: ReportTemplateContentEditor(QWidget* parent = NULL); virtual ~ReportTemplateContentEditor(); void setReportTemplateName(const QString& name); private: ReportFragmentEditor* _reportFragmentEditor; ReportViewer* _viewer; QAction* _insertFragmentAction; QAction* _createFragmentFromSelectionAction; QAction* _openFragmentsEditorAction; QAction* _openReportViewerAction; void _createActions(); void _connectSignals(); void _insertFragment(); void _makeFragmentFromSelection(); void _showReportViewer(); void _showFragmentEditor(); virtual void _saveImplementation() override; ReportTemplateContentEditor(const ReportTemplateContentEditor&) = delete; ReportTemplateContentEditor& operator= (const ReportTemplateContentEditor&) = delete; }; #endif //REPORT_TEMPLATE_CONTENT_EDITOR_H__ |
1.14 KB in 2 ms with coderay