Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
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, FilePreviewPropertyPtr dataInterface=FilePreviewPropertyPtr(), QGridLayout *gridLayout=0, int row=0)
 
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 ()
 

Protected Slots

void fileinterfaceChanged ()
 

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 37 of file cxFilePreviewWidget.h.

Constructor & Destructor Documentation

cx::FilePreviewWidget::FilePreviewWidget ( QWidget *  parent,
FilePreviewPropertyPtr  dataInterface = FilePreviewPropertyPtr(),
QGridLayout *  gridLayout = 0,
int  row = 0 
)

Definition at line 31 of file cxFilePreviewWidget.cpp.

cx::FilePreviewWidget::~FilePreviewWidget ( )
virtual

Definition at line 82 of file cxFilePreviewWidget.cpp.

Member Function Documentation

void cx::FilePreviewWidget::fileinterfaceChanged ( )
protectedslot

Definition at line 90 of file cxFilePreviewWidget.cpp.

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

Definition at line 95 of file cxFilePreviewWidget.cpp.

void cx::FilePreviewWidget::saveSlot ( )
slot

Definition at line 112 of file cxFilePreviewWidget.cpp.

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

Definition at line 46 of file cxFilePreviewWidget.h.

void cx::FilePreviewWidget::textChangedSlot ( )
slot

Definition at line 85 of file cxFilePreviewWidget.cpp.


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