UI panel for managing TCP server connection, showing server/client status, port input, start/stop/disconnect buttons.
More...
|
| | ConnectionPanel (wxWindow *parent, TCPServer *server) |
| | ~ConnectionPanel () override=default |
| void | UpdateStatus () |
| | Refreshes server and client status display.
|
| void | SetTreeStatus (const wxString &status) |
| | Sets the tree status text shown in the panel.
|
| void | SetTreeId (const wxString &treeId) |
| | Sets the tree ID text shown in the panel.
|
| | Panel (wxWindow *parent, const wxString &name="Panel", long style=wxTAB_TRAVERSAL) |
| | Constructs the panel with optional name and style.
|
| virtual | ~Panel () |
| wxPanel * | GetPanel () override |
| | Returns this panel as wxPanel pointer.
|
| wxString | GetTitle () const override |
| | Returns the panel title.
|
| wxString | GetPanelType () const override |
| | Returns the panel type identifier.
|
| void | Initialize () override |
| | Initializes the panel layout and appearance.
|
| void | Refresh () override |
| | Refreshes panel content.
|
| void | OnActivated () override |
| | Called when the panel is activated.
|
| void | OnDeactivated () override |
| | Called when the panel is deactivated.
|
| void | Cleanup () override |
| | Cleans up panel resources.
|
| bool | IsValid () const override |
| | Returns true if the panel has been initialized.
|
| wxString | SerializeState () const override |
| | Serializes panel state to a string.
|
| void | DeserializeState (const wxString &state) override |
| | Restores panel state from a serialized string.
|
| bool | HasUnsavedChanges () const override |
| | Returns true if there are unsaved changes.
|
| bool | Save () override |
| | Saves panel state; returns true on success.
|
| bool | SupportsOperation (const wxString &operation) const override |
| | Returns true if the panel supports the given operation.
|
| bool | ExecuteOperation (const wxString &operation, const wxString ¶meter="") override |
| | Executes a named operation with optional parameter.
|
| wxString | GetName () const override |
| | Returns the panel name.
|
| void | SetName (const wxString &name) override |
| | Sets the panel name.
|
| void | SetTitle (const wxString &title) |
| | Sets the panel title.
|
| void | SetPanelType (const wxString &type) |
| | Sets the panel type identifier.
|
| virtual | ~IPanel ()=default |
|
| virtual void | CreateLayout () |
| | Hook: creates the panel layout. Override to customize.
|
| virtual void | ApplyTheme () |
| | Hook: applies theme colors and fonts. Override to customize.
|
| virtual void | UpdateContent () |
| | Hook: updates displayed content. Override to refresh data.
|
| virtual void | HandleActivation () |
| | Hook: handles panel activation. Override to customize.
|
| virtual void | HandleDeactivation () |
| | Hook: handles panel deactivation. Override to customize.
|
| virtual bool | ValidateState () const |
| | Hook: validates panel state; returns true if valid.
|
| void | MarkChanged () |
| | Marks the panel as having unsaved changes.
|
| void | MarkSaved () |
| | Clears the unsaved-changes flag.
|
| wxSizer * | GetMainSizer () const |
| | Returns the main sizer for layout.
|
| void | SetMainSizer (wxSizer *sizer) |
| | Sets the main sizer.
|
| virtual void | OnPanelSize (wxSizeEvent &event) |
| | Hook: handles panel resize events.
|
| virtual void | OnPanelPaint (wxPaintEvent &event) |
| | Hook: handles panel paint events.
|
UI panel for managing TCP server connection, showing server/client status, port input, start/stop/disconnect buttons.
Definition at line 13 of file ConnectionPanel.h.