|
| | IlvToolBarPath (IlvDisplay *display, const IlvRect &rect) |
| | Constructor. More...
|
| |
| virtual void | changeDir (const IlPathName &path) |
| | Called when the user selects a new path. More...
|
| |
| virtual IlvPopupMenu * | createDeviceMenu (const IlString ¤t) |
| | Creates a device pop-up menu. More...
|
| |
| virtual IlvPopupMenu * | createDirectoryMenu (const IlPathName &path) |
| | Creates a directory pop-up menu. More...
|
| |
| virtual IlvMenuItemPath * | createMenuItem (const IlString &label, const IlPathName &path, IlvPopupMenu *submenu=0) |
| | Creates a menu item. More...
|
| |
| const char * | getPath () const |
| | Returns the path. More...
|
| |
| virtual void | rewindDir (const IlPathName &path) |
| | Called when the user selects a directory in the path. More...
|
| |
| void | setChangeDirCallback (IlvToolBarPathCallback cb, IlAny arg=0) |
| | Sets the callback invoked when the user selects a new path. More...
|
| |
| virtual void | setPath (const IlPathName &path) |
| | Sets the path. More...
|
| |
| void | setRewindCallback (IlvToolBarPathCallback cb, IlAny arg=0) |
| | Sets the callback invoked when the user selects a directory in the path. More...
|
| |
| | IlvToolBar (IlvDisplay *display, const IlvPoint &point, const char *const *labels=0, IlUShort count=0, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvToolBar (IlvDisplay *display, const IlvRect &rect, const char *const *labels=0, IlUShort count=0, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvToolBar (IlvDisplay *display, const IlvPoint &point, IlvMenuItem *items, IlUShort count, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvToolBar (IlvDisplay *display, const IlvRect &rect, IlvMenuItem *items, IlUShort count, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| virtual void | drawGadgetItem (const IlvGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t=0, const IlvRegion *clip=0) const |
| | Draws a specific gadget item. More...
|
| |
| virtual void | empty () |
| | Empties the list. More...
|
| |
| IlvMenuItem * | getFocusItem () const |
| | Returns the menu item in the toolbar that has the keyboard focus. More...
|
| |
| IlBoolean | hasToolTips () const |
| | Indicates whether the toolbar displays tooltips. More...
|
| |
| virtual void | internalBBox (IlvRect &, const IlvTransformer *t=0) const |
| | Returns the internal bounding box of the bar. More...
|
| |
| virtual IlBoolean | isSelectable (const IlvMenuItem *) const |
| | Indicates whether the specified item can be selected. More...
|
| |
| void | setFocusItem (IlvMenuItem *item) |
| | Gives the keyboard focus to the specified toolbar item. More...
|
| |
| void | setItemSelected (IlUShort index, IlBoolean value=IlTrue) |
| | Specifies whether the specified menu item should be selected. More...
|
| |
| void | useToolTips (IlBoolean value) |
| | Specifies whether the toolbar should display tooltips. More...
|
| |
| | IlvAbstractBar (IlvDisplay *display, const IlvPoint &point, const char *const *labels=0, IlUShort count=0, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvAbstractBar (IlvDisplay *display, const IlvRect &rect, const char *const *labels=0, IlUShort count=0, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvAbstractBar (IlvDisplay *display, const IlvPoint &point, IlvMenuItem *items, IlUShort count, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| | IlvAbstractBar (IlvDisplay *display, const IlvRect &rect, IlvMenuItem *items, IlUShort count, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) |
| | Constructor. More...
|
| |
| virtual void | geometryChanged (const IlvRect &rect) |
| | Is called when the bar geometry has changed. More...
|
| |
| void | getDefaultItemSize (IlvDim &width, IlvDim &height) const |
| | Returns the default item size. More...
|
| |
| virtual IlvDirection | getOrientation () const |
| | Returns the orientation of the bar. More...
|
| |
| IlvDim | getSpacing () const |
| | Returns the spacing between two items. More...
|
| |
| IlBoolean | isFlushingRight () const |
| | Indicates whether the bar is flush-right. More...
|
| |
| virtual void | itemBBox (IlUShort item, IlvRect &rect, const IlvTransformer *t=0) const |
| | Returns the bounding box of a menu item in the menu. More...
|
| |
| virtual void | orientationChanged () |
| | Is called when the bar orientation has changed. More...
|
| |
| virtual void | select (IlUShort pos) |
| | Is called when an item has been selected. More...
|
| |
| void | setConstraintMode (IlBoolean value) |
| | Sets the constraint mode of the bar. More...
|
| |
| void | setDefaultItemSize (IlvDim width, IlvDim height, IlBoolean redraw=IlTrue) |
| | Sets the default item size. More...
|
| |
| void | setFlushingRight (IlBoolean value) |
| | Specifies whether the bar should be flush-right. More...
|
| |
| void | setHeight (IlvDim height) |
| | Sets the height of the bar. More...
|
| |
| void | setOrientation (IlvDirection orientation) |
| | Sets the orientation of the bar. More...
|
| |
| void | setSpacing (IlvDim spacing) |
| | Sets the spacing between two items. More...
|
| |
| void | setWidth (IlvDim width) |
| | Sets the bar width. More...
|
| |
| virtual void | unSelect (IlUShort pos) |
| | Is called when an item has been deselected. More...
|
| |
| IlBoolean | useConstraintMode () const |
| | Indicates whether the bar is in constraint mode. More...
|
| |
| virtual void | addLabel (const char *label, IlAny data=0) |
| | Adds an item with a label to the holder list. More...
|
| |
| virtual IlvGadgetItem * | applyToItems (IlvApplyGadgetItem, IlAny) |
| | Applies the specified function to all the items of the holder. More...
|
| |
| virtual int | compareItems (const char *string1, const char *string2, IlAny value1, IlAny value2) |
| | Compares a pair of items. More...
|
| |
| IlUShort | getCardinal () const |
| | Returns the number of items stored in this holder. More...
|
| |
| IlShort | getFirstSelectedItem () const |
| | Returns the index of the first selected item. More...
|
| |
| IlShort | getIndex (const IlvGadgetItem *item, IlUShort start=0, IlUShort stop=(IlUShort)-1) const |
| | Returns the index of the specified item in the holder list. More...
|
| |
| IlvGadgetItem * | getItem (IlUShort index) const |
| | Returns an item from its position in the holder. More...
|
| |
| IlAny | getItemData (IlUShort index) const |
| | Returns an item user data. More...
|
| |
| IlvGadgetItem *const * | getItems (IlUShort &count) const |
| | Returns the array of all the items. More...
|
| |
| const char * | getLabel (IlUShort index) const |
| | Returns the indicated label of the list. More...
|
| |
| const char *const * | getLabels (IlUShort &count) const |
| | Returns an array of all the items labels. More...
|
| |
| IlShort | getPosition (const char *label, IlUShort start=0) const |
| | Returns the position of an item using its label. More...
|
| |
| virtual const char * | getSelection () const |
| | Returns the first selected item label. More...
|
| |
| IlUShort const * | getSelectionIndices (IlUShort &count) const |
| | Returns an array containing the indexes of the selected item. More...
|
| |
| const char *const * | getSelections (IlUShort &count) const |
| | Returns an array of the selected items. More...
|
| |
| IlAny const * | getUserDataArray (IlUShort &count) const |
| | Returns an array of all the user data for the items. More...
|
| |
| IlUShort | insertBitmap (IlvBitmap *bitmap, IlShort pos=-1) |
| | Inserts an item with a bitmap at the given position in the holder list. More...
|
| |
| IlUShort | insertGraphic (IlvGraphic *graphic, IlShort pos=-1) |
| | Inserts an item with a graphic as picture at a given position in the holder list. More...
|
| |
| IlUShort | insertItem (IlvGadgetItem *item, IlShort index=-1) |
| | Inserts an item at a given position in the holder's list. More...
|
| |
| virtual void | insertLabel (IlUShort pos, const char *label, IlAny data=0) |
| | Inserts an item with a label at a given position in the holder list. More...
|
| |
| IlBoolean | isSelected (IlUShort index) const |
| | Specifies whether the item whose position is specified is selected. More...
|
| |
| void | removeItem (IlUShort index, IlBoolean destroy=IlTrue) |
| | Removes an item from the holder. More...
|
| |
| void | removeLabel (IlUShort index) |
| | Removes and destroys an item. More...
|
| |
| void | setItemData (IlUShort index, IlAny itemData) |
| | Sets an item user data. More...
|
| |
| void | setLabel (IlUShort index, const char *label, IlBoolean copy) |
| | Modifies the label of an item. More...
|
| |
| virtual void | setLabels (const char *const *labels, IlAny const *itemData, IlUShort count, IlBoolean copy=IlTrue) |
| | Replaces the entire list of items. More...
|
| |
| virtual void | setLabels (const char *const *labels, IlUShort count, IlBoolean copy=IlTrue) |
| | Replaces the entire list of items. More...
|
| |
| virtual void | sort (IlvListCompareFunction func=0) |
| | Sorts the items. More...
|
| |
| IlvGadgetItem * | getCallbackItem () const |
| | Returns the item that triggered a callback. More...
|
| |
| IlvGadgetItem * | getDragDropTarget () const |
| | Returns the target item of a drag-and-drop operation. More...
|
| |
| IlvGraphic * | getDraggedImage () const |
| | Returns the graphic object used to draw the ghost image during a drag-and-drop operation. More...
|
| |
| IlvGadgetItem * | getDraggedItem () const |
| | Returns the item that is being dragged during a drag-and-drop operation. More...
|
| |
| IlvGadgetItem * | getEditedItem () const |
| | Returns the item that is being edited. More...
|
| |
| virtual IlvPalette * | getHighlightTextPalette () const |
| | Returns the highlight palette used to draw the label of highlighted items. More...
|
| |
| IlvGadgetItem * | getToolTipItem () const |
| | Returns the item that is displaying a tooltip. More...
|
| |
| virtual void | initReDrawItems () |
| | Begins a redraw session. More...
|
| |
| virtual void | reDrawItems () |
| | Ends a redraw session. More...
|
| |
| void | setDragDropTarget (IlvGadgetItem *item) |
| | Sets the target item of a drag-and-drop operation. More...
|
| |
| void | setDraggedImage (IlvGraphic *graphic) |
| | Sets the graphic object used to draw the ghost image during a drag-and-drop operation. More...
|
| |
| void | setDraggedItem (IlvGadgetItem *item) |
| | Sets the dragged item. More...
|
| |
ToolBar class which displays a path like a set of pop-up menus.
Library: ilvadvgdt
This toolbar class displays a path as a set of pop-up menus. Each directory of the path becomes a button of the toolbar. Between each button, a pop-up menu displays the directory list from the same level as the path associated with the button. When the user clicks a button or chooses a menu entry, a callback is invoked with the path chosen by the user. Note: This class has been designed for the IlvFileChooser dialog. It cannot be saved into an Ilv file.
- See Also
- IlvMenuItemPath, IlvFileChooser