LunaSysMgr
|
#include <StatusBarInfo.h>
Public Member Functions | |
StatusBarInfo (StatusBar::StatusBarType type) | |
~StatusBarInfo () | |
int | width () const |
int | height () const |
QRectF | boundingRect () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
void | init () |
StatusBar::StatusBarType | getType () |
void | setRSSI (bool shown, StatusBar::IndexRSSI index) |
void | setRSSI1x (bool shown, StatusBar::IndexRSSI1x index) |
void | setTTY (bool enabled) |
void | setHAC (bool enabled) |
void | setCallForward (bool enabled) |
void | setRoaming (bool enabled) |
void | setVpn (bool enabled) |
void | setWAN (bool shown, StatusBar::IndexWAN index) |
void | setBluetooth (bool shown, StatusBar::IndexBluetooth index) |
void | setWifi (bool shown, StatusBar::IndexWiFi index) |
void | setRotationLock (bool locked) |
void | setMute (bool muteOn) |
void | setAirplaneMode (bool airplaneModeOn) |
void | updateBoundingRect (bool forceRepaint=false) |
Public Member Functions inherited from StatusBarItem | |
StatusBarItem (Alignment align=AlignCenter, bool overridesArrowOpacity=false) | |
~StatusBarItem () | |
Alignment | alignment () const |
Public Member Functions inherited from StatusBarIconContainer | |
virtual void | iconRemoved (StatusBarIcon *icon) |
Additional Inherited Members | |
Public Types inherited from StatusBarItem | |
enum | Alignment { AlignCenter = 0, AlignRight, AlignLeft } |
Signals inherited from StatusBarItem | |
void | signalBoundingRectChanged () |
Protected Attributes inherited from StatusBarItem | |
Alignment | m_alignment |
QRectF | m_bounds |
StatusBarInfo::StatusBarInfo | ( | StatusBar::StatusBarType | type | ) |
StatusBarInfo::~StatusBarInfo | ( | ) |
QRectF StatusBarInfo::boundingRect | ( | ) | const |
|
inline |
|
inline |
void StatusBarInfo::init | ( | ) |
void StatusBarInfo::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
void StatusBarInfo::setAirplaneMode | ( | bool | airplaneModeOn | ) |
void StatusBarInfo::setBluetooth | ( | bool | shown, |
StatusBar::IndexBluetooth | index | ||
) |
void StatusBarInfo::setCallForward | ( | bool | enabled | ) |
void StatusBarInfo::setHAC | ( | bool | enabled | ) |
void StatusBarInfo::setMute | ( | bool | muteOn | ) |
void StatusBarInfo::setRoaming | ( | bool | enabled | ) |
void StatusBarInfo::setRotationLock | ( | bool | locked | ) |
void StatusBarInfo::setRSSI | ( | bool | shown, |
StatusBar::IndexRSSI | index | ||
) |
void StatusBarInfo::setRSSI1x | ( | bool | shown, |
StatusBar::IndexRSSI1x | index | ||
) |
void StatusBarInfo::setTTY | ( | bool | enabled | ) |
void StatusBarInfo::setVpn | ( | bool | enabled | ) |
void StatusBarInfo::setWAN | ( | bool | shown, |
StatusBar::IndexWAN | index | ||
) |
void StatusBarInfo::setWifi | ( | bool | shown, |
StatusBar::IndexWiFi | index | ||
) |
|
virtual |
Implements StatusBarIconContainer.
|
inline |