#include <DlgPropertyLink.h>

Public Member Functions

void accept ()
 
QList< App::SubObjectTcurrentLinks () const
 
 DlgPropertyLink (QWidget *parent=0)
 
void init (const App::DocumentObjectT &prop, bool tryFilter=true)
 
QList< App::SubObjectToriginalLinks () const
 
 ~DlgPropertyLink ()
 Destroys the object and frees any allocated resources. More...
 
- Public Member Functions inherited from Gui::SelectionObserver
void attachSelection ()
 Attaches to the selection. More...
 
bool blockConnection (bool block)
 
void detachSelection ()
 Detaches from the selection. More...
 
bool isConnectionAttached () const
 
bool isConnectionBlocked () const
 
 SelectionObserver (bool attach=true, int resolve=1)
 Constructor. More...
 
 SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1)
 Constructor. More...
 
virtual ~SelectionObserver ()
 

Static Public Member Functions

static QString formatLinks (App::Document *ownerDoc, QList< App::SubObjectT > links)
 
static QString formatObject (App::Document *ownerDoc, App::DocumentObject *obj, const char *sub)
 
static QString formatObject (App::Document *ownerDoc, const App::SubObjectT &sobj)
 
static QList< App::SubObjectTgetLinksFromProperty (const App::PropertyLinkBase *prop)
 
static QString linksToPython (QList< App::SubObjectT > links)
 

Protected Member Functions

void attachObserver ()
 
void closeEvent (QCloseEvent *e)
 
void detachObserver ()
 
bool eventFilter (QObject *obj, QEvent *ev)
 
void hideEvent (QHideEvent *)
 
void keyPressEvent (QKeyEvent *ev)
 
void leaveEvent (QEvent *)
 
void onSelectionChanged (const Gui::SelectionChanges &msg)
 
void showEvent (QShowEvent *)
 

Constructor & Destructor Documentation

◆ DlgPropertyLink()

DlgPropertyLink::DlgPropertyLink ( QWidget parent = 0)

◆ ~DlgPropertyLink()

DlgPropertyLink::~DlgPropertyLink ( )

Destroys the object and frees any allocated resources.

References detachObserver().

Member Function Documentation

◆ accept()

void DlgPropertyLink::accept ( )

◆ attachObserver()

◆ closeEvent()

void DlgPropertyLink::closeEvent ( QCloseEvent *  e)
protected

References detachObserver().

◆ currentLinks()

QList< App::SubObjectT > DlgPropertyLink::currentLinks ( ) const

◆ detachObserver()

◆ eventFilter()

bool DlgPropertyLink::eventFilter ( QObject obj,
QEvent ev 
)
protected

◆ formatLinks()

QString DlgPropertyLink::formatLinks ( App::Document ownerDoc,
QList< App::SubObjectT links 
)
static

References formatObject().

◆ formatObject() [1/2]

QString DlgPropertyLink::formatObject ( App::Document ownerDoc,
App::DocumentObject obj,
const char *  sub 
)
static

Referenced by formatLinks(), and formatObject().

◆ formatObject() [2/2]

static QString Gui::Dialog::DlgPropertyLink::formatObject ( App::Document ownerDoc,
const App::SubObjectT sobj 
)
static

◆ getLinksFromProperty()

QList< App::SubObjectT > DlgPropertyLink::getLinksFromProperty ( const App::PropertyLinkBase prop)
static

References App::PropertyLinkBase::getLinks().

Referenced by init().

◆ hideEvent()

void DlgPropertyLink::hideEvent ( QHideEvent *  ev)
protected

References detachObserver().

◆ init()

◆ keyPressEvent()

void DlgPropertyLink::keyPressEvent ( QKeyEvent *  ev)
protected

◆ leaveEvent()

void DlgPropertyLink::leaveEvent ( QEvent ev)
protected

◆ linksToPython()

QString DlgPropertyLink::linksToPython ( QList< App::SubObjectT links)
static

◆ onSelectionChanged()

void DlgPropertyLink::onSelectionChanged ( const Gui::SelectionChanges msg)
protectedvirtual

◆ originalLinks()

QList< App::SubObjectT > DlgPropertyLink::originalLinks ( ) const

◆ showEvent()

void DlgPropertyLink::showEvent ( QShowEvent *  ev)
protected

References attachObserver().


The documentation for this class was generated from the following files:
  • src/Gui/DlgPropertyLink.h
  • src/Gui/DlgPropertyLink.cpp