31 #include <QAbstractAnimation>
47 Q_ENUM(PlacementPolicy)
54 int showNotification(
const QString&,
const QString&,
int timeout = -1);
55 void hideNotification(
const QString& = QString());
56 void hideNotification(
const int);
59 void setWindow(
QWidget* window);
61 double notificationSize()
const;
62 void setNotificationSize(
const double);
64 int animationTime()
const;
65 void setAnimationTime(
const int);
67 PlacementPolicy placementPolicy()
const;
68 void setPlacementPolicy(
const PlacementPolicy&);
70 int alignment()
const;
71 void setAlignment(
const int);
76 void onArrangeTimeout();
77 void onAnimationDestroyed(
QObject*);
80 void triggerArrange();
81 void updateArrangement();
82 void arrangeNotifications(
bool =
true);
84 NotifyWidget* notification(
const int);
85 NotifyWidget* notification(
const QString&);
86 void removeNotification(NotifyWidget*);
88 int generateId()
const;
90 bool isAnimated()
const;
92 bool hasAcitveAnimation()
const;
93 void startAnimation(QAbstractAnimation*);
94 void stopAnimation(QAbstractAnimation*);
96 QPoint referencePoint()
const;
97 int notificationWidth()
const;
#define QTX_EXPORT
Definition: Qtx.h:36
For more information see QT documentation.
Definition: SUIT_Application.h:42
Definition: QtxNotify.h:36
PlacementPolicy myPlacement
Definition: QtxNotify.h:106
bool myAnimBlock
Definition: QtxNotify.h:111
QTimer * myArrangeTimer
Definition: QtxNotify.h:108
QList< QAbstractAnimation * > AnimationList
Definition: QtxNotify.h:101
int myAlignment
Definition: QtxNotify.h:107
QList< QtxNotify::NotifyWidget * > NotifyList
Definition: QtxNotify.h:100
PlacementPolicy
Definition: QtxNotify.h:42
@ TopToBottom
Definition: QtxNotify.h:43
AnimationList myAnimations
Definition: QtxNotify.h:112
QWidget * myWindow
Definition: QtxNotify.h:105
double mySize
Definition: QtxNotify.h:104
NotifyList myNotifications
Definition: QtxNotify.h:114
int myAnimTime
Definition: QtxNotify.h:110