|
libyui-qt-pkg
2.47.5
|
List of disk usage of all attached partitions. More...
#include <YQPkgDiskUsageList.h>


Public Slots | |
| void | updateDiskUsage () |
| Update all statistical data in the list. | |
| void | postPendingWarnings () |
| Post all pending disk space warnings based on the warning range notifiers. | |
Public Member Functions | |
| YQPkgDiskUsageList (QWidget *parent, int thresholdPercent=0) | |
| Constructor. More... | |
| virtual | ~YQPkgDiskUsageList () |
| Destructor. | |
| virtual QSize | sizeHint () const |
| Suggest reasonable default size. More... | |
Public Attributes | |
| YQPkgWarningRangeNotifier | runningOutWarning |
| Warning range notifier about running out of disk space warning. | |
| YQPkgWarningRangeNotifier | overflowWarning |
| Warning range notifier about disk space overflow warning. | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *ev) |
| Event handler for keyboard input - for debugging and testing. More... | |
Protected Attributes | |
| QMap< QString, YQPkgDiskUsageListItem * > | _items |
| bool | _debug |
List of disk usage of all attached partitions.
Definition at line 149 of file YQPkgDiskUsageList.h.
| YQPkgDiskUsageList::YQPkgDiskUsageList | ( | QWidget * | parent, |
| int | thresholdPercent = 0 |
||
| ) |
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? ).
Definition at line 86 of file YQPkgDiskUsageList.cc.
|
protectedvirtual |
Event handler for keyboard input - for debugging and testing.
Changes the current item's percentage on the fly.
Reimplemented from QListView / QWidget.
Definition at line 203 of file YQPkgDiskUsageList.cc.

|
virtual |
Suggest reasonable default size.
Reimplemented from QListView.
Definition at line 181 of file YQPkgDiskUsageList.cc.