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

#include <ruledit_qt.h>

+ Inheritance diagram for ruledit_main:

Public Member Functions

 ruledit_main (QApplication *qapp_in, QWidget *central_in)
 

Protected Member Functions

void closeEvent (QCloseEvent *cevent)
 

Private Member Functions

void popup_quit_dialog ()
 

Private Attributes

QApplicationqapp
 
QWidget * central
 

Detailed Description

Definition at line 53 of file ruledit_qt.h.

Constructor & Destructor Documentation

◆ ruledit_main()

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

Main window constructor

Definition at line 451 of file ruledit_qt.cpp.

Member Function Documentation

◆ closeEvent()

void ruledit_main::closeEvent ( QCloseEvent cevent)
protected

User clicked windows close button.

Definition at line 508 of file ruledit_qt.cpp.

◆ popup_quit_dialog()

void ruledit_main::popup_quit_dialog ( )
private

Open dialog to confirm that user wants to quit ruledit.

Definition at line 483 of file ruledit_qt.cpp.

Referenced by closeEvent().

Field Documentation

◆ central

QWidget* ruledit_main::central
private

Definition at line 63 of file ruledit_qt.h.

Referenced by popup_quit_dialog(), and ruledit_main().

◆ qapp

QApplication* ruledit_main::qapp
private

Definition at line 62 of file ruledit_qt.h.

Referenced by popup_quit_dialog(), and ruledit_main().