OSB_GUI::InvMgmtWidget Class Reference

Inheritance diagram for OSB_GUI::InvMgmtWidget:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::InvMgmtWidget:

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget for inventory management.

Definition at line 75 of file invmgmtwidget.h.

Public Slots

Public Member Functions

Private Types

Private Slots

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::InventoryPool> OSB_GUI::InvMgmtWidget::PoolId [private]

Short-hand for an inventory pool.

Definition at line 80 of file invmgmtwidget.h.

typedef std::list<OSB_LIB::InventoryPool> OSB_GUI::InvMgmtWidget::Pools [private]

Short-hand for a list of inventory pools.

Definition at line 82 of file invmgmtwidget.h.


Constructor & Destructor Documentation

OSB_GUI::InvMgmtWidget::InvMgmtWidget ( AdminType  type,
QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with type of administraction widget and Qt arguments.

OSB_GUI::InvMgmtWidget::~InvMgmtWidget (  ) 

Destructor: delete pools_.

OSB_GUI::InvMgmtWidget::InvMgmtWidget ( const InvMgmtWidget  )  [private]

Prevent copying: not implemented.


Member Function Documentation

void OSB_GUI::InvMgmtWidget::clearMenuAccels (  )  [virtual]

Clear any accelerators of the administration widget's popup menu.

This function is needed because any accelerators of the adminstratiion widget's menu are active even if the popup menu is not in the menu bar of the main window.

Implements OSB_GUI::AdminWidget.

void OSB_GUI::InvMgmtWidget::edited (  )  [private, slot]

Pool name or description edited.

void OSB_GUI::InvMgmtWidget::languageChange (  )  [virtual, slot]

Process a language change.

Implements OSB_GUI::AdminWidget.

QPopupMenu* OSB_GUI::InvMgmtWidget::menu (  )  [virtual]

The popup menu of the administration widget.

If the administration window does not use a menu the function returns 0.
Else the admin widget should install the accelerators for the popup menu.

See also:
clearMenuAccels()

Implements OSB_GUI::AdminWidget.

std::string OSB_GUI::InvMgmtWidget::menuTitle (  )  const [virtual]

Title of the administration wiget's menu.

The returned string is empty if does not support a menu, i.e., menu() returns 0.

Implements OSB_GUI::AdminWidget.

InvMgmtWidget& OSB_GUI::InvMgmtWidget::operator= ( const InvMgmtWidget  )  [private]

Prevent assignment: not implemented.

void OSB_GUI::InvMgmtWidget::readPools (  )  [slot]

Read all inventory pools and display first.

void OSB_GUI::InvMgmtWidget::removePool (  )  [private, slot]

Delete the current inventory pool.

void OSB_GUI::InvMgmtWidget::savePool (  )  [private, slot]

Save the current inventory pool.

void OSB_GUI::InvMgmtWidget::showNext (  )  [slot]

Show next inventory pool.

void OSB_GUI::InvMgmtWidget::showPool (  )  [private]

Show the current inventory pool.

void OSB_GUI::InvMgmtWidget::showPrev (  )  [slot]

Show previous inventory pool.


Member Data Documentation

PoolId OSB_GUI::InvMgmtWidget::curPool_ [private]

The id of the current pool.

Definition at line 138 of file invmgmtwidget.h.

QVBoxLayout* OSB_GUI::InvMgmtWidget::layout_ [private]

Layout for the whole dialog.

Definition at line 166 of file invmgmtwidget.h.

LeId* OSB_GUI::InvMgmtWidget::leId_ [private]

Line edit for the object id.

Definition at line 144 of file invmgmtwidget.h.

QLineEdit* OSB_GUI::InvMgmtWidget::leName_ [private]

Line edit for the pool name.

Definition at line 148 of file invmgmtwidget.h.

QFrame* OSB_GUI::InvMgmtWidget::linePb_ [private]

Line above push buttons.

Definition at line 155 of file invmgmtwidget.h.

QHBoxLayout* OSB_GUI::InvMgmtWidget::loPb_ [private]

Layout for the push buttons.

Definition at line 172 of file invmgmtwidget.h.

QHBoxLayout* OSB_GUI::InvMgmtWidget::loTop_ [private]

Layout for type and name.

Definition at line 168 of file invmgmtwidget.h.

QPushButton* OSB_GUI::InvMgmtWidget::pbNext_ [private]

Push button next.

Definition at line 159 of file invmgmtwidget.h.

QPushButton* OSB_GUI::InvMgmtWidget::pbPrev_ [private]

Push button previous.

Definition at line 157 of file invmgmtwidget.h.

QPushButton* OSB_GUI::InvMgmtWidget::pbRemove_ [private]

Push button remove.

Definition at line 163 of file invmgmtwidget.h.

QPushButton* OSB_GUI::InvMgmtWidget::pbSave_ [private]

Push button save.

Definition at line 161 of file invmgmtwidget.h.

Pools* OSB_GUI::InvMgmtWidget::pools_ [private]

List of inventory pools.

Definition at line 136 of file invmgmtwidget.h.

QSpacerItem* OSB_GUI::InvMgmtWidget::spDes_ [private]

Spaces below description.

Definition at line 174 of file invmgmtwidget.h.

QSpacerItem* OSB_GUI::InvMgmtWidget::spPb_ [private]

Spacer right of push button save.

Definition at line 176 of file invmgmtwidget.h.

QSpacerItem* OSB_GUI::InvMgmtWidget::spTop_ [private]

Spacer between type and name.

Definition at line 170 of file invmgmtwidget.h.

QTextEdit* OSB_GUI::InvMgmtWidget::teDes_ [private]

Text edit for the pool description.

Definition at line 152 of file invmgmtwidget.h.

QLabel* OSB_GUI::InvMgmtWidget::tlDes_ [private]

Label description.

Definition at line 150 of file invmgmtwidget.h.

QLabel* OSB_GUI::InvMgmtWidget::tlId_ [private]

Label id.

Definition at line 142 of file invmgmtwidget.h.

QLabel* OSB_GUI::InvMgmtWidget::tlName_ [private]

Label name.

Definition at line 146 of file invmgmtwidget.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:19:15 2006 for OSB Library by  doxygen 1.4.7