#include <VisualInspection.h>
Public Member Functions | |
void | accept () |
VisualInspection (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructs a VisualInspection as a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
~VisualInspection () | |
Protected Slots | |
void | loadSettings () |
void | onActivateItem (QTreeWidgetItem *) |
void | saveSettings () |
Definition at line 34 of file VisualInspection.h.
VisualInspection::VisualInspection | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Constructs a VisualInspection as a child of 'parent', with the name 'name' and widget flags set to 'f'.
Definition at line 78 of file VisualInspection.cpp.
References InspectionGui::Ui_VisualInspection::buttonHelp, InspectionGui::Ui_VisualInspection::buttonOk, draftlibs::fcgeo::connect(), Base::Type::fromName(), App::Application::getActiveDocument(), App::GetApplication(), Gui::ViewProvider::getIcon(), Gui::getMainWindow(), App::Document::getObjects(), Gui::Document::getViewProvider(), Gui::Application::Instance, loadSettings(), Mesh2Shape::mesh, onActivateItem(), InspectionGui::Ui_VisualInspection::prefFloatSpinBox2, px, InspectionGui::SingleSelectionItem::setCompetitiveItem(), InspectionGui::Ui_VisualInspection::setupUi(), InspectionGui::Ui_VisualInspection::textLabel2, InspectionGui::Ui_VisualInspection::treeWidgetActual, and InspectionGui::Ui_VisualInspection::treeWidgetNominal.
VisualInspection::~VisualInspection | ( | ) |
Definition at line 138 of file VisualInspection.cpp.
void VisualInspection::accept | ( | void | ) |
Definition at line 188 of file VisualInspection.cpp.
References InspectionGui::Ui_VisualInspection::buttonOk, Gui::Document::commitCommand(), Gui::Document::getDocument(), Gui::Application::Instance, onActivateItem(), Gui::Document::openCommand(), InspectionGui::Ui_VisualInspection::prefFloatSpinBox1, InspectionGui::Ui_VisualInspection::prefFloatSpinBox2, App::Document::recompute(), saveSettings(), InspectionGui::Ui_VisualInspection::treeWidgetActual, and InspectionGui::Ui_VisualInspection::treeWidgetNominal.
void VisualInspection::loadSettings | ( | ) | [protected, slot] |
Definition at line 144 of file VisualInspection.cpp.
References Gui::PrefWidget::onRestore(), InspectionGui::Ui_VisualInspection::prefFloatSpinBox1, and InspectionGui::Ui_VisualInspection::prefFloatSpinBox2.
Referenced by VisualInspection().
void VisualInspection::onActivateItem | ( | QTreeWidgetItem * | item | ) | [protected, slot] |
Definition at line 156 of file VisualInspection.cpp.
References InspectionGui::Ui_VisualInspection::buttonOk, InspectionGui::SingleSelectionItem::getCompetitiveItem(), InspectionGui::Ui_VisualInspection::treeWidgetActual, and InspectionGui::Ui_VisualInspection::treeWidgetNominal.
Referenced by accept(), and VisualInspection().
void VisualInspection::saveSettings | ( | ) | [protected, slot] |
Definition at line 150 of file VisualInspection.cpp.
References Gui::PrefWidget::onSave(), InspectionGui::Ui_VisualInspection::prefFloatSpinBox1, and InspectionGui::Ui_VisualInspection::prefFloatSpinBox2.
Referenced by accept().