|
Public Methods
Public Slots
Protected Methods
Protected Slots
Protected Members
Detailed Description
It's a special kind of QToolBar that acts as taskbar for child views.
QextMdiTaskBarButtons can be added or removed dynamically.
Constructor (NoFocus, minimum width = 1, an internal QList of taskbar buttons (autodelete))
Destructor (deletes the taskbar button list)
Add a new QextMdiTaskBarButton . The width doesn't change. If there's not enough space, all taskbar buttons will be resized to a new smaller size. Probably button texts must be abbreviated now.
Removes a QextMdiTaskBarButton and deletes it. If the rest of the buttons are smaller than they usually are, all those buttons will be resized in a way that the new free size is used as well.
Returns the neighbor taskbar button of the taskbar button of the MDI view given by parameter bRight specifies the side, of course left is used if bRight is false.
Get the button belonging to the MDI view given as parameter.
Switch it on or off.
Returns: whether switched on or off.
[protected] Reimplemented from its base class to call layoutTaskBar, additionally.
[protected slots slot] Checks if all buttons fits into this. If not, it recalculates all button widths in a way that all buttons fits into the taskbar and have got equal width. The text of the buttons will be abbreviated when nessecary, all buttons get a fixed width and show() is called for each one. If one drags the taskbar to a vertical orientation, the button width is set to 80 pixel.
[slot] Pushes the desired taskbar button down (switch on), the old one is released (switched off). Actually it's a radiobutton group behaviour.
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
|