LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StatusBar Class Reference

#include <StatusBar.h>

Inheritance diagram for StatusBar:
[legend]
Collaboration diagram for StatusBar:
[legend]

Public Types

enum  StatusBarType { TypeNormal = 0, TypeLockScreen, TypeDockMode, TypeFirstUse }
 
enum  IndexRSSI {
  RSSI_0 = 0, RSSI_1, RSSI_2, RSSI_3,
  RSSI_4, RSSI_5, RSSI_FLIGHT_MODE, RSSI_ERROR,
  RSSI_EV_0, RSSI_EV_1, RSSI_EV_2, RSSI_EV_3,
  RSSI_EV_4, RSSI_EV_5
}
 
enum  IndexRSSI1x {
  RSSI_1X_0 = 0, RSSI_1X_1, RSSI_1X_2, RSSI_1X_3,
  RSSI_1X_4, RSSI_1X_5
}
 
enum  IndexWAN {
  WAN_OFF = 0, WAN_CONNECTED_1X, WAN_DORMANT_1X, WAN_CONNECTED_EDGE,
  WAN_CONNECTED_EVDO, WAN_DORMANT_EVDO, WAN_CONNECTED_EVDO3G, WAN_DORMANT_EVDO3G,
  WAN_CONNECTED_GPRS, WAN_CONNECTED_UMTS, WAN_CONNECTED_HSDPA, WAN_CONNECTED_HSPA_4G
}
 
enum  IndexBluetooth { BLUETOOTH_OFF = 0, BLUETOOTH_ON, BLUETOOTH_CONNECTING, BLUETOOTH_CONNECTED }
 
enum  IndexWiFi {
  WIFI_OFF = 0, WIFI_ON, WIFI_CONNECTING, WIFI_BAR_1,
  WIFI_BAR_2, WIFI_BAR_3
}
 

Signals

void signalDashboardAreaRightEdgeOffset (int rightOffset)
 
void signalSystemMenuStateChanged (bool opened)
 
void signalDockModeMenuStateChanged (bool opened)
 

Public Member Functions

 StatusBar (StatusBarType type, int width, int height)
 
virtual ~StatusBar ()
 
void init ()
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void resize (int w, int h)
 
bool sceneEvent (QEvent *event)
 
StatusBarType getType ()
 
void setMaximizedAppTitle (bool appMaximized, const char *title=0, const unsigned int customColor=0, bool appTitleActionable=true)
 
void setBarOpaque (bool opaque)
 
void setCarrierText (const char *carrierTxt)
 
void setRssiShown (bool shown)
 
void setNotificationWindowOpen (bool open)
 
void setSystemMenuOpen (bool open)
 
void setDockModeAppMenuOpen (bool open)
 
void setSystemMenuObject (QGraphicsObject *menu)
 

Member Enumeration Documentation

Enumerator
BLUETOOTH_OFF 
BLUETOOTH_ON 
BLUETOOTH_CONNECTING 
BLUETOOTH_CONNECTED 
Enumerator
RSSI_0 
RSSI_1 
RSSI_2 
RSSI_3 
RSSI_4 
RSSI_5 
RSSI_FLIGHT_MODE 
RSSI_ERROR 
RSSI_EV_0 
RSSI_EV_1 
RSSI_EV_2 
RSSI_EV_3 
RSSI_EV_4 
RSSI_EV_5 
Enumerator
RSSI_1X_0 
RSSI_1X_1 
RSSI_1X_2 
RSSI_1X_3 
RSSI_1X_4 
RSSI_1X_5 
Enumerator
WAN_OFF 
WAN_CONNECTED_1X 
WAN_DORMANT_1X 
WAN_CONNECTED_EDGE 
WAN_CONNECTED_EVDO 
WAN_DORMANT_EVDO 
WAN_CONNECTED_EVDO3G 
WAN_DORMANT_EVDO3G 
WAN_CONNECTED_GPRS 
WAN_CONNECTED_UMTS 
WAN_CONNECTED_HSDPA 
WAN_CONNECTED_HSPA_4G 
Enumerator
WIFI_OFF 
WIFI_ON 
WIFI_CONNECTING 
WIFI_BAR_1 
WIFI_BAR_2 
WIFI_BAR_3 
Enumerator
TypeNormal 
TypeLockScreen 
TypeDockMode 
TypeFirstUse 

Constructor & Destructor Documentation

StatusBar::StatusBar ( StatusBarType  type,
int  width,
int  height 
)
StatusBar::~StatusBar ( )
virtual

Member Function Documentation

QRectF StatusBar::boundingRect ( ) const
inline
StatusBarType StatusBar::getType ( )
inline
void StatusBar::init ( )
void StatusBar::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
void StatusBar::resize ( int  w,
int  h 
)
bool StatusBar::sceneEvent ( QEvent event)
void StatusBar::setBarOpaque ( bool  opaque)
void StatusBar::setCarrierText ( const char *  carrierTxt)
void StatusBar::setDockModeAppMenuOpen ( bool  open)
void StatusBar::setMaximizedAppTitle ( bool  appMaximized,
const char *  title = 0,
const unsigned int  customColor = 0,
bool  appTitleActionable = true 
)
void StatusBar::setNotificationWindowOpen ( bool  open)
void StatusBar::setRssiShown ( bool  shown)
void StatusBar::setSystemMenuObject ( QGraphicsObject menu)
void StatusBar::setSystemMenuOpen ( bool  open)
void StatusBar::signalDashboardAreaRightEdgeOffset ( int  rightOffset)
signal
void StatusBar::signalDockModeMenuStateChanged ( bool  opened)
signal
void StatusBar::signalSystemMenuStateChanged ( bool  opened)
signal

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