10#include "DefinitionsGUI.h"
19 class CInternalPermissionManager;
192 Base::CFLString<wchar_t>&,
231 #define MakePropertyCallback [=](CGUIPropertyItemBase* pItem, Base::CFLString<wchar_t>& strValue, const Base::CFLString<wchar_t>& strOrig) -> void
308 #define MakePropertyAdditionalCheckBoxCallback [=](CGUIPropertyItemBase* pItem, ECheckState& eCheckValue, const ECheckState& eCheckValueOrig) -> void
874 virtual void SetVisible(BOOL bShow, BOOL bAdjustLayout = FALSE);
1331 virtual const CResult UpdateStyle();
1333 virtual void SetParentWndList(CMFCPropertyGridCtrl* pPGC);
1334 DeclareGetClassType();
1338 const CGUIManagerPropertyItem* GetManagerPropertyItem()
const;
1339 const CGUIDialogProperty* GetParentDialogProperty()
const;
1344 virtual void InternalSetValue(
const COleVariant& varValue,
bool bRedrawImmediately);
1345 virtual void InternalSetOrigValue(
const COleVariant& varValue);
1347 virtual bool IsSNAPPropertyItem()
const;
1366 CMFCPropertyGridProperty* m_pGridProperty;
1367 mutable CGUIPropertyGridCtrl* m_pParentPropertyGridCtrl;
1371 bool m_bPropertyCallbackAutoDestroy;
1372 bool m_bPropertyAdditionalCheckBoxCallbackAutoDestroy;
1374 CGUIMenuItemProperty* m_pGUIMenuItemProperty;
1375 CGUIDialogProperty* m_pParentDialogProperty;
1377 CInternalPermissionManager* m_pInternalPM;
1387 bool m_bInheritanceOfEnablement;
1388 bool m_bInheritanceOfVisibility;
1389 bool m_bEnableGrayWhileDisabled;
1391 bool m_bEnableAdditionalCheckBox;
1397 friend class CGUIPropertyGridCtrl;
1398 friend class CGUIPaneProperties;
1399 friend class CGUIMenuItemProperty;
1400 friend class CInternalPermissionManager;
1401 friend class CGUIPropertyGridPropertyInterface;
1402 friend class CGUIPropertyGridPropertyBase;
1403 friend class CGUIPropertyGridPropertyColor;
1404 friend class CGUIPropertyGridPropertyDraggableSpin;
1405 friend class CGUIDialogPropertyImageFigureDrawingAttribute;
1406 friend class CGUIDialogProperty;
1407 friend class CGUIDialogPropertyObjectFigure;
1408 friend class CGUIDialogPropertyObjectFigureTransform;
1409 friend class CGUIDialogPropertyView3DToolROI;
1410 friend class CGUIManagerPropertyItem;
Template type 의 배열 클래스.
Definition FLArray.h:71
FLImaging의 최상위 기저 클래스
Definition FLImagingBase/FLBase.h:36
Template type 의 문자열 클래스
Definition FLString.h:34
FLImaging 모듈의 수행 결과 객체
Definition FLImagingBase/ResultsDef.h:1739
프로퍼티 그리드와 트리 기반 내비게이션을 제공하는 다이얼로그 클래스
Definition GUIDialogProperty.h:34
CGUIPropertyItemBase 객체들을 관리하고 CGUIPropertyGridCtrl 과의 동기화를 수행하는 매니저 클래스입니다.
Definition GUIManagerPropertyItem.h:46
속성 그리드 컨트롤 클래스
Definition GUIPropertyGridCtrl.h:53
프로퍼티 아이템 베이스 클래스
Definition GUIPropertyItemBase.h:319
virtual FLImaging::GUI::CGUIPropertyGridCtrl * GetParentWndList() const
이 아이템이 속한 그리드 컨트롤에 대한 포인터를 리턴합니다.
virtual void Invalidate()
this에 해당하는 영역을 화면상에서 무효화합니다.
virtual bool SetName(const Base::CFLString< wchar_t > &strName)
this의 이름을 설정합니다.
virtual const CResult SetDenotationName(const Base::CFLString< wchar_t > &strDenotationName)
this의 denotation 이름을 설정합니다. 설정한 denotation 이름은 GetFullPathUsingDenotation()으로 경로를 만들 때 이름 대신 사용됩니다.
virtual const CResult ClearDenotationName()
this의 denotation 이름을 제거합니다. 제거한 뒤에는 GetFullPathUsingDenotation()에서 denotation 이름 대신 이름이 사용됩니다.
virtual Base::EAuthorityLevel GetMinimalAuthorityLevel(GUI::EPermission ePermission) const
이 프로퍼티 아이템을 보기, 실행, 수정 등 이용할 수 있는 최소 권한을 반환합니다.
virtual bool SetPath(const Base::CFLString< wchar_t > &strPath)
this의 부모 경로를 설정합니다. "Grandparent@Parent" 와 같이 설정합니다.
virtual uint32_t GetHash() const
this의 해시 값을 반환합니다.
virtual ECheckBoxLocation GetAdditionalCheckBoxLocation() const
추가 체크박스의 현재 위치를 반환합니다.
virtual bool IsEffectivelyEnabled() const
부모 아이템의 활성화 상태와 사용자 권한 수준을 고려하여 객체가 실질적으로 활성화되었는지 확인합니다. m_bEnable 값이 true일 경우에도 부모 아이템의 활성화 상태가 fals...
virtual void SetAdditionalCheckBoxValue(ECheckState eCheck)
추가 체크박스의 체크 상태를 설정합니다.
virtual void SetDescription(const Base::CFLString< wchar_t > &strDescription)
this의 설명을 설정합니다.
virtual bool SetPropertyCallback(CPropertyCallback *pFunc, bool bAutoDestroy=true)
프로퍼티에 대한 콜백 함수를 설정합니다.
virtual void EnableInheritanceOfEnablement(bool bEnable=true)
객체의 활성화 상태 상속을 활성화 또는 비활성화합니다.
virtual Base::CFLString< wchar_t > GetValue() const
이 프로퍼티 항목의 현재 값을 반환합니다.
virtual const CResult GetSubItemsRecursively(std::deque< CGUIPropertyItemBase * > &deqResult) const
모든 하위 아이템을 재귀적으로 탐색하여 deqResult 에 담습니다. 부모 창이 초기화 및 생성 된 이후에 호출 가능합니다.
virtual bool IsAdditionalCheckBoxEnabled() const
추가 체크박스가 이 프로퍼티 아이템에 추가되어 있는지 확인합니다.
virtual void SetAdditionalCheckBoxValue(bool bCheck)
추가 체크박스의 체크 상태를 설정합니다.
virtual bool Save(const Base::CFLString< wchar_t > &strFilePath=L"") const
ini 파일에 this의 값을 저장합니다.
virtual void EnableAutoSave(bool bAutoSave=true)
this에 대한 자동 저장 기능을 활성화 또는 비활성화합니다. 자동 저장이란, 프로퍼티 아이템에 값을 입력하거나 SetValue() 를 호출했을 때 설정 값이 자동으로 ini 파일에...
virtual CPropertyAdditionalCheckBoxCallback * GetPropertyAdditionalCheckBoxCallback() const
현재 설정된 추가 체크박스 콜백을 반환합니다.
virtual Base::CFLString< wchar_t > GetName() const
this의 이름을 리턴합니다.
virtual bool GetAdditionalCheckBoxValue() const
추가 체크박스의 체크 상태를 반환합니다.
virtual CMFCPropertyGridProperty * CreateGridProperty()=0
이 아이템에 대한 MFC 그리드 프로퍼티를 생성 후 리턴합니다. 만약 이미 생성된 객체가 있다면 그 객체를 리턴합니다.
virtual bool IsAutoLoadEnabled() const
this에 대해 자동 로드 기능이 활성화되어 있는지 확인합니다.
CGUIPropertyItemBase()
기본 생성자
virtual void SetMinimalAuthorityLevel(Base::EAuthorityLevel eAuthorityLevel, GUI::EPermission ePermission)
this를 보기, 실행, 수정 등 이용할 수 있는 최소 권한을 설정합니다.
virtual const CResult GetSubItems(std::vector< CGUIPropertyItemBase * > &vctResult) const
직속 하위 아이템 전체를 표시 순서대로 얻어 옵니다.
virtual Base::CFLString< wchar_t > GetNameUsingDenotation() const
this의 denotation 이름이 설정되어 있으면 denotation 이름을, 설정되어 있지 않으면 이름을 리턴합니다. GetFullPathUsingDenotation()이 리턴...
virtual CPropertyCallback * GetPropertyCallback() const
프로퍼티와 연결된 콜백 함수를 가져옵니다.
virtual bool GetVisibleValue() const
SetVisible() 로 설정한 값(m_bShow)을 리턴합니다. SetVisible(true) 로 설정하였더라도, authority level 에 따라 hide 상태일 수도 있지...
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath=L"")
ini 파일로부터 this의 값을 로드합니다.
virtual void SetDefaultValue(const Base::CFLString< wchar_t > &strDefaultValue)
this의 기본값을 설정합니다.
virtual Base::CFLString< wchar_t > GetBufferValue() const
this의 현재 버퍼 값을 반환합니다.
virtual bool IsGrayWhileDisabled() const
비활성(disable) 상태의 프로퍼티 아이템이 회색조로 표시되는지 여부를 리턴합니다. true 일 경우 비활성 상태의 프로퍼티 아이템이 회색조로 표시,...
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true)
this에 값을 설정합니다.
virtual int32_t GetSubItemsCount() const
객체에 포함된 하위 항목의 개수를 가져옵니다.
virtual Base::CFLString< wchar_t > GetDefaultValue() const
this의 기본값을 반환합니다.
virtual bool SetBufferValue(Base::CFLString< wchar_t > strValue)
this의 버퍼 값을 설정합니다.
virtual bool IsInheritanceOfEnablementEnabled() const
활성화 상태의 상속이 활성화되어 있는지 확인합니다.
virtual Base::CFLString< wchar_t > GetDenotationName() const
this의 denotation 이름을 리턴합니다. denotation 이름이 설정되어 있지 않으면 빈 문자열을 리턴합니다.
virtual CMFCPropertyGridProperty * GetGridProperty() const
this와 연결된 그리드 프로퍼티에 대한 포인터를 반환합니다.
virtual bool IsInheritanceOfVisibilityEnabled() const
가시성 상태의 상속이 활성화되어 있는지 확인합니다.
virtual Base::CFLString< wchar_t > GetPrevBufferValue() const
this의 이전 버퍼 값을 반환합니다.
virtual bool SetPropertyAdditionalCheckBoxCallback(CPropertyAdditionalCheckBoxCallback *pFunc, bool bAutoDestroy=true)
추가 체크박스의 동작에 대한 콜백 함수를 설정합니다.
virtual ~CGUIPropertyItemBase()
CGUIPropertyItemBase 클래스의 소멸자
virtual void EnableInheritanceOfVisibility(bool bEnable=true)
객체의 가시성 상태 상속을 활성화 또는 비활성화합니다.
virtual void SetVisible(BOOL bShow, BOOL bAdjustLayout=FALSE)
this를 PropertyGridCtrl 에서 디스플레이 하거나 숨기기 처리 합니다. bAdjustLayout = FALSE 일 경우, GetParentWndList()->Adjus...
virtual void EnableAutoLoad(bool bAutoLoad=true)
this에 대한 자동 로드 기능을 활성화 또는 비활성화합니다. 자동 로드란, 프로퍼티 창을 열거나, 모델 매니저에서 모델을 변경 시(=레시피 변경 시) ini 파일로부터 값을 로드하...
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData)
문자열 배열로부터 this의 값을 로드합니다.
virtual const CResult GetSubItemsRecursively(std::vector< CGUIPropertyItemBase * > &vctResult) const
모든 하위 아이템을 재귀적으로 탐색하여 vctResult 에 담습니다. 부모 창이 초기화 및 생성 된 이후에 호출 가능합니다.
virtual bool SetOrigValue(const Base::CFLString< wchar_t > &strValue)
this의 원래 값을 설정합니다.
virtual bool IsInitialized() const
객체가 초기화되었는지 확인합니다.
virtual void SetGUIMenuItemProperty(CGUIMenuItemProperty *pMIP)
객체와 연결된 GUI 메뉴 항목 프로퍼티를 설정합니다.
virtual void EnableAdditionalCheckBox(ECheckBoxLocation eLocation, bool bAdditionalCheckBoxValue)
프로퍼티 아이템에 추가 체크박스를 추가합니다. 이 체크박스는 기존 프로퍼티 아이템(텍스트, 드롭다운, 체크박스 등) 옆에 표시되는 보조적인 컨트롤입니다....
virtual CGUIPropertyItemBase * GetSubItem(int32_t i32Index) const
i32Index 위치의 하위 아이템을 반환합니다.
virtual bool Update()
내부 상태 또는 UI를 갱신하고 성공 여부를 반환합니다.
virtual Base::CFLString< wchar_t > GetFullPath() const
this의 전체 경로를 리턴합니다. "Grandparent@Parent@MyName" 과 같이 문자열이 리턴됩니다.
virtual ECheckState GetAdditionalCheckState() const
추가 체크박스의 체크 상태를 반환합니다.
virtual void SetInitialized(bool bInit)
객체의 초기화 상태를 설정합니다.
virtual bool IsReadOnly() const
ReadOnly(읽기 전용) 속성 여부를 반환합니다. true 이면 읽기 전용으로 설정하고, false 이면 편집 가능합니다.
virtual bool IsVisible() const
this의 가시성 여부를 리턴합니다. SetVisible(true) 로 설정하였더라도, authority level 에 따라 hide 상태일 수도 있으며 이 경우 화면 상에서 나타나...
virtual bool IsInsideCallback() const
현재 컨텍스트가 프로퍼티 콜백 프로시저 내부인지 여부를 반환합니다.
virtual bool IsEnabled() const
객체가 활성화되었는지 여부를 리턴합니다. Enable(bool) 로 설정한 값(m_bEnable)을 리턴합니다.
virtual void EnableAdditionalCheckBox(ECheckBoxLocation eLocation=ECheckBoxLocation_LeftOfName, ECheckState eAdditionalCheckBoxValue=ECheckState_Unchecked)
프로퍼티 아이템에 추가 체크박스를 추가합니다. 이 체크박스는 기존 프로퍼티 아이템(텍스트, 드롭다운, 체크박스 등) 옆에 표시되는 보조적인 컨트롤입니다....
virtual uint32_t GetParentHash() const
this의 부모의 해시 값을 반환합니다.
virtual void EnableGrayWhileDisabled(bool bGray=true)
비활성(disable) 상태의 프로퍼티 아이템을 회색조로 표시할지 여부를 설정합니다. true 일 경우 비활성 상태의 프로퍼티 아이템을 회색조로 표시,...
virtual void SetModifiedFlag()
프로퍼티 아이템이 수정되었음을 표시합니다.
virtual bool Save(Base::CFLArray< Base::CFLString< wchar_t > > &flaData) const
INI 데이터 배열에 this의 값을 기록하는 함수
virtual void SetReadOnly(bool bReadOnly)
읽기 전용 여부를 설정합니다.true 이면 편집 불가능한 아이템이 되고 false 이면 편집이 가능합니다.
virtual Base::CFLString< wchar_t > GetFullPathUsingDenotation() const
this의 전체 경로를 denotation 이름으로 구성하여 리턴합니다. "GrandparentDenotation@ParentDenotation@MyDenotation" 과 같이 문...
virtual void Enable(bool bEnable)
객체를 활성화 또는 비활성화합니다.
virtual CGUIMenuItemProperty * GetGUIMenuItemProperty() const
객체와 연결된 GUI 메뉴 항목 프로퍼티를 가져옵니다.
virtual EPropertyItemType GetItemType() const
프로퍼티 아이템의 타입을 반환합니다.
virtual void SetAdditionalCheckBoxLocation(ECheckBoxLocation eLocation=ECheckBoxLocation_LeftOfName)
추가 체크박스의 위치를 설정합니다.
virtual Base::CFLString< wchar_t > GetDescription() const
this의 설명을 반환합니다.
virtual bool IsAutoSaveEnabled() const
this에 대해 자동 저장이 활성화되어 있는지 확인합니다.
virtual Base::CFLString< wchar_t > GetPath() const
this의 부모 경로를 리턴합니다.
EAuthorityLevel
권한 레벨
Definition FLImagingBase/AuthorityManager.h:29
Definition D2DObject.h:12
ECheckBoxLocation
체크박스 위치
Definition FLImagingGUI/DefinitionsGUI.h:14728
@ ECheckBoxLocation_LeftOfName
이름의 왼쪽
Definition FLImagingGUI/DefinitionsGUI.h:14735
EPermission
권한
Definition FLImagingGUI/DefinitionsGUI.h:14222
ECheckState
3상 논리를 포함한 체크 상태를 정의합니다.
Definition FLImagingGUI/DefinitionsGUI.h:16746
@ ECheckState_Unchecked
해제 상태.
Definition FLImagingGUI/DefinitionsGUI.h:16753
EPropertyItemType
Definition FLImagingGUI/DefinitionsGUI.h:15750
std::function< void(CGUIPropertyItemBase *, ECheckState &, const ECheckState &)> CPropertyAdditionalCheckBoxCallback
프로퍼티 아이템의 *추가 체크박스*가 토글될 때 호출되는 콜백입니다.
Definition GUIPropertyItemBase.h:290
std::function< void(CGUIPropertyItemBase *, Base::CFLString< wchar_t > &, const Base::CFLString< wchar_t > &)> CPropertyCallback
SetValue() 내부에서 호출되는 값 변경 콜백입니다.
Definition GUIPropertyItemBase.h:193