#include <mainwindow.h>
Inheritance diagram for MainWindow:
Collaboration diagram for MainWindow: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, const QColor &value) |
| void | valueChanged (QtProperty *property, const QFont &value) |
| void | valueChanged (QtProperty *property, const QPoint &value) |
| void | valueChanged (QtProperty *property, const QSize &value) |
| void | valueChanged (QtProperty *property, const QString &value) |
| void | valueChanged (QtProperty *property, const QVariant &value) |
| void | valueChanged (QtProperty *property, double value) |
Private Member Functions | |
| QtCanvasItem * | addEllipse () |
| QtCanvasItem * | addEllipse () |
| QtCanvasItem * | addLine () |
| QtCanvasItem * | addLine () |
| void | addProperty (QtProperty *property, const QString &id) |
| void | addProperty (QtVariantProperty *property, const QString &id) |
| QtCanvasItem * | addRectangle () |
| QtCanvasItem * | addRectangle () |
| QtCanvasItem * | addText () |
| QtCanvasItem * | addText () |
| void | updateExpandState () |
| void | updateExpandState () |
Private Attributes | |
| QtCanvas * | canvas |
| CanvasView * | canvasView |
| class QtColorPropertyManager * | colorManager |
| QtCanvasItem * | currentItem |
| QAction * | deleteAction |
| class QtDoublePropertyManager * | doubleManager |
| class QtFontPropertyManager * | fontManager |
| QMap< QString, bool > | idToExpanded |
| QMap< QString, QtVariantProperty * > | idToProperty |
| QMap< QString, QtProperty * > | idToProperty |
| class QtPointPropertyManager * | pointManager |
| class QtTreePropertyBrowser * | propertyEditor |
| QMap< QtProperty *, QString > | propertyToId |
| class QtSizePropertyManager * | sizeManager |
| class QtStringPropertyManager * | stringManager |
| class QtVariantPropertyManager * | variantManager |
| MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
References canvas, canvasView, clearAll(), colorManager, currentItem, deleteAction, deleteObject(), doubleManager, fillView(), fontManager, itemClicked(), itemMoved(), newEllipse(), newLine(), newRectangle(), newText(), pointManager, propertyEditor, QtAbstractPropertyBrowser::setFactoryForManager(), sizeManager, stringManager, QtFontPropertyManager::subBoolPropertyManager(), QtFontPropertyManager::subEnumPropertyManager(), QtPointPropertyManager::subIntPropertyManager(), QtSizePropertyManager::subIntPropertyManager(), QtFontPropertyManager::subIntPropertyManager(), QtColorPropertyManager::subIntPropertyManager(), and valueChanged().
Here is the call graph for this function:| MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
|
private |
|
private |
References canvas, QtCanvas::height(), QtCanvasItem::move(), QtCanvasPolygonalItem::setBrush(), QtCanvasItem::setZ(), QtCanvasItem::show(), and QtCanvas::width().
Referenced by fillView(), and newEllipse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
References canvas, QtCanvas::height(), QtCanvasItem::move(), QtCanvasLine::setPen(), QtCanvasLine::setPoints(), QtCanvasItem::setZ(), QtCanvasItem::show(), and QtCanvas::width().
Referenced by fillView(), and newLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References QtAbstractPropertyBrowser::addProperty(), idToExpanded, idToProperty, propertyEditor, propertyToId, and QtTreePropertyBrowser::setExpanded().
Referenced by itemClicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References QtAbstractPropertyBrowser::addProperty(), idToExpanded, idToProperty, propertyEditor, propertyToId, and QtTreePropertyBrowser::setExpanded().
Here is the call graph for this function:
|
private |
|
private |
References canvas, QtCanvas::height(), QtCanvasPolygonalItem::setBrush(), QtCanvasPolygonalItem::setPen(), QtCanvasItem::setZ(), QtCanvasItem::show(), and QtCanvas::width().
Referenced by fillView(), and newRectangle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
References canvas, QtCanvas::height(), QtCanvasItem::move(), QtCanvasText::setColor(), QtCanvasText::setText(), QtCanvasItem::setZ(), QtCanvasItem::show(), and QtCanvas::width().
Referenced by fillView(), and newText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
References QtCanvas::allItems(), canvas, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References canvas, currentItem, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addEllipse(), addLine(), addRectangle(), addText(), canvas, and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addProperty(), QtAbstractPropertyManager::addProperty(), QtCanvasPolygonalItem::brush(), canvas, QtCanvasText::color(), colorManager, currentItem, deleteAction, doubleManager, QtCanvasLine::endPoint(), QtCanvasText::font(), fontManager, QtCanvas::height(), QtCanvasEllipse::height(), idToProperty, QtCanvasPolygonalItem::pen(), pointManager, propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Ellipse, QtCanvasItem::Rtti_Line, QtCanvasItem::Rtti_Rectangle, QtCanvasItem::Rtti_Text, QtDoublePropertyManager::setRange(), QtSizePropertyManager::setRange(), QtDoublePropertyManager::setValue(), QtStringPropertyManager::setValue(), QtPointPropertyManager::setValue(), QtSizePropertyManager::setValue(), QtFontPropertyManager::setValue(), QtColorPropertyManager::setValue(), QtCanvasRectangle::size(), sizeManager, stringManager, QtCanvasText::text(), updateExpandState(), QtCanvas::width(), QtCanvasEllipse::width(), QtCanvasItem::x(), QtCanvasItem::y(), and QtCanvasItem::z().
Referenced by clearAll(), deleteObject(), MainWindow(), newEllipse(), newLine(), newRectangle(), and newText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References currentItem, doubleManager, idToProperty, QtDoublePropertyManager::setValue(), QtCanvasItem::x(), QtCanvasItem::y(), and QtCanvasItem::z().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addEllipse(), canvas, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addLine(), canvas, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addRectangle(), canvas, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
privateslot |
References addText(), canvas, itemClicked(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
private |
|
private |
References idToExpanded, QtTreePropertyBrowser::isExpanded(), QtBrowserItem::property(), propertyEditor, propertyToId, and QtAbstractPropertyBrowser::topLevelItems().
Referenced by itemClicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
References QtCanvasPolygonalItem::brush(), canvas, currentItem, QtCanvasPolygonalItem::pen(), propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Ellipse, QtCanvasItem::Rtti_Line, QtCanvasItem::Rtti_Rectangle, QtCanvasItem::Rtti_Text, QtCanvasPolygonalItem::setBrush(), QtCanvasText::setColor(), QtCanvasPolygonalItem::setPen(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References canvas, currentItem, propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Text, QtCanvasText::setFont(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References canvas, currentItem, propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Line, QtCanvasLine::setPoints(), QtCanvasLine::startPoint(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References canvas, currentItem, propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Ellipse, QtCanvasItem::Rtti_Rectangle, QtCanvasRectangle::setSize(), QtCanvasEllipse::setSize(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References canvas, currentItem, propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Text, QtCanvasText::setText(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References QtCanvasPolygonalItem::brush(), canvas, currentItem, QtCanvasPolygonalItem::pen(), propertyToId, QtCanvasItem::rtti(), QtCanvasItem::Rtti_Ellipse, QtCanvasItem::Rtti_Line, QtCanvasItem::Rtti_Rectangle, QtCanvasItem::Rtti_Text, QtCanvasPolygonalItem::setBrush(), QtCanvasText::setColor(), QtCanvasText::setFont(), QtCanvasPolygonalItem::setPen(), QtCanvasLine::setPoints(), QtCanvasRectangle::setSize(), QtCanvasEllipse::setSize(), QtCanvasText::setText(), QtCanvasItem::setX(), QtCanvasItem::setY(), QtCanvasItem::setZ(), QtCanvasLine::startPoint(), and QtCanvas::update().
Here is the call graph for this function:
|
privateslot |
References canvas, currentItem, propertyToId, QtCanvasItem::setX(), QtCanvasItem::setY(), QtCanvasItem::setZ(), and QtCanvas::update().
Referenced by MainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by addEllipse(), addLine(), addRectangle(), addText(), clearAll(), deleteObject(), fillView(), itemClicked(), MainWindow(), newEllipse(), newLine(), newRectangle(), newText(), and valueChanged().
|
private |
Referenced by MainWindow().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |
Referenced by deleteObject(), itemClicked(), itemMoved(), MainWindow(), and valueChanged().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |
Referenced by itemClicked(), itemMoved(), and MainWindow().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |
Referenced by addProperty(), and updateExpandState().
|
private |
|
private |
Referenced by addProperty(), itemClicked(), and itemMoved().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |
Referenced by addProperty(), MainWindow(), and updateExpandState().
|
private |
Referenced by addProperty(), itemClicked(), updateExpandState(), and valueChanged().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |
Referenced by itemClicked(), and MainWindow().
|
private |