KPlato::WBSDefinitionPanel Class Reference

#include <kptwbsdefinitionpanel.h>

List of all members.

Signals

void changed (bool enable)

Public Member Functions

 WBSDefinitionPanel (WBSDefinition &def, QWidget *parent=0, const char *name=0)
KMacroCommand * buildCommand (Part *part)
bool ok ()
void setStartValues (Part *part)

Protected Slots

void slotChanged ()
void slotSelectionChanged ()
void slotRemoveBtnClicked ()
void slotAddBtnClicked ()
void slotLevelChanged (int)
void slotLevelsGroupToggled (bool on)

Private Attributes

int selectedRow
WBSDefinitionm_def


Detailed Description

Definition at line 55 of file kptwbsdefinitionpanel.h.


Constructor & Destructor Documentation

KPlato::WBSDefinitionPanel::WBSDefinitionPanel ( WBSDefinition def,
QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 82 of file kptwbsdefinitionpanel.cc.

References KPlato::WBSDefinition::codeList(), KPlato::WBSDefinition::defaultCodeIndex(), KPlato::WBSDefinition::defaultSeparator(), KPlato::WBSDefinition::isLevelsDefEnabled(), KPlato::WBSDefinition::levelsDef(), slotAddBtnClicked(), slotChanged(), slotLevelChanged(), slotLevelsGroupToggled(), slotRemoveBtnClicked(), and slotSelectionChanged().


Member Function Documentation

KMacroCommand * KPlato::WBSDefinitionPanel::buildCommand ( Part part  ) 

Definition at line 133 of file kptwbsdefinitionpanel.cc.

Referenced by KPlato::WBSDefinitionDialog::buildCommand().

bool KPlato::WBSDefinitionPanel::ok (  ) 

Definition at line 139 of file kptwbsdefinitionpanel.cc.

References KPlato::WBSDefinition::clearLevelsDef(), m_def, KPlato::WBSDefinition::setDefaultCode(), KPlato::WBSDefinition::setDefaultSeparator(), KPlato::WBSDefinition::setLevelsDef(), and KPlato::WBSDefinition::setLevelsDefEnabled().

Referenced by KPlato::WBSDefinitionDialog::slotOk().

void KPlato::WBSDefinitionPanel::setStartValues ( Part part  ) 

Definition at line 130 of file kptwbsdefinitionpanel.cc.

void KPlato::WBSDefinitionPanel::changed ( bool  enable  )  [signal]

Referenced by slotChanged().

void KPlato::WBSDefinitionPanel::slotChanged (  )  [protected, slot]

Definition at line 153 of file kptwbsdefinitionpanel.cc.

References changed().

Referenced by slotAddBtnClicked(), slotLevelChanged(), and WBSDefinitionPanel().

void KPlato::WBSDefinitionPanel::slotSelectionChanged (  )  [protected, slot]

Definition at line 157 of file kptwbsdefinitionpanel.cc.

References selectedRow.

Referenced by WBSDefinitionPanel().

void KPlato::WBSDefinitionPanel::slotRemoveBtnClicked (  )  [protected, slot]

Definition at line 171 of file kptwbsdefinitionpanel.cc.

References selectedRow, and slotLevelChanged().

Referenced by WBSDefinitionPanel().

void KPlato::WBSDefinitionPanel::slotAddBtnClicked (  )  [protected, slot]

Definition at line 181 of file kptwbsdefinitionpanel.cc.

References KPlato::WBSDefinition::codeList(), KPlato::WBSDefinition::defaultCodeIndex(), KPlato::WBSDefinition::defaultSeparator(), m_def, and slotChanged().

Referenced by WBSDefinitionPanel().

void KPlato::WBSDefinitionPanel::slotLevelChanged ( int   )  [protected, slot]

Definition at line 206 of file kptwbsdefinitionpanel.cc.

References slotChanged().

Referenced by slotLevelsGroupToggled(), slotRemoveBtnClicked(), and WBSDefinitionPanel().

void KPlato::WBSDefinitionPanel::slotLevelsGroupToggled ( bool  on  )  [protected, slot]

Definition at line 216 of file kptwbsdefinitionpanel.cc.

References slotLevelChanged().

Referenced by WBSDefinitionPanel().


Member Data Documentation

int KPlato::WBSDefinitionPanel::selectedRow [private]

Definition at line 77 of file kptwbsdefinitionpanel.h.

Referenced by slotRemoveBtnClicked(), and slotSelectionChanged().

WBSDefinition& KPlato::WBSDefinitionPanel::m_def [private]

Definition at line 78 of file kptwbsdefinitionpanel.h.

Referenced by ok(), and slotAddBtnClicked().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:52 2006 for KPlato by  doxygen 1.5.1-p1