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

Public Slots

void closeEvent (QCloseEvent *c)
 MainWindow::closeEvent - close the window.
 
void showEvent (QShowEvent *s)
 MainWindow::showEvent - resize the content when the window is shown.
 
void resizeEvent (QResizeEvent *s)
 MainWindow::resizeEvent - resize the content when the window is resized.
 

Public Member Functions

 MainWindow (LaunchParms lp={})
 MainWindow::MainWindow - the main application.
 
 ~MainWindow ()
 MainWindow::~MainWindow - destructor.
 

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( LaunchParms  launchParms = {})
explicit

MainWindow::MainWindow - the main application.

Parameters
launchParms- a name

Initialise the application, and open any session name passed to it. The session is a struct that contains an existing MainWindow or null if this is the first one, and any session name to be opened.

◆ ~MainWindow()

MainWindow::~MainWindow ( )

MainWindow::~MainWindow - destructor.

Delete any objects obtained via 'new'.

Member Function Documentation

◆ closeEvent

void MainWindow::closeEvent ( QCloseEvent *  event)
slot

MainWindow::closeEvent - close the window.

Parameters
event- the close event

Called when the user clicks the Close Window button.

◆ resizeEvent

void MainWindow::resizeEvent ( QResizeEvent *  event)
slot

MainWindow::resizeEvent - resize the content when the window is resized.

Parameters
event- the event

Ensure that the content of the terminal fits inside the window when the window is resized.

◆ showEvent

void MainWindow::showEvent ( QShowEvent *  event)
slot

MainWindow::showEvent - resize the content when the window is shown.

Parameters
event- the event

Ensure that the content of the terminal fits inside the window when the window is displayed.


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