#include <RectangleWidget.h>
Public Slots | |
| void | closedLinkedLayer (QObject *) |
Public Member Functions | |
| void | clone (RectangleWidget *t) |
| RectangleWidget (Graph *) | |
| virtual QString | saveToString () |
| void | setLinkedLayer (int layerIndex) |
| void | updateCoordinates () |
Static Public Member Functions | |
| static void | restore (Graph *g, const QStringList &lst) |
Private Attributes | |
| int | d_linked_layer |
| Index of the linked layer using the rectangle coordinates as a zoom region. | |
| RectangleWidget::RectangleWidget | ( | Graph * | plot | ) |
References FrameWidget::Line, FrameWidget::setFrameStyle(), and FrameWidget::setSize().
Referenced by restore().
| void RectangleWidget::clone | ( | RectangleWidget * | t | ) |
References FrameWidget::backgroundColor(), FrameWidget::bottom(), FrameWidget::brush(), FrameWidget::d_frame, FrameWidget::framePen(), FrameWidget::frameStyle(), FrameWidget::right(), FrameWidget::setBackgroundColor(), FrameWidget::setBrush(), FrameWidget::setCoordinates(), FrameWidget::setFramePen(), FrameWidget::xValue(), and FrameWidget::yValue().
| void RectangleWidget::closedLinkedLayer | ( | QObject * | ) | [slot] |
References d_linked_layer.
Referenced by setLinkedLayer().
| void RectangleWidget::restore | ( | Graph * | g, | |
| const QStringList & | lst | |||
| ) | [static] |
References Graph::add(), FrameWidget::backgroundColor(), FrameWidget::bottom(), FrameWidget::brush(), PatternBox::brushStyle(), PenStyleBox::penStyle(), RectangleWidget(), FrameWidget::right(), FrameWidget::setAttachPolicy(), FrameWidget::setBackgroundColor(), FrameWidget::setBrush(), FrameWidget::setCoordinates(), FrameWidget::setFrameColor(), FrameWidget::setFrameLineStyle(), FrameWidget::setFrameStyle(), FrameWidget::setFrameWidth(), setLinkedLayer(), and FrameWidget::setOnTop().
Referenced by ApplicationWindow::openGraph().
| QString RectangleWidget::saveToString | ( | ) | [virtual] |
Reimplemented from FrameWidget.
References FrameWidget::backgroundColor(), FrameWidget::d_brush, d_linked_layer, and PatternBox::patternIndex().
| void RectangleWidget::setLinkedLayer | ( | int | layerIndex | ) |
References FrameWidget::changedCoordinates(), closedLinkedLayer(), d_linked_layer, MultiLayer::layer(), Graph::multiLayer(), and FrameWidget::plot().
Referenced by restore(), updateCoordinates(), and ApplicationWindow::zoomRectanglePlot().
| void RectangleWidget::updateCoordinates | ( | ) | [virtual] |
Reimplemented from FrameWidget.
References FrameWidget::boundingRect(), FrameWidget::changedCoordinates(), d_linked_layer, and setLinkedLayer().
int RectangleWidget::d_linked_layer [private] |
Index of the linked layer using the rectangle coordinates as a zoom region.
Referenced by closedLinkedLayer(), saveToString(), setLinkedLayer(), and updateCoordinates().
1.7.1