27 #include <QGraphicsObject>
29 #include "CustomEvents.h"
31 #define MAX_NOTIF_ICONS 10
32 #define NOTIF_ICON_WIDTH 24 // $$$ constant width??
33 #define ARROW_SPACING 7
35 #define kMaxTitleLength 60
37 #define kStatusBarQtLetterSpacing 90
125 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget);
127 void resize(
int w,
int h);
133 void setMaximizedAppTitle(
bool appMaximized,
const char* title = 0,
const unsigned int customColor = 0,
bool appTitleActionable =
true);
150 void slotTimeFormatChanged(
const char* format);
151 void slotPhoneTypeUpdated();
152 void slotCarrierTextChanged(
const char* text);
155 void slotTTYStateChanged(
bool enabled);
156 void slotHACStateChanged(
bool enabled);
157 void slotCallForwardStateChanged(
bool enabled);
158 void slotRoamingStateChanged(
bool enabled);
159 void slotVpnStateChanged(
bool enabled);
163 void slotRotationLockChanged(OrientationEvent::Orientation rotationLock);
164 void slotMuteSoundChanged(
bool muteOn);
165 void slotChildBoundingRectChanged();
166 void slotNotificationArealVisibilityChanged(
bool visible);
167 void slotBannerMessageActivated();
168 void slotNotificationMenuAction(
bool active);
169 void slotSystemMenuMenuAction(
bool active);
170 void slotAppMenuMenuAction(
bool active);
171 void slotBannerActivated();
172 void slotBannerDeactivated();
174 void slotDockModeStatusChanged(
bool enabled);
178 void setBackgroundColor(
bool custom, QColor color=Qt::black);
181 void fadeAnimValueChanged(
const QVariant& value);
182 void colorAnimValueChanged(
const QVariant& value);
184 void fadeBar(
bool in);
189 static QColor s_defaultColor;
191 bool m_showRssiIndicators;
209 bool m_platformHasPhoneRadio;
210 std::string m_carrierText;
211 std::string m_appTitle;
216 QPixmap* m_bkgPixmap;
217 QColor m_barColor, m_curColor, m_newColor;
221 QPointer<tStatusBarAnim> m_fadeAnimPtr;
222 QPointer<tStatusBarAnim> m_colorAnimPtr;