Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MainWindow Class Reference

#include <mainwindow.h>

Inherits QMainWindow, and QMainWindow.

Public Member Functions

 MainWindow (QWidget *parent=0)
 
 MainWindow (QWidget *parent=0)
 

Private Slots

void clearAll ()
 
void clearAll ()
 
void deleteObject ()
 
void deleteObject ()
 
void fillView ()
 
void fillView ()
 
void itemClicked (QtCanvasItem *item)
 
void itemClicked (QtCanvasItem *item)
 
void itemMoved (QtCanvasItem *item)
 
void itemMoved (QtCanvasItem *item)
 
void newEllipse ()
 
void newEllipse ()
 
void newLine ()
 
void newLine ()
 
void newRectangle ()
 
void newRectangle ()
 
void newText ()
 
void newText ()
 
void valueChanged (QtProperty *property, double value)
 
void valueChanged (QtProperty *property, const QString &value)
 
void valueChanged (QtProperty *property, const QColor &value)
 
void valueChanged (QtProperty *property, const QFont &value)
 
void valueChanged (QtProperty *property, const QVariant &value)
 
void valueChanged (QtProperty *property, const QPoint &value)
 
void valueChanged (QtProperty *property, const QSize &value)
 

Private Member Functions

QtCanvasItemaddEllipse ()
 
QtCanvasItemaddEllipse ()
 
QtCanvasItemaddLine ()
 
QtCanvasItemaddLine ()
 
void addProperty (QtVariantProperty *property, const QString &id)
 
void addProperty (QtProperty *property, const QString &id)
 
QtCanvasItemaddRectangle ()
 
QtCanvasItemaddRectangle ()
 
QtCanvasItemaddText ()
 
QtCanvasItemaddText ()
 
void updateExpandState ()
 
void updateExpandState ()
 

Private Attributes

QtCanvascanvas
 
CanvasViewcanvasView
 
class QtColorPropertyManagercolorManager
 
QtCanvasItemcurrentItem
 
QAction * deleteAction
 
class QtDoublePropertyManagerdoubleManager
 
class QtFontPropertyManagerfontManager
 
QMap< QString, bool > idToExpanded
 
QMap< QString, QtVariantProperty * > idToProperty
 
QMap< QString, QtProperty * > idToProperty
 
class QtPointPropertyManagerpointManager
 
class QtTreePropertyBrowserpropertyEditor
 
QMap< QtProperty *, QString > propertyToId
 
class QtSizePropertyManagersizeManager
 
class QtStringPropertyManagerstringManager
 
class QtVariantPropertyManagervariantManager
 

Constructor & Destructor Documentation

◆ MainWindow() [1/2]

MainWindow::MainWindow ( QWidget *  parent = 0)

◆ MainWindow() [2/2]

MainWindow::MainWindow ( QWidget *  parent = 0)

Member Function Documentation

◆ addEllipse() [1/2]

QtCanvasItem* MainWindow::addEllipse ( )
private

◆ addEllipse() [2/2]

QtCanvasItem * MainWindow::addEllipse ( )
private

◆ addLine() [1/2]

QtCanvasItem* MainWindow::addLine ( )
private

◆ addLine() [2/2]

QtCanvasItem * MainWindow::addLine ( )
private

◆ addProperty() [1/2]

void MainWindow::addProperty ( QtVariantProperty property,
const QString &  id 
)
private

◆ addProperty() [2/2]

void MainWindow::addProperty ( QtProperty property,
const QString &  id 
)
private

◆ addRectangle() [1/2]

QtCanvasItem* MainWindow::addRectangle ( )
private

◆ addRectangle() [2/2]

QtCanvasItem * MainWindow::addRectangle ( )
private

◆ addText() [1/2]

QtCanvasItem* MainWindow::addText ( )
private

◆ addText() [2/2]

QtCanvasItem * MainWindow::addText ( )
private

◆ clearAll [1/2]

void MainWindow::clearAll ( )
privateslot

◆ clearAll [2/2]

void MainWindow::clearAll ( )
privateslot

◆ deleteObject [1/2]

void MainWindow::deleteObject ( )
privateslot

References canvas, currentItem, itemClicked(), and QtCanvas::update().

Referenced by MainWindow().

◆ deleteObject [2/2]

void MainWindow::deleteObject ( )
privateslot

◆ fillView [1/2]

void MainWindow::fillView ( )
privateslot

◆ fillView [2/2]

void MainWindow::fillView ( )
privateslot

◆ itemClicked [1/2]

void MainWindow::itemClicked ( QtCanvasItem item)
privateslot

◆ itemClicked [2/2]

void MainWindow::itemClicked ( QtCanvasItem item)
privateslot

◆ itemMoved [1/2]

void MainWindow::itemMoved ( QtCanvasItem item)
privateslot

◆ itemMoved [2/2]

void MainWindow::itemMoved ( QtCanvasItem item)
privateslot

◆ newEllipse [1/2]

void MainWindow::newEllipse ( )
privateslot

◆ newEllipse [2/2]

void MainWindow::newEllipse ( )
privateslot

◆ newLine [1/2]

void MainWindow::newLine ( )
privateslot

References addLine(), canvas, itemClicked(), and QtCanvas::update().

Referenced by MainWindow().

◆ newLine [2/2]

void MainWindow::newLine ( )
privateslot

◆ newRectangle [1/2]

void MainWindow::newRectangle ( )
privateslot

◆ newRectangle [2/2]

void MainWindow::newRectangle ( )
privateslot

◆ newText [1/2]

void MainWindow::newText ( )
privateslot

References addText(), canvas, itemClicked(), and QtCanvas::update().

Referenced by MainWindow().

◆ newText [2/2]

void MainWindow::newText ( )
privateslot

◆ updateExpandState() [1/2]

void MainWindow::updateExpandState ( )
private

◆ updateExpandState() [2/2]

void MainWindow::updateExpandState ( )
private

◆ valueChanged [1/7]

void MainWindow::valueChanged ( QtProperty property,
double  value 
)
privateslot

◆ valueChanged [2/7]

void MainWindow::valueChanged ( QtProperty property,
const QString &  value 
)
privateslot

◆ valueChanged [3/7]

void MainWindow::valueChanged ( QtProperty property,
const QColor &  value 
)
privateslot

◆ valueChanged [4/7]

void MainWindow::valueChanged ( QtProperty property,
const QFont &  value 
)
privateslot

◆ valueChanged [5/7]

void MainWindow::valueChanged ( QtProperty property,
const QPoint &  value 
)
privateslot

◆ valueChanged [6/7]

void MainWindow::valueChanged ( QtProperty property,
const QVariant &  value 
)
privateslot

◆ valueChanged [7/7]

void MainWindow::valueChanged ( QtProperty property,
const QSize &  value 
)
privateslot

Member Data Documentation

◆ canvas

QtCanvas * MainWindow::canvas
private

◆ canvasView

CanvasView * MainWindow::canvasView
private

Referenced by MainWindow().

◆ colorManager

class QtColorPropertyManager* MainWindow::colorManager
private

Referenced by itemClicked(), and MainWindow().

◆ currentItem

QtCanvasItem * MainWindow::currentItem
private

◆ deleteAction

QAction * MainWindow::deleteAction
private

Referenced by itemClicked(), and MainWindow().

◆ doubleManager

class QtDoublePropertyManager* MainWindow::doubleManager
private

Referenced by itemClicked(), itemMoved(), and MainWindow().

◆ fontManager

class QtFontPropertyManager* MainWindow::fontManager
private

Referenced by itemClicked(), and MainWindow().

◆ idToExpanded

QMap< QString, bool > MainWindow::idToExpanded
private

Referenced by addProperty(), and updateExpandState().

◆ idToProperty [1/2]

QMap<QString, QtVariantProperty*> MainWindow::idToProperty
private

◆ idToProperty [2/2]

QMap<QString, QtProperty*> MainWindow::idToProperty
private

Referenced by addProperty(), itemClicked(), and itemMoved().

◆ pointManager

class QtPointPropertyManager* MainWindow::pointManager
private

Referenced by itemClicked(), and MainWindow().

◆ propertyEditor

class QtTreePropertyBrowser * MainWindow::propertyEditor
private

◆ propertyToId

QMap< QtProperty *, QString > MainWindow::propertyToId
private

◆ sizeManager

class QtSizePropertyManager* MainWindow::sizeManager
private

Referenced by itemClicked(), and MainWindow().

◆ stringManager

class QtStringPropertyManager* MainWindow::stringManager
private

Referenced by itemClicked(), and MainWindow().

◆ variantManager

class QtVariantPropertyManager* MainWindow::variantManager
private

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