SurfaceGui::SectionsPanel Class Reference

#include <TaskSections.h>

Classes

class  ShapeSelection
 

Public Member Functions

bool accept ()
 
void checkOpenCommand ()
 
void open ()
 
bool reject ()
 
 SectionsPanel (ViewProviderSections *vp, Surface::Sections *obj)
 
void setEditedObject (Surface::Sections *obj)
 
 ~SectionsPanel ()
 
- Public Member Functions inherited from Gui::SelectionObserver
void attachSelection ()
 Attaches to the selection. More...
 
bool blockSelection (bool block)
 
void detachSelection ()
 Detaches from the selection. More...
 
bool isSelectionAttached () const
 
bool isSelectionBlocked () const
 
 SelectionObserver (bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement)
 Constructor. More...
 
 SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement)
 Constructor. More...
 
virtual ~SelectionObserver ()
 
- Public Member Functions inherited from Gui::DocumentObserver
void attachDocument (Document *)
 Attaches to another document, the old document is not longer observed then. More...
 
void detachDocument ()
 Detaches from the current document, the document is not longer observed then. More...
 
 DocumentObserver ()
 Constructor. More...
 
 DocumentObserver (Document *)
 
virtual ~DocumentObserver ()
 

Protected Types

enum  SelectionMode { }
 

Protected Member Functions

void changeEvent (QEvent *e)
 
virtual void onSelectionChanged (const Gui::SelectionChanges &msg)
 
virtual void slotDeletedObject (const Gui::ViewProviderDocumentObject &Obj)
 Notifies when the object is about to be removed. More...
 
virtual void slotRedoDocument (const Gui::Document &Doc)
 Notifies on redo. More...
 
virtual void slotUndoDocument (const Gui::Document &Doc)
 Notifies on undo. More...
 

Protected Attributes

bool checkCommand
 
Surface::SectionseditedObject
 
SelectionMode selectionMode
 

Member Enumeration Documentation

◆ SelectionMode

Enumerator
AppendEdge 
RemoveEdge 

Constructor & Destructor Documentation

◆ SectionsPanel()

SurfaceGui::SectionsPanel::SectionsPanel ( ViewProviderSections vp,
Surface::Sections obj 
)

◆ ~SectionsPanel()

SurfaceGui::SectionsPanel::~SectionsPanel ( )

Member Function Documentation

◆ accept()

◆ changeEvent()

void SurfaceGui::SectionsPanel::changeEvent ( QEvent e)
protected

◆ checkOpenCommand()

◆ onSelectionChanged()

◆ open()

◆ reject()

◆ setEditedObject()

◆ slotDeletedObject()

void SurfaceGui::SectionsPanel::slotDeletedObject ( const Gui::ViewProviderDocumentObject Obj)
protectedvirtual

◆ slotRedoDocument()

void SurfaceGui::SectionsPanel::slotRedoDocument ( const Gui::Document Doc)
protectedvirtual

Notifies on redo.

Reimplemented from Gui::DocumentObserver.

References checkCommand.

◆ slotUndoDocument()

void SurfaceGui::SectionsPanel::slotUndoDocument ( const Gui::Document Doc)
protectedvirtual

Notifies on undo.

Reimplemented from Gui::DocumentObserver.

References checkCommand.

Member Data Documentation

◆ checkCommand

bool SurfaceGui::SectionsPanel::checkCommand
protected

◆ editedObject

Surface::Sections* SurfaceGui::SectionsPanel::editedObject
protected

◆ selectionMode


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