2#include "GUIProgressCtrl.h"
3#include "GUIDefinitions.h"
46 EGUIManagerProgressBar_Button_None = 0x00000000,
54 EGUIManagerProgressBar_Button_Stop = 0x00000002,
499 DeclareGetClassType();
502 CWnd* m_pProgressDlg;
509 double m_f64ProgressRatio;
510 bool m_bShowElapsedTime;
511 bool m_bKeepPreviousMaximumWidth;
512 bool m_bKeepPreviousMaximumHeight;
514 bool m_bShowProgressText;
515 uint8_t m_u8DecimalPlace;
520 std::map<EGUIManagerProgressBar_Button, bool>& m_mapEnableButton;
브로드캐스트 메시지 클래스
Definition BroadcastMessage.h:27
FLImaging의 최상위 기저 클래스
Definition FLBase.h:36
Template type 의 문자열 클래스
Definition INIUtilities.h:20
FLImaging 모듈의 수행 결과 객체
Definition ResultsDef.h:1514
진행률 표시 창 관리 클래스
Definition GUIManagerProgressBar.h:26
const CResult SetMessage(const Base::CFLString< wchar_t > &strMessage)
프로그레스 창에 메시지를 설정합니다. 이 메세지의 길이에 따라 프로그레스 창의 크기가 변경됩니다.
bool DoesKeepPreviousMaximumWidth() const
갱신될 창의 너비가 이전 창의 너비보다 작으면 이전 창 너비를 유지하도록 설정되어 있는지 여부를 리턴합니다.
const Base::CFLString< wchar_t > GetPauseButtonCaption()
프로그레스 창의 Pause 버튼 캡션에 설정한 문자열을 얻어 옵니다.
bool IsElapsedTimeVisible()
진행 시간 표시 여부를 얻어 옵니다.
virtual void SetDecimalPlaceOfPercentageText(uint8_t u8DecimalPlace)
진행률 퍼센트의 소수점 표시 자릿수를 설정합니다. 소수점 둘째 자리까지 표시하려면(예 : 0.01, 2.54 등) 2 를 인자로 전달합니다.
const Base::CFLString< wchar_t > GetResumeButtonCaption()
프로그레스 창의 Resume 버튼 캡션에 설정한 문자열을 얻어 옵니다.
const CResult SetResumeButtonCaption(const Base::CFLString< wchar_t > &strButtonCaption)
프로그레스 창의 Resume 버튼 캡션의 문자열을 설정합니다.
CWnd * GetProgressDialog()
프로그레스 창 포인터를 얻어 옵니다.
virtual EProgressCtrlTextMode GetProgressTextMode() const
프로그레스 바 위에 표시되는 텍스트 모드를 얻어 옵니다.
virtual bool IsProgressTextVisible()
프로그레스 바 내부 또는 옆쪽에 위치한 진행률 문자열 표시 여부를 얻어 옵니다. 진행률 문자열을 표시할 경우 true, 표시하지 않을 경우 false를 반환합니다.
bool DoesKeepPreviousMaximumHeight() const
갱신될 창의 높이가 이전 창의 높이보다 작으면 이전 창 높이를 유지하도록 설정되어 있는지 여부를 리턴합니다.
bool IsDialogVisible()
프로그레스 창의 가시성 상태를 반환합니다.
bool PeekAndPump()
프로그레스 창에 대한 메세지 펌프 함수
const Base::CFLString< wchar_t > GetStopButtonCaption()
프로그레스 창의 Stop 버튼 캡션에 설정한 문자열을 얻어 옵니다.
double GetProgressRatio()
프로그레스 창에 설정한 진행률을 얻어 옵니다. 이 값은 0 보다 크거나 같고, 1 보다 작거나 같은 값입니다.
virtual void ShowProgressText(bool bShow)
프로그레스 바 내부 또는 옆쪽에 위치한 진행률 문자열 표시 여부를 설정합니다.
const CResult SetPauseButtonCaption(const Base::CFLString< wchar_t > &strButtonCaption)
프로그레스 창의 Pause 버튼 캡션의 문자열을 설정합니다.
void ShowElapsedTime(bool bShow)
진행 시간을 표시할지 여부를 설정합니다.
EGUIManagerProgressBar_Button
진행률 표시 창 위의 버튼 식별자
Definition GUIManagerProgressBar.h:39
const CResult ShowDialog(bool bModal=true, CWnd *pParent=nullptr)
프로그레스 창을 화면에 띄웁니다.
virtual EGUIAlignment GetProgressTextAlignment()
진행률 문자열의 위치를 얻어 옵니다. 프로그레스 바의 왼쪽에 문자열을 표시할 경우 EGUIAlignment_LEFT, 프로그레스 바 내부에 문자열을 표시할 경우 EGUIAlignme...
void KeepPreviousMaximumWidth(bool bKeep=false)
내부 컨트롤의 크기에 따라 프로그레스 창의 너비가 변경되는데, 변경될 프로그레스 창의 너비가 이전 프로그레스 창의 너비보다 작을 경우 이전 창 너비를 유지하도록 설정합니다.
virtual void OnReceiveBroadcast(const Base::CBroadcastMessage *pMessage) override
Callback 함수. BroadcastMessage를 수신받는 함수
virtual uint8_t GetDecimalPlaceOfPercentageText() const
진행률 퍼센트의 소수점 표시 자릿수를 얻어 옵니다. 소수점 둘째 자리까지 표시하도록 설정된 경우(예 : 0.01, 2.54 등) 2를 반환합니다.
virtual void SetProgressTextMode(EProgressCtrlTextMode eMode)
프로그레스 바 위에 표시되는 텍스트 모드를 설정합니다.
const CResult EnableButton(EGUIManagerProgressBar_Button eButton, bool bEnable)
프로그레스 창에 표시된 버튼을 활성화 또는 비활성화 합니다.
virtual EGUIAlignment GetResizeWindowPivot()
프로그레스 창의 크기가 변경될 때 고정되는 위치를 얻어 옵니다. 예를 들어 EGUIAlignment_LEFT_TOP 일 경우 프로그레스 창 크기가 변경될 때 좌상단 위치는 고정되고 ...
const Base::CFLString< wchar_t > & GetMessage()
프로그레스 창에 설정한 메시지를 얻어 옵니다.
bool IsStopped()
프로그레스 창에서 Stop 버튼이 클릭되었는지 여부를 얻어 옵니다.
const CResult CloseDialog()
프로그레스 창을 닫습니다.
virtual void SetResizeWindowPivot(EGUIAlignment eAlignment)
프로그레스 창의 크기가 변경될 때 고정되는 위치를 지정합니다. 예를 들어 EGUIAlignment_LEFT_TOP 으로 지정할 경우 프로그레스 창 크기가 변경될 때 좌상단 위치는 고...
EGUIManagerProgressBar_Button GetButtonConfiguration()
프로그레스 창에 표시되는 버튼 옵션을 얻어 옵니다.
CGUIButton * GetButton(EGUIManagerProgressBar_Button eButton)
프로그레스 창에 표시된 버튼을 얻어 옵니다.
const CResult SetButtonConfiguration(EGUIManagerProgressBar_Button eButton)
프로그레스 창에 표시할 버튼을 설정합니다.
const CResult SetStopButtonCaption(const Base::CFLString< wchar_t > &strButtonCaption)
프로그레스 창의 Stop 버튼 캡션의 문자열을 설정합니다.
const CResult SetProgressRatio(double f64ProgressRatio)
프로그레스 창에 진행률을 설정합니다.
virtual void SetProgressTextAlignment(EGUIAlignment eAlignment)
진행률 문자열의 위치를 설정합니다. 프로그레스 바의 왼쪽에 문자열을 표시할 경우 EGUIAlignment_LEFT, 프로그레스 바 내부에 문자열을 표시할 경우 EGUIAlignmen...
void KeepPreviousMaximumHeight(bool bKeep=false)
내부 컨트롤의 크기에 따라 프로그레스 창의 높이가 변경되는데, 변경될 프로그레스 창의 높이가 이전 프로그레스 창의 높이보다 작을 경우 이전 창 높이를 유지하도록 설정합니다.
EProgressCtrlTextMode
ProgressCtrl 의 문자열 표시 모드
Definition GUIDefinitions.h:9418
EGUIAlignment
정렬 정보
Definition GUIDefinitions.h:9222