#include <mainwindow.h>
Inherits QMainWindow, and QMainWindow.
◆ MainWindow() [1/2]
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().
◆ MainWindow() [2/2]
MainWindow::MainWindow |
( |
QWidget * |
parent = 0 | ) |
|
◆ addEllipse() [1/2]
◆ addEllipse() [2/2]
◆ addLine() [1/2]
◆ addLine() [2/2]
◆ addProperty() [1/2]
◆ addProperty() [2/2]
void MainWindow::addProperty |
( |
QtProperty * |
property, |
|
|
const QString & |
id |
|
) |
| |
|
private |
◆ addRectangle() [1/2]
◆ addRectangle() [2/2]
◆ addText() [1/2]
◆ addText() [2/2]
◆ clearAll [1/2]
void MainWindow::clearAll |
( |
| ) |
|
|
privateslot |
◆ clearAll [2/2]
void MainWindow::clearAll |
( |
| ) |
|
|
privateslot |
◆ deleteObject [1/2]
void MainWindow::deleteObject |
( |
| ) |
|
|
privateslot |
◆ deleteObject [2/2]
void MainWindow::deleteObject |
( |
| ) |
|
|
privateslot |
◆ fillView [1/2]
void MainWindow::fillView |
( |
| ) |
|
|
privateslot |
◆ fillView [2/2]
void MainWindow::fillView |
( |
| ) |
|
|
privateslot |
◆ itemClicked [1/2]
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().
◆ itemClicked [2/2]
◆ itemMoved [1/2]
◆ itemMoved [2/2]
◆ newEllipse [1/2]
void MainWindow::newEllipse |
( |
| ) |
|
|
privateslot |
◆ newEllipse [2/2]
void MainWindow::newEllipse |
( |
| ) |
|
|
privateslot |
◆ newLine [1/2]
void MainWindow::newLine |
( |
| ) |
|
|
privateslot |
◆ 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 |
◆ 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 |
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().
◆ 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 |
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().
◆ valueChanged [7/7]
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
const QSize & |
value |
|
) |
| |
|
privateslot |
◆ canvas
Referenced by addEllipse(), addLine(), addRectangle(), addText(), clearAll(), deleteObject(), fillView(), itemClicked(), MainWindow(), newEllipse(), newLine(), newRectangle(), newText(), and valueChanged().
◆ canvasView
◆ colorManager
◆ currentItem
◆ deleteAction
QAction * MainWindow::deleteAction |
|
private |
◆ doubleManager
◆ fontManager
◆ idToExpanded
QMap< QString, bool > MainWindow::idToExpanded |
|
private |
◆ idToProperty [1/2]
◆ idToProperty [2/2]
QMap<QString, QtProperty*> MainWindow::idToProperty |
|
private |
◆ pointManager
◆ propertyEditor
◆ propertyToId
QMap< QtProperty *, QString > MainWindow::propertyToId |
|
private |
◆ sizeManager
◆ stringManager
◆ variantManager
The documentation for this class was generated from the following files: