Gui::ElementColors::Private Class Reference

Public Types

typedef boost::signals2::connection Connection
 

Public Member Functions

void accept ()
 
void addItem (int i, const char *sub, bool push=false)
 
bool allow (App::Document *doc, App::DocumentObject *obj, const char *subname)
 
void apply ()
 
void editItem (QWidget *parent, QListWidgetItem *item)
 
void onSelectionChanged ()
 
void onSelectionChanged (const SelectionChanges &msg)
 
void populate ()
 
 Private (ViewProviderDocumentObject *vp, const char *element="")
 
void removeAll ()
 
void removeItems ()
 
void reset ()
 
 ~Private ()
 
- Public Member Functions inherited from Gui::SelectionGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)=0
 
virtual ~SelectionGate ()
 

Public Attributes

bool busy
 
Connection connectDelDoc
 
Connection connectDelObj
 
std::string editDoc
 
std::string editElement
 
std::string editObj
 
std::string editSub
 
std::map< std::string, QListWidgetItem * > elements
 
std::string hiddenSub
 
std::vector< QListWidgetItem * > items
 
long onTopMode
 
QPixmap px
 
bool touched
 
std::unique_ptr< Ui_TaskElementColorsui
 
ViewProviderDocumentObjectvp
 
DocumentvpDoc
 
ViewProviderDocumentObjectvpParent
 
- Public Attributes inherited from Gui::SelectionGate
std::string notAllowedReason
 notAllowedReason is a string that sets the message to be displayed in statusbar for cluing the user on why is the selection not allowed. More...
 

Member Typedef Documentation

◆ Connection

typedef boost::signals2::connection Gui::ElementColors::Private::Connection

Constructor & Destructor Documentation

◆ Private()

◆ ~Private()

Gui::ElementColors::Private::~Private ( )

Member Function Documentation

◆ accept()

◆ addItem()

void Gui::ElementColors::Private::addItem ( int  i,
const char *  sub,
bool  push = false 
)

◆ allow()

bool Gui::ElementColors::Private::allow ( App::Document doc,
App::DocumentObject obj,
const char *  subname 
)
virtual

Implements Gui::SelectionGate.

◆ apply()

◆ editItem()

◆ onSelectionChanged() [1/2]

◆ onSelectionChanged() [2/2]

void Gui::ElementColors::Private::onSelectionChanged ( const SelectionChanges msg)

◆ populate()

void Gui::ElementColors::Private::populate ( )

◆ removeAll()

void Gui::ElementColors::Private::removeAll ( )

◆ removeItems()

void Gui::ElementColors::Private::removeItems ( )

◆ reset()

Member Data Documentation

◆ busy

◆ connectDelDoc

Connection Gui::ElementColors::Private::connectDelDoc

◆ connectDelObj

Connection Gui::ElementColors::Private::connectDelObj

◆ editDoc

std::string Gui::ElementColors::Private::editDoc

◆ editElement

std::string Gui::ElementColors::Private::editElement

◆ editObj

std::string Gui::ElementColors::Private::editObj

◆ editSub

std::string Gui::ElementColors::Private::editSub

◆ elements

◆ hiddenSub

std::string Gui::ElementColors::Private::hiddenSub

◆ items

◆ onTopMode

long Gui::ElementColors::Private::onTopMode

◆ px

QPixmap Gui::ElementColors::Private::px

◆ touched

bool Gui::ElementColors::Private::touched

◆ ui

std::unique_ptr<Ui_TaskElementColors> Gui::ElementColors::Private::ui

Referenced by draftguitools.gui_beziers.BezCurve::action(), draftguitools.gui_dimensions.Dimension::action(), draftguitools.gui_ellipses.Ellipse::action(), draftguitools.gui_labels.Label::action(), draftguitools.gui_lines.Line::action(), draftguitools.gui_mirror.Mirror::action(), draftguitools.gui_offset.Offset::action(), draftguitools.gui_rectangles.Rectangle::action(), draftguitools.gui_shapestrings.ShapeString::action(), draftguitools.gui_splines.BSpline::action(), draftguitools.gui_texts.Text::action(), draftguitools.gui_arcs.Arc::Activated(), draftguitools.gui_circulararray.CircularArray::Activated(), draftguitools.gui_clone.Clone::Activated(), draftguitools.gui_downgrade.Downgrade::Activated(), draftguitools.gui_draft2sketch.Draft2Sketch::Activated(), draftguitools.gui_ellipses.Ellipse::Activated(), draftguitools.gui_facebinders.Facebinder::Activated(), draftguitools.gui_join.Join::Activated(), draftguitools.gui_move.Move::Activated(), draftguitools.gui_orthoarray.OrthoArray::Activated(), draftguitools.gui_polararray.PolarArray::Activated(), draftguitools.gui_polygons.Polygon::Activated(), draftguitools.gui_rectangles.Rectangle::Activated(), draftguitools.gui_rotate.Rotate::Activated(), draftguitools.gui_scale.Scale::Activated(), draftguitools.gui_shape2dview.Shape2DView::Activated(), draftguitools.gui_shapestrings.ShapeString::Activated(), draftguitools.gui_split.Split::Activated(), draftguitools.gui_styles.ApplyStyle::Activated(), draftguitools.gui_texts.Text::Activated(), draftguitools.gui_upgrade.Upgrade::Activated(), draftguitools.gui_array_simple.Array::Activated(), draftguitools.gui_fillets.Fillet::Activated(), draftguitools.gui_stretch.Stretch::addPoint(), draftguitools.gui_ellipses.Ellipse::appendPoint(), draftguitools.gui_rectangles.Rectangle::appendPoint(), package_details.PackageDetails::branch_changed(), Gui::ElementColors::changeEvent(), DraftGui.DraftToolBar::changeEvent(), draftguitools.gui_circulararray.CircularArray::click(), draftguitools.gui_orthoarray.OrthoArray::click(), draftguitools.gui_polararray.PolarArray::click(), draftguitools.gui_dimensions.Dimension::createObject(), package_details.PackageDetails::disable_clicked(), package_details.PackageDetails::display_repo_status(), draftguitools.gui_polygons.Polygon::drawPolygon(), Gui::ElementColors::ElementColors(), package_details.PackageDetails::enable_clicked(), draftguitools.gui_edit.Edit::endEditing(), change_branch.ChangeBranchDialog::exec(), draftguitools.gui_base_original.DraftTool::finish(), draftguitools.gui_fillets.Fillet::finish(), draftguitools.gui_dimensions.Dimension::finish(), draftguitools.gui_edit.Edit::finish(), draftguitools.gui_trimex.Trimex::finish(), draftguitools.gui_arcs.Arc::finish(), draftguitools.gui_beziers.BezCurve::finish(), draftguitools.gui_beziers.CubicBezCurve::finish(), draftguitools.gui_ellipses.Ellipse::finish(), draftguitools.gui_lines.Line::finish(), draftguitools.gui_mirror.Mirror::finish(), draftguitools.gui_move.Move::finish(), draftguitools.gui_polygons.Polygon::finish(), draftguitools.gui_rectangles.Rectangle::finish(), draftguitools.gui_rotate.Rotate::finish(), draftguitools.gui_splines.BSpline::finish(), draftguitools.gui_texts.Text::finish(), draftguitools.gui_points.Point::finish(), draftguitools.gui_shapestrings.ShapeString::finish(), draftguitools.gui_move.Move::get_object_selection(), draftguitools.gui_rotate.Rotate::get_object_selection(), draftguitools.gui_scale.Scale::get_object_selection(), draftguitools.gui_subelements.SubelementHighlight::get_selection(), draftguitools.gui_base_original.DraftTool::getStrings(), draftguitools.gui_move.Move::handle_mouse_click_event(), package_details.PackageDetails::load_finished(), package_details.PackageDetails::load_progress(), package_details.PackageDetails::load_started(), package_details.PackageDetails::long_load_running(), package_details.PackageDetails::macro_readme_updated(), draftguitools.gui_circulararray.CircularArray::move(), draftguitools.gui_points.Point::move(), draftguitools.gui_polararray.PolarArray::move(), draftguitools.gui_move.Move::move(), draftguitools.gui_arcs.Arc::numericInput(), draftguitools.gui_polygons.Polygon::numericInput(), draftguitools.gui_rotate.Rotate::numericInput(), draftguitools.gui_shapestrings.ShapeString::numericInput(), draftguitools.gui_arcs.Arc::numericRadius(), draftguitools.gui_offset.Offset::numericRadius(), draftguitools.gui_rotate.Rotate::numericRadius(), draftguitools.gui_edit.Edit::proceed(), draftguitools.gui_groups.AddToGroup::proceed(), draftguitools.gui_groups.SetAutoGroup::proceed(), draftguitools.gui_rotate.Rotate::rotate(), package_details.PackageDetails::run_javascript(), draftguitools.gui_fillets.Fillet::set_chamfer(), package_details.PackageDetails::set_change_branch_button_state(), draftguitools.gui_fillets.Fillet::set_delete(), package_details.PackageDetails::set_disable_button_state(), draftguitools.gui_move.Move::set_ghosts(), draftguitools.gui_rotate.Rotate::set_ghosts(), draftguitools.gui_rotate.Rotate::set_start_point(), package_list.PackageList::set_view_style(), package_details.PackageDetails::show_error_for(), package_details.PackageDetails::show_package(), package_details.PackageDetails::show_repo(), package_details.PackageDetails::show_workbench(), draftguitools.gui_edit.Edit::startEditing(), package_list.PackageList::update_text_filter(), and draftguitools.gui_edit.Edit::updateTrackerAndGhost().

◆ vp

◆ vpDoc

Document* Gui::ElementColors::Private::vpDoc

◆ vpParent

ViewProviderDocumentObject* Gui::ElementColors::Private::vpParent

The documentation for this class was generated from the following file: