32 std::shared_ptr<OpenLxApp::Document> getDocument()
const;
34 void selectAll()
const;
35 void select(std::shared_ptr<OpenLxApp::Element> aElem)
const;
36 void select(
const std::vector<std::shared_ptr<OpenLxApp::Element>>& aElems)
const;
37 void deselectAll()
const;
38 void deselect(std::shared_ptr<OpenLxApp::Element> aElem)
const;
39 void deselect(
const std::vector<std::shared_ptr<OpenLxApp::Element>>& aElems)
const;
40 void forceUpdate()
const;
42 std::vector<std::shared_ptr<OpenLxApp::DocObject>> getDocObjects()
const;
43 std::vector<std::shared_ptr<OpenLxApp::Element>> getAsElements()
const;
44 std::vector<std::shared_ptr<OpenLxUI::UIElement>> getUIElements()
const;
51 void selectedSignal(
const std::vector<std::shared_ptr<OpenLxUI::UIElement>>&);
53 void deselectedSignal(
const std::vector<std::shared_ptr<OpenLxUI::UIElement>>&);
55 void clearedSelectionSignal();
58 void _onSelected(
const std::vector<Core::DocObject*>&);
59 void _onDeselected(
const std::vector<Core::DocObject*>&);
60 void _onClearedSelection();
66 void removeCallbacks();
67 std::vector<OpenLxUI::SelectionCB*> getCallbacks()
const;
73 Selection(std::shared_ptr<OpenLxApp::Document> aDoc);
79 std::shared_ptr<OpenLxUI::SelectionP> _pimpl;
Definition: Selection.h:22
Definition: SelectionCB.h:38
Definition: UIElementFilter.h:17
#define slots
Definition: PyExport.h:22
#define signals
Definition: pythonize.h:40
Definition: ActiveEdge.h:25