|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
43 #include <QtGui/QMainWindow>
44 #include <QtCore/QMap>
Definition: canvas_typed/qtcanvas.h:702
QtProperty * addProperty(const QString &name=QString())
Definition: qtpropertybrowser.cpp:748
class QtColorPropertyManager * colorManager
Definition: canvas_typed/mainwindow.h:104
class QtVariantPropertyManager * variantManager
Definition: canvas_variant/mainwindow.h:101
void setX(double a)
Definition: canvas_typed/qtcanvas.h:84
int width() const
Definition: canvas_typed/qtcanvas.cpp:4262
int height() const
Definition: canvas_typed/qtcanvas.cpp:4269
class QtDoublePropertyManager * doubleManager
Definition: canvas_typed/mainwindow.h:102
The QtPointPropertyManager provides and manages QPoint properties.
Definition: qtpropertymanager.h:424
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
The description of this class will come soon !
Definition: qttreepropertybrowser.h:60
void addProperty(QtProperty *property, const QString &id)
Definition: canvas_typed/mainwindow.cpp:372
int width() const
Definition: canvas_typed/qtcanvas.h:250
QtCanvasItem * addRectangle()
Definition: canvas_typed/mainwindow.cpp:220
void show()
Definition: canvas_typed/qtcanvas.cpp:1816
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:3328
QList< QtCanvasItem * > QtCanvasItemList
Definition: canvas_typed/qtcanvas.h:60
void clearAll()
Definition: canvas_typed/mainwindow.cpp:203
QMap< QtProperty *, QString > propertyToId
Definition: canvas_typed/mainwindow.h:113
void setValue(QtProperty *property, const QSize &val)
Definition: qtpropertymanager.cpp:3386
@ Rtti_Text
Definition: canvas_typed/qtcanvas.h:152
const QMatrix & inverseWorldMatrix() const
Definition: canvas_typed/qtcanvas.cpp:3251
void updateExpandState()
Definition: canvas_typed/mainwindow.cpp:271
QtCanvas * canvas
Definition: canvas_typed/mainwindow.h:111
QMap< QString, QtProperty * > idToProperty
Definition: canvas_typed/mainwindow.h:114
QFont font() const
Definition: canvas_typed/qtcanvas.cpp:4469
QtCanvasItem * addLine()
Definition: canvas_typed/mainwindow.cpp:240
void setColor(const QColor &)
Definition: canvas_typed/qtcanvas.cpp:4501
#define CAMITK_INFO(MSG)
Log for info verbosity (the second most verbose one) The msg will appear only if the user asked for I...
Definition: Log.h:261
double y() const
Definition: canvas_typed/qtcanvas.h:75
The QtStringPropertyManager provides and manages QString properties.
Definition: qtpropertymanager.h:207
void setSize(int w, int h)
Definition: canvas_typed/qtcanvas.cpp:4132
QtBrowserItem * addProperty(QtProperty *property)
Definition: qtpropertybrowser.cpp:1771
The QtBrowserItem class represents a property in a property browser instance.
Definition: qtpropertybrowser.h:286
The QtVariantPropertyManager class provides and manages QVariant based properties.
Definition: qtvariantproperty.h:119
The QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePr...
Definition: qteditorfactory.h:167
QtBoolPropertyManager * subBoolPropertyManager() const
Definition: qtpropertymanager.cpp:6252
QtCanvas * canvas() const
Definition: canvas_typed/qtcanvas.h:374
@ Rtti_Line
Definition: canvas_typed/qtcanvas.h:156
The QtProperty class encapsulates an instance of a property.
Definition: qtpropertybrowser.h:113
void setExpanded(QtBrowserItem *item, bool expanded)
Definition: qttreepropertybrowser.cpp:888
QtCanvasItemList allItems()
Definition: canvas_typed/qtcanvas.cpp:598
void contentsMousePressEvent(QMouseEvent *event)
Definition: canvas_typed/mainwindow.cpp:51
double x() const
Definition: canvas_typed/qtcanvas.h:72
void itemMoved(QtCanvasItem *item)
bool setEmbedder(QLayout *)
If the viewer type is EMBEDDED, embed the viewer widget in the given layout (do nothing if the type i...
Definition: Viewer.cpp:181
void valueChanged(QtProperty *property, double value)
Definition: canvas_typed/mainwindow.cpp:381
void setZ(double a)
Definition: canvas_typed/qtcanvas.h:90
void newText()
Definition: canvas_typed/mainwindow.cpp:187
void itemMoved(QtCanvasItem *item)
Definition: canvas_typed/mainwindow.cpp:261
QtEnumPropertyManager * subEnumPropertyManager() const
Definition: qtpropertymanager.cpp:6238
The QtFontPropertyManager provides and manages QFont properties.
Definition: qtpropertymanager.h:784
virtual QtVariantProperty * addProperty(int propertyType, const QString &name=QString())
Definition: qtvariantproperty.cpp:1321
void itemClicked(QtCanvasItem *item)
Definition: canvas_typed/mainwindow.cpp:281
class QtPointPropertyManager * pointManager
Definition: canvas_typed/mainwindow.h:106
class QtSizePropertyManager * sizeManager
Definition: canvas_typed/mainwindow.h:107
The QtSizePropertyManager provides and manages QSize properties.
Definition: qtpropertymanager.h:491
void setFactoryForManager(PropertyManager *manager, QtAbstractEditorFactory< PropertyManager > *factory)
Definition: qtpropertybrowser.h:315
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:2795
The QtVariantProperty class is a convenience class handling QVariant based properties.
Definition: qtvariantproperty.h:97
QSize size() const
Definition: canvas_typed/qtcanvas.h:636
Definition: canvas_typed/qtcanvas.h:572
QBrush brush() const
Definition: canvas_typed/qtcanvas.h:585
The description of this class will come soon !
Definition: qteditorfactory.h:61
@ Rtti_Ellipse
Definition: canvas_typed/qtcanvas.h:155
double z() const
Definition: canvas_typed/qtcanvas.h:78
void handleMouseClickEvent(QMouseEvent *event)
Definition: canvas_typed/mainwindow.cpp:59
void newEllipse()
Definition: canvas_typed/mainwindow.cpp:175
Definition: canvas_typed/mainwindow.h:69
int height() const
Definition: canvas_typed/qtcanvas.h:253
QAction * deleteAction
Definition: canvas_typed/mainwindow.h:100
Definition: canvas_typed/qtcanvas.h:625
void setY(double a)
Definition: canvas_typed/qtcanvas.h:87
void setSize(int w, int h)
Definition: canvas_typed/qtcanvas.cpp:4276
virtual void setValue(QtProperty *property, const QVariant &val)
Definition: qtvariantproperty.cpp:1654
Definition: canvas_typed/qtcanvas.h:67
virtual void moveBy(double dx, double dy)
Definition: canvas_typed/qtcanvas.cpp:1669
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:6589
The QtDoublePropertyManager provides and manages double properties.
Definition: qtpropertymanager.h:164
QtProperty * property() const
Definition: qtpropertybrowser.cpp:1132
void setText(const QString &)
Definition: canvas_typed/qtcanvas.cpp:4455
void contentsMouseDoubleClickEvent(QMouseEvent *event)
Definition: canvas_typed/mainwindow.cpp:55
class QtStringPropertyManager * stringManager
Definition: canvas_typed/mainwindow.h:103
QtCanvasItem * moving
Definition: canvas_typed/mainwindow.h:66
MainWindow(QString title)
Constructor, the window title can be changed here, it is inconsistent to use setWindowTitle().
Definition: MainWindow.cpp:75
void fillView()
Definition: canvas_typed/mainwindow.cpp:210
void move(double x, double y)
Definition: canvas_typed/qtcanvas.cpp:1682
CanvasView(QWidget *parent=0)
Definition: canvas_typed/mainwindow.h:52
bool isExpanded(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:901
The QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyMana...
Definition: qteditorfactory.h:195
QPoint startPoint() const
Definition: canvas_typed/qtcanvas.h:708
CanvasView * canvasView
Definition: canvas_typed/mainwindow.h:110
void itemClicked(QtCanvasItem *item)
void setValue(QtProperty *property, const QFont &val)
Definition: qtpropertymanager.cpp:6301
The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager ...
Definition: qtvariantproperty.h:212
void setPoints(int x1, int y1, int x2, int y2)
Definition: canvas_typed/qtcanvas.cpp:3982
Definition: canvas_typed/mainwindow.h:49
QtCanvasItem * addEllipse()
Definition: canvas_typed/mainwindow.cpp:231
QPoint endPoint() const
Definition: canvas_typed/qtcanvas.h:711
QMap< QString, bool > idToExpanded
Definition: canvas_typed/mainwindow.h:115
MainWindow(QWidget *parent=0)
Definition: canvas_typed/mainwindow.cpp:81
void setValue(QtProperty *property, double val)
Definition: qtpropertymanager.cpp:1133
QtCanvasItem * currentItem
Definition: canvas_typed/mainwindow.h:112
Definition: canvas_typed/qtcanvas.h:213
void deleteObject()
Definition: canvas_typed/mainwindow.cpp:193
void setValue(const QVariant &value)
Definition: qtvariantproperty.cpp:263
This class is the base class for your application. It sets up the main window and creates a menubar,...
Definition: MainWindow.h:89
CanvasView(QtCanvas *canvas, QWidget *parent=0)
Definition: canvas_typed/mainwindow.h:54
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
class QtFontPropertyManager * fontManager
Definition: canvas_typed/mainwindow.h:105
virtual int rtti() const
Definition: canvas_typed/qtcanvas.cpp:4604
void setValue(QtProperty *property, const QString &val)
Definition: qtpropertymanager.cpp:1454
class QtTreePropertyBrowser * propertyEditor
Definition: canvas_typed/mainwindow.h:109
void setRange(QtProperty *property, double minVal, double maxVal)
Definition: qtpropertymanager.cpp:1278
void setValue(QtProperty *property, const QPoint &val)
Definition: qtpropertymanager.cpp:2832
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:6225
The QtCheckBoxFactory class provides QCheckBox widgets for properties created by QtBoolPropertyManage...
Definition: qteditorfactory.h:142
QPen pen() const
Definition: canvas_typed/qtcanvas.h:582
void contentsMouseMoveEvent(QMouseEvent *event)
Definition: canvas_typed/mainwindow.cpp:70
void setRange(QtProperty *property, const QSize &minVal, const QSize &maxVal)
Definition: qtpropertymanager.cpp:3447
Definition: canvas_typed/qtcanvas.h:365
void setAttribute(const QString &attribute, const QVariant &value)
Definition: qtvariantproperty.cpp:276
QtCanvasItem * addText()
Definition: canvas_typed/mainwindow.cpp:251
void refresh()
refresh the display
void newLine()
Definition: canvas_typed/mainwindow.cpp:181
Definition: canvas_typed/qtcanvas.h:730
void setFont(const QFont &)
Definition: canvas_typed/qtcanvas.cpp:4478
QString text() const
Definition: canvas_typed/qtcanvas.cpp:4445
virtual void update()
Definition: canvas_typed/qtcanvas.cpp:960
@ Rtti_Rectangle
Definition: canvas_typed/qtcanvas.h:154
void setPen(QPen p)
Definition: canvas_typed/qtcanvas.cpp:3958
void newRectangle()
Definition: canvas_typed/mainwindow.cpp:169
QPoint moving_start
Definition: canvas_typed/mainwindow.h:65
Definition: canvas_typed/qtcanvas.h:773
virtual void setPen(QPen p)
Definition: canvas_typed/qtcanvas.cpp:3694
QColor color() const
Definition: canvas_typed/qtcanvas.cpp:4492
The QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyMana...
Definition: qteditorfactory.h:349
void setValue(QtProperty *property, const QColor &val)
Definition: qtpropertymanager.cpp:6638
QList< QtBrowserItem * > topLevelItems() const
Definition: qtpropertybrowser.cpp:1739
virtual void setBrush(QBrush b)
Definition: canvas_typed/qtcanvas.cpp:3707
Definition: Action.cpp:35
The QtColorPropertyManager provides and manages QColor properties.
Definition: qtpropertymanager.h:823
QtCanvasItemList collisions(const QPoint &) const
Definition: canvas_typed/qtcanvas.cpp:2294