NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::BrowserWidget Class Reference

Shows a treestructure containing the loaded images, meshes and tools. More...

#include <cxBrowserWidget.h>

Inheritance diagram for cx::BrowserWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 BrowserWidget (QWidget *parent, VisServicesPtr services)
 
 ~BrowserWidget ()
 
- 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 resetView ()
 

Protected Member Functions

virtual void prePaintEvent ()
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

TreeItemModelmModel
 
QPointer< QTreeView > mTreeView
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Shows a treestructure containing the loaded images, meshes and tools.

Date
Feb 11, 2010 \author Janne Beate Bakeng, SINTEF

Definition at line 69 of file cxBrowserWidget.h.

Constructor & Destructor Documentation

cx::BrowserWidget::BrowserWidget ( QWidget *  parent,
VisServicesPtr  services 
)

Definition at line 53 of file cxBrowserWidget.cpp.

cx::BrowserWidget::~BrowserWidget ( )

Definition at line 115 of file cxBrowserWidget.cpp.

Member Function Documentation

void cx::BrowserWidget::prePaintEvent ( )
protectedvirtual

Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.

Reimplemented from cx::OptimizedUpdateWidget.

Definition at line 119 of file cxBrowserWidget.cpp.

void cx::BrowserWidget::resetView ( )
protectedslot

Definition at line 263 of file cxBrowserWidget.cpp.

Member Data Documentation

TreeItemModel* cx::BrowserWidget::mModel
protected

Definition at line 81 of file cxBrowserWidget.h.

QPointer<QTreeView> cx::BrowserWidget::mTreeView
protected

Definition at line 82 of file cxBrowserWidget.h.


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