Title / Description
Code #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__
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code