#include <editlistviewdialog.h>
Inherits KDialogBase.
Public Slots | |
| void | updateItemProperties (TQListBoxItem *) |
| void | newItem () |
| void | removeItem () |
| void | MoveItemUp () |
| void | MoveItemDown () |
| void | changeProperty (KoProperty::Set &set, KoProperty::Property &property) |
| void | updateButtons (TQListViewItem *) |
| void | newRow () |
| void | newChildRow () |
| void | removeRow () |
| void | MoveRowUp () |
| void | MoveRowDown () |
Public Member Functions | |
| EditListViewDialog (TQWidget *parent) | |
| int | exec (TQListView *listview) |
Protected Types | |
| enum | { BNewRow = 10 , BNewChild , BRemRow , BRowUp , BRowDown , BColAdd = 20 , BColRem , BColUp , BColDown } |
Protected Member Functions | |
| void | loadChildNodes (TQListView *listview, TQListViewItem *item, TQListViewItem *parent) |
Protected Attributes | |
| KoProperty::Editor * | m_editor |
| KoProperty::Set * | m_propSet |
| TQFrame * | m_contents |
| TQFrame * | m_column |
| TDEListBox * | m_listbox |
| TDEListView * | m_listview |
| TQIntDict< TQToolButton > | m_buttons |
Detailed Description
A dialog to edit the contents of a listvuew (TDEListView or TQListView)
The dialog contains two pages, one to edit columns and one to edit ist items. KoProperty::Editor is used in columns to edit column properties (there are two properties not supported by TQt Designer: 'width' and 'resizable'). The user can enter list contents inside the list using TDEListViewItem::setRenameable(). Pixmaps are not yet supported.
Definition at line 49 of file editlistviewdialog.h.
Member Enumeration Documentation
◆ anonymous enum
Definition at line 83 of file editlistviewdialog.h.
Constructor & Destructor Documentation
◆ EditListViewDialog()
| KFormDesigner::EditListViewDialog::EditListViewDialog | ( | TQWidget * | parent | ) |
A Dialog to edit the contents of a listview /////////////////////.
Definition at line 41 of file editlistviewdialog.cpp.
◆ ~EditListViewDialog()
|
inline |
Definition at line 56 of file editlistviewdialog.h.
Member Function Documentation
◆ changeProperty
|
slot |
Columns page slots ///////.
Definition at line 225 of file editlistviewdialog.cpp.
◆ exec()
| int KFormDesigner::EditListViewDialog::exec | ( | TQListView * | listview | ) |
Definition at line 162 of file editlistviewdialog.cpp.
◆ loadChildNodes()
|
protected |
Loads all child items of item into listview (may be different from the items 's listview) as child of parent item. This is used to copy the contents of a listview into another listview.
Definition at line 364 of file editlistviewdialog.cpp.
◆ MoveItemDown
|
slot |
Definition at line 321 of file editlistviewdialog.cpp.
◆ MoveItemUp
|
slot |
Definition at line 296 of file editlistviewdialog.cpp.
◆ MoveRowDown
|
slot |
Definition at line 451 of file editlistviewdialog.cpp.
◆ MoveRowUp
|
slot |
Definition at line 443 of file editlistviewdialog.cpp.
◆ newChildRow
|
slot |
Definition at line 422 of file editlistviewdialog.cpp.
◆ newItem
|
slot |
Definition at line 271 of file editlistviewdialog.cpp.
◆ newRow
|
slot |
Definition at line 407 of file editlistviewdialog.cpp.
◆ removeItem
|
slot |
Definition at line 281 of file editlistviewdialog.cpp.
◆ removeRow
|
slot |
Definition at line 437 of file editlistviewdialog.cpp.
◆ updateButtons
|
slot |
Contents page slots ////////.
Definition at line 348 of file editlistviewdialog.cpp.
◆ updateItemProperties
|
slot |
Definition at line 249 of file editlistviewdialog.cpp.
Member Data Documentation
◆ m_buttons
|
protected |
Definition at line 89 of file editlistviewdialog.h.
◆ m_column
|
protected |
Definition at line 86 of file editlistviewdialog.h.
◆ m_contents
|
protected |
Definition at line 86 of file editlistviewdialog.h.
◆ m_editor
|
protected |
Definition at line 84 of file editlistviewdialog.h.
◆ m_listbox
|
protected |
Definition at line 87 of file editlistviewdialog.h.
◆ m_listview
|
protected |
Definition at line 88 of file editlistviewdialog.h.
◆ m_propSet
|
protected |
Definition at line 85 of file editlistviewdialog.h.
The documentation for this class was generated from the following files:
