1 #ifndef MUSICSCREENSAVERWIDGET_H
2 #define MUSICSCREENSAVERWIDGET_H
23 #include <QPushButton>
24 #include <QGridLayout>
46 void setFilePath(
const QString &path);
50 void setStatus(
int index,
bool status);
54 void display(
const QPoint &point);
60 void itemClicked(
int index,
bool status);
66 void switchButtonState();
72 virtual void leaveEvent(QEvent *event)
override final;
73 virtual void focusOutEvent(QFocusEvent *event)
override final;
74 virtual void paintEvent(QPaintEvent *event)
override final;
104 void setFilePath(
const QString &path);
108 void setStatus(
int index,
bool status);
112 void setHoverVisible(
bool v);
118 virtual void enterEvent(
QtEnterEvent *event)
override final;
146 void addCellItem(QObject *
object,
const QString &path,
int index,
bool status);
156 virtual void resizeEvent(QResizeEvent *event)
override final;
181 void applyParameter();
191 static QVector<bool> parseSettingParameter();
197 void inputDataChanged();
201 void switchButtonState();
205 void downLoadFinished(
const QString &bytes);
209 void currentItemClicked(
int index,
bool status);
252 void runningTimeout();
256 void backgroundTimeout();
262 virtual bool eventFilter(QObject *watched, QEvent *event)
override final;
272 #endif // MUSICSCREENSAVERWIDGET_H
#define QtEnterEvent
Event enter.
#define TTK_MODULE_EXPORT
The class of the screen saver list item.
MusicScreenSaverHoverItem * m_hoverItem
The class of the download data from queue request.
The class of the label transition animation.
QPushButton * m_enableButton
#define TTK_DECLARE_MODULE(Class)
The class of the widget resize interface.
virtual void resizeWidget()=0
The class of the screen saver hover item.