ServersStatusWidget Class Reference
+ Inheritance diagram for ServersStatusWidget:

Public Slots

void setMasterEnabledStatus (bool bEnabled)
 Changes the appearance of the widget basing on the boolean value. More...
 
void updateDisplay ()
 

Signals

void clicked (MasterClient *pClient)
 

Public Member Functions

 ServersStatusWidget (const QPixmap &icon, MasterClient *serverList)
 

Protected Slots

void addServer (const ServerPtr &server)
 
void registerServers ()
 
void removeServer (const ServerPtr &server)
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event)
 
void paintEvent (QPaintEvent *event)
 

Protected Attributes

bool bMasterIsEnabled
 
QPixmap icon
 
QPixmap iconDisabled
 
unsigned int numBots
 
unsigned int numPlayers
 
MasterClientserverList
 

Detailed Description

Definition at line 33 of file serversstatuswidget.h.

Member Function Documentation

void ServersStatusWidget::setMasterEnabledStatus ( bool  bEnabled)
slot

Changes the appearance of the widget basing on the boolean value.

If set to true, apperance will be clear. If set to false, appearance will be "grayed out".

Definition at line 126 of file serversstatuswidget.cpp.


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