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

Public Slots

void connected ()
 PreferencesDialog::connected - disable some settings when connected to a host.
 
void disconnected ()
 PreferencesDialog::disconnected - enable some settings when not connected to a host.
 

Signals

void tempFontChange (QFont f)
 
void tempFontTweakChange (Q3270::FontTweak f)
 
void themesApplied (const QString &name)
 
void connectValid (bool state)
 

Public Member Functions

 PreferencesDialog (CodePage &codepages, ActiveSettings &activeSettings, KeyboardStore &keyboardStore, ColourStore &colourStore, QWidget *parent=nullptr)
 PreferencesDialog::PreferencesDialog - The preferences dialog.
 
 ~PreferencesDialog ()
 PreferencesDialog::~PreferencesDialog - destructor.
 
void showForm ()
 PreferencesDialog::showForm - display the Preferences dialog.
 

Constructor & Destructor Documentation

◆ PreferencesDialog()

PreferencesDialog::PreferencesDialog ( CodePage codepages,
ActiveSettings activeSettings,
KeyboardStore keyboardStore,
ColourStore colourStore,
QWidget *  parent = nullptr 
)
explicit

PreferencesDialog::PreferencesDialog - The preferences dialog.

Parameters
codepages- the shared CodePage object
activeSettings- the shared currently active settings
keyboardStore- the shared KeyboardStore persistence layer
colourStore- the shared ColourStore persistence layer
parent- the parent window

Initialise the Preferences dialog.

◆ ~PreferencesDialog()

PreferencesDialog::~PreferencesDialog ( )

PreferencesDialog::~PreferencesDialog - destructor.

Delete objects acquired by 'new'.

Member Function Documentation

◆ connected

void PreferencesDialog::connected ( )
slot

PreferencesDialog::connected - disable some settings when connected to a host.

When connected to a host, there are some settngs that cannot be changed. This is because these settings are only of use during connection negotiation and are not used unless the connection is closed and reopened.

◆ disconnected

void PreferencesDialog::disconnected ( )
slot

PreferencesDialog::disconnected - enable some settings when not connected to a host.

When connected to a host, there are some settngs that cannot be changed. This is because these settings are only of use during connection negotiation and are not used unless the connection is closed and reopened.

◆ showForm()

void PreferencesDialog::showForm ( )

PreferencesDialog::showForm - display the Preferences dialog.

Populate the various dialog fields from the active settings and show the form. This saves the coding required to save/restore settings before the form is displayed and to restore those settings if the user pressed Cancel.


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