#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

anonymous enum
protected

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()

KFormDesigner::EditListViewDialog::~EditListViewDialog ( )
inline

Definition at line 56 of file editlistviewdialog.h.

Member Function Documentation

◆ changeProperty

void KFormDesigner::EditListViewDialog::changeProperty ( KoProperty::Set &  set,
KoProperty::Property &  property 
)
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()

void KFormDesigner::EditListViewDialog::loadChildNodes ( TQListView *  listview,
TQListViewItem *  item,
TQListViewItem *  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.

◆ MoveItemDown

void KFormDesigner::EditListViewDialog::MoveItemDown ( )
slot

Definition at line 321 of file editlistviewdialog.cpp.

◆ MoveItemUp

void KFormDesigner::EditListViewDialog::MoveItemUp ( )
slot

Definition at line 296 of file editlistviewdialog.cpp.

◆ MoveRowDown

void KFormDesigner::EditListViewDialog::MoveRowDown ( )
slot

Definition at line 451 of file editlistviewdialog.cpp.

◆ MoveRowUp

void KFormDesigner::EditListViewDialog::MoveRowUp ( )
slot

Definition at line 443 of file editlistviewdialog.cpp.

◆ newChildRow

void KFormDesigner::EditListViewDialog::newChildRow ( )
slot

Definition at line 422 of file editlistviewdialog.cpp.

◆ newItem

void KFormDesigner::EditListViewDialog::newItem ( )
slot

Definition at line 271 of file editlistviewdialog.cpp.

◆ newRow

void KFormDesigner::EditListViewDialog::newRow ( )
slot

Definition at line 407 of file editlistviewdialog.cpp.

◆ removeItem

void KFormDesigner::EditListViewDialog::removeItem ( )
slot

Definition at line 281 of file editlistviewdialog.cpp.

◆ removeRow

void KFormDesigner::EditListViewDialog::removeRow ( )
slot

Definition at line 437 of file editlistviewdialog.cpp.

◆ updateButtons

void KFormDesigner::EditListViewDialog::updateButtons ( TQListViewItem *  item)
slot

Contents page slots ////////.

Definition at line 348 of file editlistviewdialog.cpp.

◆ updateItemProperties

void KFormDesigner::EditListViewDialog::updateItemProperties ( TQListBoxItem *  item)
slot

Definition at line 249 of file editlistviewdialog.cpp.

Member Data Documentation

◆ m_buttons

TQIntDict<TQToolButton> KFormDesigner::EditListViewDialog::m_buttons
protected

Definition at line 89 of file editlistviewdialog.h.

◆ m_column

TQFrame * KFormDesigner::EditListViewDialog::m_column
protected

Definition at line 86 of file editlistviewdialog.h.

◆ m_contents

TQFrame* KFormDesigner::EditListViewDialog::m_contents
protected

Definition at line 86 of file editlistviewdialog.h.

◆ m_editor

KoProperty::Editor* KFormDesigner::EditListViewDialog::m_editor
protected

Definition at line 84 of file editlistviewdialog.h.

◆ m_listbox

TDEListBox* KFormDesigner::EditListViewDialog::m_listbox
protected

Definition at line 87 of file editlistviewdialog.h.

◆ m_listview

TDEListView* KFormDesigner::EditListViewDialog::m_listview
protected

Definition at line 88 of file editlistviewdialog.h.

◆ m_propSet

KoProperty::Set* KFormDesigner::EditListViewDialog::m_propSet
protected

Definition at line 85 of file editlistviewdialog.h.


The documentation for this class was generated from the following files: