#include <YQPkgDiskUsageList.h>
Inheritance diagram for YQPkgDiskUsageList:
Public Slots | |
void | updateDiskUsage () |
void | postPendingWarnings () |
Public Member Functions | |
YQPkgDiskUsageList (QWidget *parent, int thresholdPercent=0) | |
virtual | ~YQPkgDiskUsageList () |
void | fakeData () |
virtual QSize | sizeHint () const |
Public Attributes | |
YQPkgWarningRangeNotifier | runningOutWarning |
YQPkgWarningRangeNotifier | overflowWarning |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *ev) |
Protected Attributes | |
QAsciiDict< YQPkgDiskUsageListItem > | _items |
bool | _debug |
|
Constructor. 'thresholdPercent' can be used to include only partitions with at least this many percent used disk space in the list. This is useful for warning dialogs ( only? ). |
|
Destructor. |
|
For debugging: Add some fake data. |
|
Event handler for keyboard input - for debugging and testing. Changes the current item's percentage on the fly. Reimplemented from QListView / QWidget. |
|
Post all pending disk space warnings based on the warning range notifiers. |
|
Suggest reasonable default size. Reimplemented from QListView. |
|
Update all statistical data in the list. |
|
|
|
|
|
Warning range notifier about disk space overflow warning. |
|
Warning range notifier about running out of disk space warning. |