kexi
KFormDesigner::EditListViewDialog Class Reference
#include <editlistviewdialog.h>
Inherits KDialogBase.
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) |
void | updateButtons (QListViewItem *) |
void | newRow () |
void | newChildRow () |
void | removeRow () |
void | MoveRowUp () |
void | MoveRowDown () |
Public Member Functions | |
EditListViewDialog (QWidget *parent) | |
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 |
Constructor & Destructor Documentation
KFormDesigner::EditListViewDialog::EditListViewDialog | ( | QWidget * | parent | ) |
A Dialog to edit the contents of a listview /////////////////////.
Definition at line 41 of file editlistviewdialog.cpp.
Member Function Documentation
void KFormDesigner::EditListViewDialog::changeProperty | ( | KoProperty::Set & | set, | |
KoProperty::Property & | property | |||
) | [slot] |
void KFormDesigner::EditListViewDialog::updateButtons | ( | QListViewItem * | item | ) | [slot] |
void KFormDesigner::EditListViewDialog::loadChildNodes | ( | QListView * | listview, | |
QListViewItem * | item, | |||
QListViewItem * | parent | |||
) | [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.
The documentation for this class was generated from the following files: