FLImaging 7.3.19.2
GUIPropertyItemCheckBox3State.h
1
8#pragma once
9#include "GUIPropertyItemCheckBox.h"
10
12namespace FLImaging
13{
15 namespace GUI
16 {
17 class CGUIPropertyGridPropertyCheckBox;
18
27 {
28 public:
37
46
56 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
57
75 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
76
88 virtual Base::CFLString<wchar_t> GetValue() const override;
89
103 virtual void SetCheckState(ECheckState eState, bool bInvokeCallback = true) override;
104
116 virtual ECheckState GetCheckState() const override;
117
139 virtual const CResult SetCheckBoxTrueFalseValue(const wchar_t* pWcsTrue, const wchar_t* pWcsFalse, const wchar_t* pWcsIndeterminate);
140
158 virtual const CResult SetCheckBoxIndeterminateValue(const wchar_t* pWcsIndeterminate);
159
172
182 virtual void EnableUserIndeterminate(bool bEnable = false);
183
193 virtual bool IsUserIndeterminateEnabled() const;
194
195 protected:
204
213
214 friend class CGUIPropertyGridPropertyCheckBox;
215 };
216 }
217}
218
Template type 의 문자열 클래스
Definition FLString.h:34
FLImaging 모듈의 수행 결과 객체
Definition ResultsDef.h:1676
virtual CMFCPropertyGridProperty * CreateGridProperty() override
이 체크박스 아이템에 대한 프로퍼티 그리드 노드를 생성합니다.
virtual const CResult SetCheckBoxIndeterminateValue(const wchar_t *pWcsIndeterminate)
체크 박스가 미확정(3상) 상태일 때 Value 칸에 표시될 값을 설정합니다. 기본값은 pWcsIndeterminate = "Indeterminate" 입니다.
virtual ECheckState GetCheckState() const override
현재 체크 상태를 반환합니다.
virtual void SetCheckState(ECheckState eState, bool bInvokeCallback=true) override
체크 상태를 설정합니다 (3상 버전).
virtual Base::CFLString< wchar_t > GetValue() const override
현재 체크 상태에 대한 매핑 문자열을 반환합니다.
virtual void EnableUserIndeterminate(bool bEnable=false)
사용자가 클릭, 스페이스 바 누르기 등의 입력을 통해 미확정(Indeterminate) 상태로 변경할 수 있는지 여부를 설정합니다.
bool m_bUserIndeterminate
사용자에 의한 미확정 상태 전환 허용 여부 (기본값: true)
Definition GUIPropertyItemCheckBox3State.h:212
Base::CFLString< wchar_t > m_strIndeterminate
미확정(3상) 상태에서 표시될 문자열
Definition GUIPropertyItemCheckBox3State.h:203
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
이 아이템의 값을 문자열로 설정합니다. 일반적으로 체크/체크 해제 상태에 대한 매핑 문자열입니다. bInvokeCallback 이 true이면 값 변경 시 관련 콜백이 호출될 수 있...
virtual const CResult SetCheckBoxTrueFalseValue(const wchar_t *pWcsTrue, const wchar_t *pWcsFalse, const wchar_t *pWcsIndeterminate)
체크(참), 해제(거짓), 미확정(3상) 상태에 대해 Value 칸에 표시될 문자열을 설정합니다. 기본값은 pWcsTrue = "Checked", pWcsFalse = "Unchec...
virtual bool IsUserIndeterminateEnabled() const
사용자가 클릭, 스페이스 바 누르기 등의 입력을 통해 미확정 상태로 변경 가능한지 여부를 반환합니다.
virtual const Base::CFLString< wchar_t > & GetCheckBoxIndeterminateValue() const
체크 박스가 미확정(3상) 상태일 때 Value 칸에 표시될 값을 반환합니다.
Definition D2DObject.h:12
ECheckState
3상 논리를 포함한 체크 상태를 정의합니다.
Definition DefinitionsGUI.h:12214