libyui-qt
2.43.5
|
#include <QY2DiskUsageList.h>
Public Member Functions | |
QY2DiskUsageList (QWidget *parent, bool addStdColumns=true) | |
virtual | ~QY2DiskUsageList () |
int | nameCol () const |
int | percentageBarCol () const |
int | usedSizeCol () const |
int | freeSizeCol () const |
int | totalSizeCol () const |
int | deviceNameCol () const |
virtual void | drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
QTreeWidgetItem * | itemFromIndex (const QModelIndex &index) const |
Protected Attributes | |
int | _nameCol |
int | _percentageBarCol |
int | _usedSizeCol |
int | _freeSizeCol |
int | _totalSizeCol |
int | _deviceNameCol |
Generic scrollable list of disk usage for any number of partitions.
Definition at line 42 of file QY2DiskUsageList.h.
QY2DiskUsageList::QY2DiskUsageList | ( | QWidget * | parent, |
bool | addStdColumns = true |
||
) |
Constructor.
Adds a standard set of list columns if 'addStdColumns' is 'true'. Otherwise the caller is responsible for adding any columns.
Definition at line 160 of file QY2DiskUsageList.cc.
QY2DiskUsageList::~QY2DiskUsageList | ( | ) | [virtual] |
Destructor
Definition at line 205 of file QY2DiskUsageList.cc.