casa
$Rev:20696$
|
Specialized widget for creating a new polygon. More...
#include <QtNewRegionShape.qo.h>
Public Slots | |
void | apply () |
Applies the entered values to the RSPolygon. | |
Public Member Functions | |
QtNewRSPolygon (RSPolygon *poly, QtRegionShapeManager *manager) | |
Constructor which takes the polygon to modify. | |
~QtNewRSPolygon () | |
Destructor. | |
bool | enteredCoordinatesAreValid (String &reason) const |
See QtEditRegionShape::enteredCoordinatesAreValid. | |
Private Slots | |
void | addCoordinates () |
Add the values entered in the line edits to the coord list. | |
void | listMoveUp () |
Moves the selected coordinate up in the list. | |
void | listMoveDown () |
Moves the selected coordinate down in the list. | |
void | listDelete () |
Deletes the selected coordinate in the list. | |
Private Attributes | |
RSPolygon * | m_polygon |
QtEditRegionShape * | m_editor |
QListWidget * | m_coordList |
QFrame * | m_coordFrame |
vector< pair< QString, QString > > | m_enteredCoords |
QLineEdit * | m_coordXEdit |
QLineEdit * | m_coordYEdit |
Specialized widget for creating a new polygon.
Definition at line 129 of file QtNewRegionShape.qo.h.
casa::QtNewRSPolygon::QtNewRSPolygon | ( | RSPolygon * | poly, |
QtRegionShapeManager * | manager | ||
) |
Constructor which takes the polygon to modify.
Destructor.
void casa::QtNewRSPolygon::addCoordinates | ( | ) | [private, slot] |
Add the values entered in the line edits to the coord list.
void casa::QtNewRSPolygon::apply | ( | ) | [slot] |
Applies the entered values to the RSPolygon.
bool casa::QtNewRSPolygon::enteredCoordinatesAreValid | ( | String & | reason | ) | const |
void casa::QtNewRSPolygon::listDelete | ( | ) | [private, slot] |
Deletes the selected coordinate in the list.
void casa::QtNewRSPolygon::listMoveDown | ( | ) | [private, slot] |
Moves the selected coordinate down in the list.
void casa::QtNewRSPolygon::listMoveUp | ( | ) | [private, slot] |
Moves the selected coordinate up in the list.
QFrame* casa::QtNewRSPolygon::m_coordFrame [private] |
Definition at line 150 of file QtNewRegionShape.qo.h.
QListWidget* casa::QtNewRSPolygon::m_coordList [private] |
Definition at line 149 of file QtNewRegionShape.qo.h.
QLineEdit* casa::QtNewRSPolygon::m_coordXEdit [private] |
Definition at line 152 of file QtNewRegionShape.qo.h.
QLineEdit * casa::QtNewRSPolygon::m_coordYEdit [private] |
Definition at line 152 of file QtNewRegionShape.qo.h.
QtEditRegionShape* casa::QtNewRSPolygon::m_editor [private] |
Definition at line 148 of file QtNewRegionShape.qo.h.
vector<pair<QString, QString> > casa::QtNewRSPolygon::m_enteredCoords [private] |
Definition at line 151 of file QtNewRegionShape.qo.h.
RSPolygon* casa::QtNewRSPolygon::m_polygon [private] |
Definition at line 147 of file QtNewRegionShape.qo.h.