#include </home/clem/local/src/opie/libopie2/opieui/olistview.h>
Inheritance diagram for Opie::Ui::OListView:

Public Slots | |
| void | expand () |
| void | collapse () |
Public Member Functions | |
| OListView (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| virtual | ~OListView () |
| void | setFullWidth (bool fullWidth) |
| bool | fullWidth () const |
| virtual int | addColumn (const QString &label, int width=-1) |
| virtual int | addColumn (const QIconSet &iconset, const QString &label, int width=-1) |
| virtual void | removeColumn (int index) |
| void | setAlternateBackground (const QColor &color) |
| void | setColumnSeparator (const QPen &pen) |
| const QColor & | alternateBackground () const |
| const QPen & | columnSeparator () const |
| virtual OListViewItem * | childFactory () |
| virtual void | serializeTo (QDataStream &stream) const |
| virtual void | serializeFrom (QDataStream &s) |
Protected Slots | |
| void | expand (QListViewItem *) |
Private Attributes | |
| QColor | m_alternateBackground |
| bool | m_fullWidth: 1 |
| QPen | m_columnSeparator |
| Private * | d |
A QListView variant featuring visual and functional enhancements like an alternate background for odd rows, an autostretch mode for the width of the widget ( >= Qt 3 only ) and persistence capabilities.
Definition at line 58 of file olistview.h.
|
||||||||||||||||
|
Constructor. The parameters parent and name are handled by QListView, as usual. Definition at line 48 of file olistview.cpp. References expand(), m_alternateBackground, m_columnSeparator, and m_fullWidth. |
|
|
Destructor. Definition at line 59 of file olistview.cpp. |
|
||||||||||||||||
|
Reimplemented for full width support Definition at line 88 of file olistview.cpp. |
|
||||||||||||
|
Reimplemented for full width support Definition at line 76 of file olistview.cpp. Referenced by Opie::Ui::ONamedListView::addColumns(), BenchmarkInfo::BenchmarkInfo(), CardDevice::CardDevice(), CpuDevice::CpuDevice(), DevicesView::DevicesView(), Opie::Ui::OKeyConfigWidget::initUi(), InputDevice::InputDevice(), ModulesInfo::ModulesInfo(), MScanListView::MScanListView(), MStatWindow::MStatWindow(), PacketView::PacketView(), ProcessInfo::ProcessInfo(), and TestMainWindow::TestMainWindow(). |
|
|
Definition at line 111 of file olistview.cpp. Referenced by Opie::Ui::OCheckListItem::isAlternate(), and Opie::Ui::OListViewItem::isAlternate(). |
|
|
Create a list view item as child of this object
Reimplemented in MScanListView. Definition at line 138 of file olistview.cpp. |
|
|
Collapse all items Definition at line 221 of file olistview.cpp. |
|
|
Definition at line 122 of file olistview.cpp. |
|
|
expand the current OListViewItem Definition at line 133 of file olistview.cpp. |
|
|
Expand all items Definition at line 209 of file olistview.cpp. Referenced by OListView(). |
|
|
Returns whether the last column is set to fit the available width. Definition at line 71 of file olistview.cpp. |
|
|
Reimplemented for full width support Definition at line 100 of file olistview.cpp. |
|
|
Serialize this object from a QDataStream stream Reimplemented in MScanListView. Definition at line 175 of file olistview.cpp. References i, items, QString::null, odebug, and oendl. Referenced by Opie::Ui::operator>>(). |
|
|
Serialize this object to QDataStream stream Reimplemented in MScanListView. Definition at line 144 of file olistview.cpp. References i, items, odebug, and oendl. Referenced by Opie::Ui::operator<<(). |
|
|
Set the alternate background background color. Set to an invalid color to disable alternate colors. This only has an effect if the items are OListViewItems Definition at line 116 of file olistview.cpp. |
|
|
Sets the column separator pen. Definition at line 127 of file olistview.cpp. |
|
|
Let the last column fit exactly all the available width. Definition at line 63 of file olistview.cpp. |
|
|
Reimplemented in Opie::Ui::ONamedListView. Definition at line 148 of file olistview.h. |
|
|
Definition at line 145 of file olistview.h. Referenced by OListView(). |
|
|
Definition at line 147 of file olistview.h. Referenced by OListView(). |
|
|
Definition at line 146 of file olistview.h. Referenced by OListView(). |
1.4.2