33 #ifndef CXFILEPREVIEWWIDGET_H_ 34 #define CXFILEPREVIEWWIDGET_H_ 36 #include "cxResourceWidgetsExport.h" 42 #include <QSyntaxHighlighter> 65 template<
class SYNTAXHIGHLIGHTER>
68 delete mSyntaxHighlighter;
69 mSyntaxHighlighter =
new SYNTAXHIGHLIGHTER(mTextDocument);
73 virtual void previewFileSlot(
const QString& absoluteFilePath);
75 void textChangedSlot();
80 QTextDocument* mTextDocument;
83 QSyntaxHighlighter* mSyntaxHighlighter;
85 QPushButton* mSaveButton;
Namespace for all CustusX production code.