Q3270
A Qt-based 3270 Terminal Emulator
Loading...
Searching...
No Matches
OpenSessionDialog Class Reference
Inheritance diagram for OpenSessionDialog:
SessionDialogBase

Public Member Functions

 OpenSessionDialog (SessionStore &store, ActiveSettings &activeSettings, QWidget *parent=nullptr)
 OpenSessionDialog::OpenSessionDialog constructor.
 
- Public Member Functions inherited from SessionDialogBase
 SessionDialogBase (SessionStore &store, QWidget *parent=nullptr)
 SessionDialogBase constructor.
 
virtual ~SessionDialogBase ()
 SessionDialogBase destructor.
 

Additional Inherited Members

- Signals inherited from SessionDialogBase
void deleteRequested (const QString &name)
 
- Protected Slots inherited from SessionDialogBase
void doDelete (const QString &name)
 SessionDialogBase::doDelete Deletes the specified session.
 
- Protected Member Functions inherited from SessionDialogBase
void setupTable ()
 setupTable Sets up the session table widget.
 
void populateSessionTable ()
 populateSessionTable Populates the session table with sessions from the store.
 
void connectSignals ()
 connectSignals Connects UI signals to their respective slots.
 
void onRowClicked (int row)
 SessionDialogBase::onRowClicked Slot called when a row in the session table is clicked.
 
void enableOKButton (bool enabled)
 enableOKButton Enables or disables the OK button.
 
void setOKButtonText (const QString &text)
 setOKButtonText Sets the text of the OK button.
 
void requestDeleteSelected ()
 SessionDialogBase::requestDeleteSelected Slot called when the delete button is clicked.
 
virtual void onAccept ()
 onAccept Slot called when the OK button is clicked.
 
- Protected Attributes inherited from SessionDialogBase
Ui::SessionDialog * ui
 
QList< Sessionsessions
 
SessionStorestore
 

Constructor & Destructor Documentation

◆ OpenSessionDialog()

OpenSessionDialog::OpenSessionDialog ( SessionStore store,
ActiveSettings activeSettings,
QWidget *  parent = nullptr 
)
explicit

OpenSessionDialog::OpenSessionDialog constructor.

Parameters
storeReference to the SessionStore.
activeSettingsReference to the ActiveSettings.
parentParent widget.

This dialog allows the user to open a saved session and load its settings into the active configuration.


The documentation for this class was generated from the following files: