| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef UNMOUNTUSBVIEW_H |
| 6 |
#define UNMOUNTUSBVIEW_H |
| 7 |
|
| 8 |
#include <DWidget> |
| 9 |
#include <QPointer> |
| 10 |
#include <DLabel> |
| 11 |
#include <DWaterProgress> |
| 12 |
#include <DTipLabel> |
| 13 |
#include <QVBoxLayout> |
| 14 |
#include <DPalette> |
| 15 |
#include <DApplicationHelper> |
| 16 |
#include <QBrush> |
| 17 |
#include <DFontSizeManager> |
| 18 |
#include "widgetutil.h" |
| 19 |
#include <DSpinner> |
| 20 |
DWIDGET_USE_NAMESPACE |
| 21 |
class UnmountUsbView : public DWidget |
| 22 |
{ |
| 23 |
Q_OBJECT |
| 24 |
public: |
| 25 |
explicit UnmountUsbView(QWidget *parent = nullptr); |
| 26 |
private: |
| 27 |
QPointer<DLabel>m_hitTitle; |
| 28 |
QPointer<DSpinner>m_spinner; |
| 29 |
signals: |
| 30 |
void startSpinner(); |
| 31 |
void finish1(quint32 error, const QString &title, const QString &description); |
| 32 |
void pauseSpinner(); |
| 33 |
public slots: |
| 34 |
}; |
| 35 |
|
| 36 |
#endif |