KFormDesigner::EditListViewDialog Class Reference
#include <editlistviewdialog.h>
Inheritance diagram for KFormDesigner::EditListViewDialog:

Detailed Description
A dialog to edit the contents of a listvuew (KListView or QListView).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 Qt Designer: 'width' and 'resizable'). The user can enter list contents inside the list using KListViewItem::setRenameable(). Pixmaps are not yet supported.
Definition at line 49 of file editlistviewdialog.h.
Public Slots | |
| void | updateItemProperties (QListBoxItem *) |
| void | newItem () |
| void | removeItem () |
| void | MoveItemUp () |
| void | MoveItemDown () |
| void | changeProperty (KoProperty::Set &set, KoProperty::Property &property) |
| Columns page slots ///////. | |
| void | updateButtons (QListViewItem *) |
| Contents page slots ////////. | |
| void | newRow () |
| void | newChildRow () |
| void | removeRow () |
| void | MoveRowUp () |
| void | MoveRowDown () |
Public Member Functions | |
| EditListViewDialog (QWidget *parent) | |
| A Dialog to edit the contents of a listview /////////////////////. | |
| ~EditListViewDialog () | |
| int | exec (QListView *listview) |
Protected Types | |
| enum | { BNewRow = 10, BNewChild, BRemRow, BRowUp, BRowDown, BColAdd = 20, BColRem, BColUp, BColDown } |
Protected Member Functions | |
| void | loadChildNodes (QListView *listview, QListViewItem *item, QListViewItem *parent) |
Protected Attributes | |
| KoProperty::Editor * | m_editor |
| KoProperty::Set * | m_propSet |
| QFrame * | m_contents |
| QFrame * | m_column |
| KListBox * | m_listbox |
| KListView * | m_listview |
| QIntDict< QToolButton > | m_buttons |
Member Enumeration Documentation
|
|
Definition at line 82 of file editlistviewdialog.h. |
Constructor & Destructor Documentation
|
|
A Dialog to edit the contents of a listview /////////////////////.
Definition at line 41 of file editlistviewdialog.cpp. References BColAdd, BColDown, BColRem, BColUp, BNewChild, BNewRow, BRemRow, BRowDown, BRowUp, changeProperty(), m_buttons, m_column, m_contents, m_editor, m_listbox, m_listview, m_propSet, MoveItemDown(), MoveItemUp(), MoveRowDown(), MoveRowUp(), newChildRow(), newItem(), newRow(), removeItem(), removeRow(), updateButtons(), and updateItemProperties(). |
|
|
Definition at line 55 of file editlistviewdialog.h. |
Member Function Documentation
|
||||||||||||
|
Columns page slots ///////.
Definition at line 225 of file editlistviewdialog.cpp. References m_listbox, m_listview, and m_propSet. Referenced by EditListViewDialog(). |
|
|
Definition at line 162 of file editlistviewdialog.cpp. References loadChildNodes(), m_listbox, m_listview, and updateButtons(). |
|
||||||||||||||||
|
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. References newItem(). Referenced by exec(). |
|
|
Definition at line 321 of file editlistviewdialog.cpp. References current, m_listbox, m_listview, and m_propSet. Referenced by EditListViewDialog(). |
|
|
Definition at line 296 of file editlistviewdialog.cpp. References current, m_listbox, m_listview, and m_propSet. Referenced by EditListViewDialog(). |
|
|
Definition at line 451 of file editlistviewdialog.cpp. References m_listview, and updateButtons(). Referenced by EditListViewDialog(). |
|
|
Definition at line 443 of file editlistviewdialog.cpp. References m_listview, and updateButtons(). Referenced by EditListViewDialog(). |
|
|
Definition at line 422 of file editlistviewdialog.cpp. References m_listview. Referenced by EditListViewDialog(). |
|
|
Definition at line 271 of file editlistviewdialog.cpp. References BColRem, m_buttons, m_listbox, and m_listview. Referenced by EditListViewDialog(), and loadChildNodes(). |
|
|
Definition at line 407 of file editlistviewdialog.cpp. References m_listview. Referenced by EditListViewDialog(). |
|
|
Definition at line 281 of file editlistviewdialog.cpp. References BColRem, current, m_buttons, m_listbox, and m_listview. Referenced by EditListViewDialog(). |
|
|
Definition at line 437 of file editlistviewdialog.cpp. References m_listview. Referenced by EditListViewDialog(). |
|
|
Contents page slots ////////.
Definition at line 348 of file editlistviewdialog.cpp. References BNewChild, BRemRow, BRowDown, BRowUp, and m_buttons. Referenced by EditListViewDialog(), exec(), MoveRowDown(), and MoveRowUp(). |
|
|
Definition at line 249 of file editlistviewdialog.cpp. References BColDown, BColUp, m_buttons, m_editor, m_listbox, m_listview, and m_propSet. Referenced by EditListViewDialog(). |
Member Data Documentation
|
|
Definition at line 88 of file editlistviewdialog.h. Referenced by EditListViewDialog(), newItem(), removeItem(), updateButtons(), and updateItemProperties(). |
|
|
Definition at line 85 of file editlistviewdialog.h. Referenced by EditListViewDialog(). |
|
|
Definition at line 85 of file editlistviewdialog.h. Referenced by EditListViewDialog(). |
|
|
Definition at line 83 of file editlistviewdialog.h. Referenced by EditListViewDialog(), and updateItemProperties(). |
|
|
Definition at line 86 of file editlistviewdialog.h. Referenced by changeProperty(), EditListViewDialog(), exec(), MoveItemDown(), MoveItemUp(), newItem(), removeItem(), and updateItemProperties(). |
|
|
Definition at line 87 of file editlistviewdialog.h. Referenced by changeProperty(), EditListViewDialog(), exec(), MoveItemDown(), MoveItemUp(), MoveRowDown(), MoveRowUp(), newChildRow(), newItem(), newRow(), removeItem(), removeRow(), and updateItemProperties(). |
|
|
Definition at line 84 of file editlistviewdialog.h. Referenced by changeProperty(), EditListViewDialog(), MoveItemDown(), MoveItemUp(), and updateItemProperties(). |
The documentation for this class was generated from the following files:
