52 #ifndef __PCL_Dialog_h
53 #define __PCL_Dialog_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
78 namespace StdDialogCode
103 using std_code = StdDialogCode::value_type;
178 Return( StdDialogCode::Ok );
187 Return( StdDialogCode::Cancel );
209 EnableUserResizing( !disable );
290 EventHandlers() =
default;
291 EventHandlers(
const EventHandlers& ) =
default;
292 EventHandlers& operator =(
const EventHandlers& ) =
default;
297 friend class DialogEventDispatcher;
Client-side interface to a PixInsight Control object.
Client-side interface to a PixInsight modal dialog.
static void ProcessEvents(bool excludeUserInputEvents=false)
void DisableUserResizing(bool disable=true)
void EnableUserResizing(bool=true)
bool IsUserResizable() const
Dialog(Control &parent=Control::Null())
void(Control::*)(Dialog &sender) execute_event_handler
void OnReturn(return_event_handler handler, Control &receiver)
void OnExecute(execute_event_handler handler, Control &receiver)
void(Control::*)(Dialog &sender, int retCode) return_event_handler