19 #include <QtCore/QString>
28 class DtMapFocusHandler;
60 virtual void setHasMapFocus(
bool) = 0;
61 virtual void setCanTakeMapFocus(
bool) = 0;
62 virtual bool canTakeMapFocus()
const = 0;
63 virtual bool hasMapFocus()
const = 0;
66 virtual makVrv::DtQtCursor cursorForSelectionStatus(SelectionStatus, CursorOver)
const = 0;
69 virtual SelectionStatus selectionStatusFor(
makVrv::DtUniqueID id, CursorOver)
const = 0;
79 if (myDescription.length())
84 return generatedDescription();
99 return myOneClickMode;
108 bool myOneClickMode =
false;
137 virtual void focusToNext(
bool becauseOfRightClick =
false);
140 virtual void removeAndDisconnectAll();
151 virtual void setAutoChangeToNext(
bool);
154 return myAutoChangeToNext;
159 virtual void setTaskSetStatusTextPart(
const QString&);
162 return myTaskSetStatusPart;
166 virtual void resetFocus();
171 std::vector<DtMapFocusHandlerInterface*>&
managedViews() {
return myManagedViews; };
172 const std::vector<DtMapFocusHandlerInterface*>&
managedViews()
const {
return myManagedViews; };
176 virtual void setAllowCursorChange(
bool);
179 return myAllowCursorChange;
182 virtual void setOneClickMode(
bool b);
186 return myOneClickMode;
200 virtual void updateMainMapFocusHandler();
209 bool myOneClickMode =
false;
SelectionStatus
Definition: mapFocusHandler.h:34
makVrv::DtDe & myDe
Definition: mapFocusHandler.h:204
bool autoChangeToNext() const
Definition: mapFocusHandler.h:152
bool myAllowCursorChange
Definition: mapFocusHandler.h:205
std::vector< DtMapFocusHandlerInterface * > & managedViews()
Definition: mapFocusHandler.h:171
std::vector< DtMapFocusHandlerInterface * > myManagedViews
Definition: mapFocusHandler.h:203
boost::function< makVrv::DtQtCursor()> CursorOverride
If set, uset this method as a potential cursor override for the current widget. If the return is a nu...
Definition: mapFocusHandler.h:144
virtual ~DtMapFocusHandlerInterface()
DTOR.
Definition: mapFocusHandler.h:53
CursorOver
Definition: mapFocusHandler.h:41
QString myDescription
Definition: mapFocusHandler.h:107
DtMapFocusHandlerInterface()
CTOR.
Definition: mapFocusHandler.h:48
virtual QString operation() const
If supported, the string operation the handler is performing.
Definition: mapFocusHandler.h:77
CursorOverride myCursorOverride
Definition: mapFocusHandler.h:207
QString myTaskSetStatusPart
Definition: mapFocusHandler.h:208
boost::signals2::signal< void(DtMapFocusHandlerInterface *)> signal_selectionChangedByMapSelection
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:103
virtual QString generatedDescription() const
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:87
const QString & taskSetStatusPart() const
Definition: mapFocusHandler.h:160
boost::signals2::signal< void()> signal_lostMapFocus
Definition: mapFocusHandler.h:195
bool allowCursorChange() const
Definition: mapFocusHandler.h:177
virtual void setOneClickMode(bool b)
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:92
Qt implementation of the cursor class. Will keep track of the Qt cursor.
Definition: DtQtCursor.h:24
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
Base class that must be implemented by items that wish to be part of a map focus handler chain...
Definition: mapFocusHandler.h:31
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
bool oneClickMode() const
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:97
Contains makVrv::DtQtCursor class.
const std::vector< DtMapFocusHandlerInterface * > & managedViews() const
Definition: mapFocusHandler.h:172
bool oneClickMode() const
Definition: mapFocusHandler.h:184
std::vector< ObjectInformation * > ObjectList
Map by name of objects in the scenario.
Definition: createObjectParser.h:42
bool myAutoChangeToNext
Definition: mapFocusHandler.h:206
This class will manage filtered list views for the basic purpose of allowing a single list view in th...
Definition: mapFocusHandler.h:116
Contains makVrv::DtUniqueID type.
boost::signals2::signal< void(DtMapFocusHandlerInterface *, bool)> signal_canTakeMapFocusChanged
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:102
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
virtual void setDescription(const QString &s)
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has a...
Definition: mapFocusHandler.h:71