RiverWare
support widget: class: QtUtils/SlotIdPanel Shows a box with a given Slot's SimObj and Account names and type icons. The Object, Account and Slot Type icons have a ToolTip with the type text. All you do is create a SlotIdPanel, and call the configure() method with the Slot pointer. Slots on other types of objects (e.g. on Supplies or Exchanges) are just shown in one line, with the Slot Type icon and the complete Slot name. Currently [May 2008], this widget does not retain a pointer to the Slot, and does not register for name change callbacks. The client should just call the 'configure' method in response to any name changes. We could enhance this to register for callbacks, if that was desired. |
Solaris: Windows: |
Sample Client Code: | |||
|
|
Example: Q3GUI/SlotConfigQtDlg: | |
|
Other Images:
|