Data Structures | |
class | GridAxisTab |
Widget defining the grid in one direction. More... | |
class | LineDelegate |
Enumerations | |
enum | { COORD_BUT = 0, SPACING_BUT } |
Functions | |
void | getFromItem (QTreeWidgetItem *item, double &t0, double &t1, QString &fun) |
get spacing definition from a tree item More... | |
QTreeWidgetItem * | setToItem (double t0, double t1, const QString &fun, QTreeWidgetItem *item) |
set spacing definition to a tree item More... | |
double | coordFromItem (QListWidgetItem *item) |
Retrieves coordinate value from a list item. More... | |
QListWidgetItem * | coordToItem (double coord, QListWidgetItem *item) |
Sets coordinate value to a list item. More... | |
double StdMeshersGUI::coordFromItem | ( | QListWidgetItem * | item | ) |
Retrieves coordinate value from a list item.
Referenced by StdMeshersGUI::LineDelegate::createEditor(), StdMeshersGUI::GridAxisTab::getCoordinates(), StdMeshersGUI::GridAxisTab::onInsert(), and StdMeshersGUI::GridAxisTab::onMode().
QListWidgetItem * StdMeshersGUI::coordToItem | ( | double | coord, |
QListWidgetItem * | item | ||
) |
Sets coordinate value to a list item.
Referenced by StdMeshersGUI::GridAxisTab::onInsert(), StdMeshersGUI::GridAxisTab::onMode(), StdMeshersGUI::GridAxisTab::setCoordinates(), and StdMeshersGUI::LineDelegate::setModelData().
void StdMeshersGUI::getFromItem | ( | QTreeWidgetItem * | item, |
double & | t0, | ||
double & | t1, | ||
QString & | fun | ||
) |
get spacing definition from a tree item
Referenced by StdMeshersGUI::GridAxisTab::getSpacing(), StdMeshersGUI::GridAxisTab::onDelete(), StdMeshersGUI::GridAxisTab::onInsert(), StdMeshersGUI::LineDelegate::setEditorData(), and StdMeshersGUI::LineDelegate::setModelData().
QTreeWidgetItem * StdMeshersGUI::setToItem | ( | double | t0, |
double | t1, | ||
const QString & | fun, | ||
QTreeWidgetItem * | item | ||
) |
set spacing definition to a tree item
Referenced by StdMeshersGUI::GridAxisTab::onDelete(), StdMeshersGUI::GridAxisTab::onInsert(), StdMeshersGUI::GridAxisTab::onMode(), StdMeshersGUI::LineDelegate::setModelData(), and StdMeshersGUI::GridAxisTab::setSpacing().