Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
HeaderWidget Class Reference

The HeaderWidget is the top part of the LauncherWindow and contains the info and a normally hidden message/info box. More...

#include <headerwidget.h>

Inheritance diagram for HeaderWidget:

Public Slots

void cancel_message ()
 
void showMessage (QString message, int timeout)
 
void showMessage (QString message)
 

Public Member Functions

 HeaderWidget (MainObject *mob, QWidget *parent=0)
 
void setCallsign (QString text)
 
void setHeader (QString text)
 

Public Attributes

QLabelcallsignLabel
 
QLabelheaderLabel
 
MainObjectmainObject
 
QLabelmessageLabel
 

Detailed Description

The HeaderWidget is the top part of the LauncherWindow and contains the info and a normally hidden message/info box.

Definition at line 23 of file headerwidget.h.

Constructor & Destructor Documentation

HeaderWidget::HeaderWidget ( MainObject mob,
QWidget parent = 0 
)
explicit

Definition at line 22 of file headerwidget.cpp.

Member Function Documentation

void HeaderWidget::cancel_message ( )
slot

Definition at line 73 of file headerwidget.cpp.

Referenced by showMessage().

void HeaderWidget::setCallsign ( QString  text)

Definition at line 89 of file headerwidget.cpp.

Referenced by LauncherWindow::on_upx().

void HeaderWidget::setHeader ( QString  text)

Definition at line 82 of file headerwidget.cpp.

Referenced by LauncherWindow::on_upx().

void HeaderWidget::showMessage ( QString  message)
slot

Definition at line 60 of file headerwidget.cpp.

Member Data Documentation

QLabel* HeaderWidget::callsignLabel

Definition at line 35 of file headerwidget.h.

Referenced by HeaderWidget(), and setCallsign().

QLabel* HeaderWidget::headerLabel

Definition at line 34 of file headerwidget.h.

Referenced by HeaderWidget(), and setHeader().

MainObject* HeaderWidget::mainObject

Definition at line 29 of file headerwidget.h.

Referenced by HeaderWidget().

QLabel* HeaderWidget::messageLabel

Definition at line 38 of file headerwidget.h.

Referenced by cancel_message(), HeaderWidget(), and showMessage().


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