11 #include <boost/signals2.hpp>
19 class DtForceSelectionEntryWidget;
35 virtual void setRange(
double bottom,
double top)
override {};
40 virtual void setVariableData(
const QString&)
override;
44 virtual void setForceType(
int);
45 virtual int forceType()
const;
47 virtual void setChannel(
const DtString&);
49 virtual std::pair<DtString, int> channelWithForce()
const;
51 virtual void setLabel(
const QString& s)
override;
55 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName)
override;
58 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName)
override;
67 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
72 return tr(
"<vrfGuiDataEntryWidgets/chatMessageChannel.h>").toUtf8().constData();
77 return tr(
"chatMessageChannel").toUtf8().constData();
81 virtual void addChannel(
int force,
const DtString&);
83 virtual void setAllowMultipleForceSelection(
bool b);
86 return myAllowMultipleForceSelection;
93 virtual void forceSelectionChanged();
94 virtual void forcesSelectionChanged();
95 virtual void channelChanged();
98 virtual void forceChanged();
99 virtual void channelAdded(
int force,
const DtString&);
106 bool myAllowMultipleForceSelection =
false;
Widget that allows the selection of a force.
Definition: forceSelectionEntryWidget.h:62
boost::signals2::signal< void()> signal_forceChanged
Definition: chatMessageChannel.h:89
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Definition: readerWriter.h:85
QComboBox * myChannel
Definition: chatMessageChannel.h:103
Simple line text entry widget that will allow the user to enter a heading value.
Definition: chatMessageChannel.h:22
static std::string headerFile()
Definition: chatMessageChannel.h:70
virtual void setDefaultValue(const std::string &) override
Default value to set in control.
Definition: chatMessageChannel.h:38
static DtUnicode tr(const char *ascii)
Ascii translation function, used to be compatible with Qt's translation tools. This will simply call ...
Definition: DtUnicode.h:92
bool allowMultipleForceSelection() const
Definition: chatMessageChannel.h:84
DtTaskSetVariableWidgetCreator< DtChatMessageChannel > DtChatMessageChannelCreator
Definition: chatMessageChannel.h:110
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
DtForceSelectionEntryWidget * myForce
Definition: chatMessageChannel.h:102
static std::string variableName()
Definition: chatMessageChannel.h:75
static std::string designerGroup()
Definition: chatMessageChannel.h:65
boost::signals2::signal< void()> signal_channelChanged
Definition: chatMessageChannel.h:90
static makVrv::DtUnicode codeVariableType()
Definition: chatMessageChannel.h:60
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
boost::signals2::connection myForceSelectionChangedConnection
Definition: chatMessageChannel.h:107
virtual void setRange(double bottom, double top) override
These methods must be implemented in order to be considered a DtTaskSetVariable that can be used as p...
Definition: chatMessageChannel.h:35