9#include "GUIPropertyItemBase.h"
17 class CGUIPropertyGridPropertyCheckBox;
101 virtual void SetCheck(
bool bCheck,
bool bInvokeCallback =
true);
221 virtual void InternalSetValue(
const COleVariant& varValue,
bool bRedrawImmediately)
override;
251 friend class CGUIPropertyGridPropertyCheckBox;
Template type array class.
Definition FLArray.h:53
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
CGUIPropertyItemBase()
Default constructor.
virtual Base::CFLString< wchar_t > GetValue() const override
Returns the current value of this item as a string (the mapped text for the current check state).
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates a property-grid node for this check box item.
virtual const Base::CFLString< wchar_t > & GetCheckBoxFalseValue() const
Returns the display string used when the check box is unchecked.
Base::CFLString< wchar_t > m_strFalse
Display string used when unchecked (false).
Definition GUIPropertyItemCheckBox.h:249
bool m_bCheckBoxOnRight
Whether the check box is placed on the right Value column.
Definition GUIPropertyItemCheckBox.h:231
virtual const Base::CFLString< wchar_t > & GetCheckBoxTrueValue() const
Returns the display string used when the check box is checked.
virtual const CResult SetCheckBoxTrueFalseValue(const Base::CFLString< wchar_t > &strTrue, const Base::CFLString< wchar_t > &strFalse)
Sets the display strings for checked (true) and unchecked (false) states. By default,...
virtual void SetCheckBoxOnRight(bool bSet)
Sets whether the check box is shown in the right Value column.
Base::CFLString< wchar_t > m_strTrue
Display string used when checked (true).
Definition GUIPropertyItemCheckBox.h:240
virtual ~CGUIPropertyItemCheckBox()
Destructor.
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData) override
Loads the value of this item from a string array.
virtual void InternalSetValue(const COleVariant &varValue, bool bRedrawImmediately) override
Internally sets the value from a COleVariant and optionally redraws immediately.
virtual bool GetCheck() const
Returns the current check state.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value of this item as a string. The string is typically the mapped text for checked/unchecke...
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath) override
Loads the value of this item from an INI file.
virtual void SetCheck(bool bCheck, bool bInvokeCallback=true)
Sets the check state.
virtual bool IsCheckBoxOnRight() const
Returns whether the check box is placed in the right Value column.
CGUIPropertyItemCheckBox()
Default constructor.
Definition D2DObject.h:12