List of disk usage of all attached partitions.
More...
#include <YQPkgDiskUsageList.h>
List of disk usage of all attached partitions.
◆ YQPkgDiskUsageList()
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? ).
◆ ~YQPkgDiskUsageList()
virtual YQPkgDiskUsageList::~YQPkgDiskUsageList |
( |
| ) |
|
|
inlinevirtual |
◆ keyPressEvent()
void YQPkgDiskUsageList::keyPressEvent |
( |
QKeyEvent * |
ev | ) |
|
|
protectedvirtual |
Event handler for keyboard input - for debugging and testing. Changes the current item's percentage on the fly.
Reimplemented from QListView / QWidget.
◆ postPendingWarnings
void YQPkgDiskUsageList::postPendingWarnings |
( |
| ) |
|
|
slot |
Post all pending disk space warnings based on the warning range notifiers.
◆ sizeHint()
QSize YQPkgDiskUsageList::sizeHint |
( |
| ) |
const |
|
virtual |
Suggest reasonable default size.
Reimplemented from QListView.
◆ updateDiskUsage
void YQPkgDiskUsageList::updateDiskUsage |
( |
| ) |
|
|
slot |
Update all statistical data in the list.
◆ overflowWarning
Warning range notifier about disk space overflow warning.
◆ runningOutWarning
Warning range notifier about running out of disk space warning.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDiskUsageList.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgDiskUsageList.cc