#include <mainwindow.h>
Inherits QMainWindow, and QMainWindow.
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::MainWindow |
( |
QWidget * |
parent = 0 | ) |
|
void MainWindow::addProperty |
( |
QtProperty * |
property, |
|
|
const QString & |
id |
|
) |
| |
|
private |
void MainWindow::clearAll |
( |
| ) |
|
|
privateslot |
void MainWindow::clearAll |
( |
| ) |
|
|
privateslot |
void MainWindow::deleteObject |
( |
| ) |
|
|
privateslot |
void MainWindow::deleteObject |
( |
| ) |
|
|
privateslot |
void MainWindow::fillView |
( |
| ) |
|
|
privateslot |
void MainWindow::fillView |
( |
| ) |
|
|
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().
void MainWindow::newEllipse |
( |
| ) |
|
|
privateslot |
void MainWindow::newEllipse |
( |
| ) |
|
|
privateslot |
void MainWindow::newLine |
( |
| ) |
|
|
privateslot |
void MainWindow::newLine |
( |
| ) |
|
|
privateslot |
void MainWindow::newRectangle |
( |
| ) |
|
|
privateslot |
void MainWindow::newRectangle |
( |
| ) |
|
|
privateslot |
void MainWindow::newText |
( |
| ) |
|
|
privateslot |
void MainWindow::newText |
( |
| ) |
|
|
privateslot |
void MainWindow::updateExpandState |
( |
| ) |
|
|
private |
void MainWindow::updateExpandState |
( |
| ) |
|
|
private |
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
double |
value |
|
) |
| |
|
privateslot |
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
const QString & |
value |
|
) |
| |
|
privateslot |
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().
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
const QFont & |
value |
|
) |
| |
|
privateslot |
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
const QPoint & |
value |
|
) |
| |
|
privateslot |
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().
void MainWindow::valueChanged |
( |
QtProperty * |
property, |
|
|
const QSize & |
value |
|
) |
| |
|
privateslot |
Referenced by addEllipse(), addLine(), addRectangle(), addText(), clearAll(), deleteObject(), fillView(), itemClicked(), MainWindow(), newEllipse(), newLine(), newRectangle(), newText(), and valueChanged().
QAction * MainWindow::deleteAction |
|
private |
QMap< QString, bool > MainWindow::idToExpanded |
|
private |
QMap<QString, QtProperty *> MainWindow::idToProperty |
|
private |
QMap< QtProperty *, QString > MainWindow::propertyToId |
|
private |
The documentation for this class was generated from the following files: