Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::FilePreviewWidget Class Reference

View a xml document. More...

#include <cxFilePreviewWidget.h>

Inheritance diagram for cx::FilePreviewWidget:
cx::FileWatcherWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Slots

virtual void previewFileSlot (const QString &absoluteFilePath)
 
void saveSlot ()
 
void textChangedSlot ()
 
- Public Slots inherited from cx::FileWatcherWidget
virtual void previewFileSlot (const QString &absoluteFilePath)=0
 
- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 

Public Member Functions

 FilePreviewWidget (QWidget *parent)
 
virtual ~FilePreviewWidget ()
 
template<class SYNTAXHIGHLIGHTER >
void setSyntaxHighLighter ()
 
- Public Member Functions inherited from cx::FileWatcherWidget
 FileWatcherWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~FileWatcherWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Member Functions inherited from cx::FileWatcherWidget
bool internalOpenNewFile (const QString absoluteFilePath)
 
void watchFile (bool on)
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 
- Protected Attributes inherited from cx::FileWatcherWidget
QFileSystemWatcher * mFileSystemWatcher
 
boost::shared_ptr< QFile > mCurrentFile
 

Detailed Description

View a xml document.

A viewcx_guidget for a xml file with syntax highlightning.

Date
Mar 22, 2011
Author
Janne Beate Bakeng, SINTEF

Definition at line 57 of file cxFilePreviewWidget.h.

Constructor & Destructor Documentation

cx::FilePreviewWidget::FilePreviewWidget ( QWidget *  parent)

Definition at line 51 of file cxFilePreviewWidget.cpp.

cx::FilePreviewWidget::~FilePreviewWidget ( )
virtual

Definition at line 79 of file cxFilePreviewWidget.cpp.

Member Function Documentation

void cx::FilePreviewWidget::previewFileSlot ( const QString &  absoluteFilePath)
virtualslot

Definition at line 87 of file cxFilePreviewWidget.cpp.

void cx::FilePreviewWidget::saveSlot ( )
slot

Definition at line 104 of file cxFilePreviewWidget.cpp.

template<class SYNTAXHIGHLIGHTER >
void cx::FilePreviewWidget::setSyntaxHighLighter ( )
inline

Definition at line 66 of file cxFilePreviewWidget.h.

void cx::FilePreviewWidget::textChangedSlot ( )
slot

Definition at line 82 of file cxFilePreviewWidget.cpp.


The documentation for this class was generated from the following files: