57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
149 SetModified( !clear );
180 EnablePasswordMode( !disable );
247 SetValidatingRegExp(
String() );
282 SetMaxLength( int_max );
330 GetSelection( s0, s1 );
355 SetCaretPosition( 0 );
363 SetCaretPosition( int_max );
376 return !IsRightAligned();
392 SetRightAlignment( !left );
450 EventHandlers() =
default;
451 EventHandlers(
const EventHandlers& ) =
default;
452 EventHandlers& operator =(
const EventHandlers& ) =
default;
457 friend class EditEventDispatcher;
Client-side interface to a PixInsight Control object.
Client-side interface to a PixInsight Edit control.
void SetReadWrite(bool rw=true)
void(Control::*)(Edit &sender) edit_event_handler
void EnablePasswordMode(bool=true)
void SetModified(bool=true)
void DisableValidatingRegExp()
void ClearModified(bool clear=true)
bool IsLeftAligned() const
Edit(const String &text=String(), Control &parent=Control::Null())
void SetCaretPosition(int)
void SetReadOnly(bool=true)
String SelectedText() const
String ValidatingRegExp(bool &caseSensitive) const
void SetLeftAlignment(bool left=true)
bool HasSelection() const
bool IsRightAligned() const
void(Control::*)(Edit &sender, int oldPos, int newPos) caret_event_handler
void SelectAll(bool=true)
void OnCaretPositionUpdated(caret_event_handler, Control &)
void OnSelectionUpdated(selection_event_handler, Control &)
int CaretPosition() const
void(Control::*)(Edit &sender, int newStart, int newEnd) selection_event_handler
void Unselect(bool unsel=true)
void SetRightAlignment(bool right=true)
void(Control::*)(Edit &sender, const String &) text_event_handler
void GetSelection(int &selStart, int &selEnd) const
void SetSelection(int selStart, int selEnd)
void OnTextUpdated(text_event_handler, Control &)
void DisablePasswordMode(bool disable=true)
void SetText(const String &)
void OnEditCompleted(edit_event_handler, Control &)
void SetUnlimitedLength()
void SetValidatingRegExp(const String &rx, bool caseSensitive=true)
String ValidatingRegExp() const
bool IsPasswordMode() const
void OnReturnPressed(edit_event_handler, Control &)
Client-side interface to a PixInsight Frame control.