Freeciv-3.3
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
mpgui_main Class Reference

#include <mpgui_qt.h>

+ Inheritance diagram for mpgui_main:

Public Member Functions

 mpgui_main (QApplication *qapp_in, QWidget *central_in)
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 

Private Member Functions

void popup_quit_dialog ()
 

Private Attributes

QApplicationqapp
 
QWidget * central
 

Detailed Description

Definition at line 33 of file mpgui_qt.h.

Constructor & Destructor Documentation

◆ mpgui_main()

mpgui_main::mpgui_main ( QApplication qapp_in,
QWidget *  central_in 
)

Main window constructor

Definition at line 482 of file mpgui_qt.cpp.

Member Function Documentation

◆ closeEvent()

void mpgui_main::closeEvent ( QCloseEvent event)
protected

User clicked windows close button.

Definition at line 516 of file mpgui_qt.cpp.

◆ popup_quit_dialog()

void mpgui_main::popup_quit_dialog ( )
private

Open dialog to confirm that user wants to quit modpack installer.

Definition at line 491 of file mpgui_qt.cpp.

Referenced by closeEvent().

Field Documentation

◆ central

QWidget* mpgui_main::central
private

Definition at line 43 of file mpgui_qt.h.

Referenced by mpgui_main(), and popup_quit_dialog().

◆ qapp

QApplication* mpgui_main::qapp
private

Definition at line 42 of file mpgui_qt.h.

Referenced by mpgui_main(), and popup_quit_dialog().