1 /***************************************************************************
2 * -------------------------------------------------------------------- *
3 * Copyright (C) 2008, Nicolas Ternisien <nicolas.ternisien@gmail.com> *
4 * -------------------------------------------------------------------- *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #ifndef USED_SIZE_WIDGET_H
12 #define USED_SIZE_WIDGET_H
16 class UsedSizeWidget
: public QWidget
{
19 UsedSizeWidget(QWidget
* parent
= NULL
);
21 void setUsedSize(const QString
& mountPoint
, quint64 totalSize
, quint64 usedSize
, quint64 availableSize
);
24 virtual void paintEvent(QPaintEvent
* event
);
30 quint64 availableSize
;
35 #endif // USED_SIZE_WIDGET_H