CCIMXDesktop
Loading...
Searching...
No Matches
PanelWidget.h
1
#ifndef PANELWIDGET_H
2
#define PANELWIDGET_H
3
4
#include <QWidget>
5
class
QPropertyAnimation;
9
class
PanelWidget
:
public
QWidget {
10
Q_OBJECT
11
public
:
16
explicit
PanelWidget
(QWidget* parent =
nullptr
);
17
18
void
slideIn
();
19
void
slideOut
();
20
21
private
:
22
QPropertyAnimation* animation;
23
bool
isSlidingIn {
false
};
24
void
closePanel();
25
void
updatePosition();
32
bool
eventFilter(QObject* watched, QEvent* event)
override
;
33
};
34
35
#endif
// PANELWIDGET_H
PanelWidget
The PanelWidget class.
Definition
PanelWidget.h:9
PanelWidget::slideOut
void slideOut()
slide the widget out
Definition
PanelWidget.cpp:54
PanelWidget::slideIn
void slideIn()
slide the widget in
Definition
PanelWidget.cpp:35
builtin
app
CCCalendar
ui
panel_widget
PanelWidget.h
Generated by
1.9.8