PartGui::OffsetWidget Class Reference
#include <TaskOffset.h>
Classes | |
class | Private |
Public Member Functions | |
bool | accept () |
Part::Offset * | getObject () const |
OffsetWidget (Part::Offset *, QWidget *parent=0) | |
bool | reject () |
~OffsetWidget () | |
Constructor & Destructor Documentation
◆ OffsetWidget()
OffsetWidget::OffsetWidget | ( | Part::Offset * | offset, |
QWidget * | parent = 0 |
||
) |
◆ ~OffsetWidget()
OffsetWidget::~OffsetWidget | ( | ) |
Member Function Documentation
◆ accept()
bool OffsetWidget::accept | ( | ) |
References Gui::cmdAppObjectArgs(), Gui::Command::commitCommand(), Gui::Command::Doc, App::DocumentObject::getStatusString(), Gui::Command::Gui, App::DocumentObject::isValid(), PartGui::OffsetWidget::Private::offset, and PartGui::OffsetWidget::Private::ui.
Referenced by PartGui::TaskOffset::accept().
◆ getObject()
Part::Offset * OffsetWidget::getObject | ( | ) | const |
References PartGui::OffsetWidget::Private::offset.
Referenced by PartGui::TaskOffset::getObject().
◆ reject()
bool OffsetWidget::reject | ( | ) |
References Gui::Command::abortCommand(), App::PropertyLink::getValue(), Gui::Application::getViewProvider(), Gui::Command::Gui, Gui::Application::Instance, PartGui::OffsetWidget::Private::offset, Gui::ViewProvider::show(), Part::Offset::Source, and Gui::Command::updateActive().
Referenced by PartGui::TaskOffset::reject().
The documentation for this class was generated from the following files:
- src/Mod/Part/Gui/TaskOffset.h
- src/Mod/Part/Gui/TaskOffset.cpp