libyui-qt
|
#include <QY2DiskUsageList.h>
Public Member Functions | |
QY2DiskUsageList (QWidget *parent, bool addStdColumns=true) | |
virtual | ~QY2DiskUsageList () |
int | nameCol () const |
int | percentageBarCol () const |
int | freeSizeCol () const |
int | totalSizeCol () const |
virtual void | drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
QTreeWidgetItem * | itemFromIndex (const QModelIndex &index) const |
![]() | |
QY2ListView (QWidget *parent) | |
virtual | ~QY2ListView () |
virtual QString | toolTip (QTreeWidgetItem *item, int column) |
bool | sortByInsertionSequence () const |
virtual void | setSortByInsertionSequence (bool sortByInsertionSequence) |
int | nextSerial () |
virtual QSize | minimumSizeHint () const |
virtual bool | eventFilter (QObject *obj, QEvent *event) |
Protected Attributes | |
int | _nameCol |
int | _percentageBarCol |
int | _freeSizeCol |
int | _totalSizeCol |
![]() | |
QTreeWidgetItem * | _mousePressedItem |
int | _mousePressedCol |
Qt::MouseButton | _mousePressedButton |
std::vector< int > | _savedColumnWidth |
bool | _sortByInsertionSequence |
int | _nextSerial |
QY2ListViewToolTip * | _toolTip |
bool | _mouseButton1PressedInHeader |
bool | _finalSizeChangeExpected |
Additional Inherited Members | |
![]() | |
virtual void | selectSomething () |
virtual void | clear () |
void | updateItemStates () |
void | updateItemData () |
void | saveColumnWidths () |
void | restoreColumnWidths () |
![]() | |
void | columnClicked (int button, QTreeWidgetItem *item, int col, const QPoint &pos) |
void | columnDoubleClicked (int button, QTreeWidgetItem *item, int col, const QPoint &pos) |
![]() | |
void | columnWidthChanged (int col, int oldSize, int newSize) |
void | treeExpanded (QTreeWidgetItem *listViewItem) |
void | treeCollapsed (QTreeWidgetItem *listViewItem) |
![]() | |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
Generic scrollable list of disk usage for any number of partitions.
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.
|
virtual |
Destructor