Q3DockArea Class Reference |
Constant | Value | Description |
---|---|---|
Q3DockArea::Normal | 0 | The splitter handles of dock windows are placed at the right or bottom. |
Q3DockArea::Reverse | 1 | The splitter handles of dock windows are placed at the left or top. |
This property holds the number of dock windows in the dock area.
Access functions:
This property holds whether the dock area is empty.
Access functions:
This property holds where the dock window splitter handle is placed in the dock area.
The default position is Normal.
Access functions:
This property holds the dock area's orientation.
There is no default value; the orientation is specified in the constructor.
Access functions:
Constructs a Q3DockArea with orientation o, HandlePosition h, parent parent and called name.
Destroys the dock area and all the dock windows docked in the dock area.
Does not affect any floating dock windows or dock windows in other dock areas, even if they first appeared in this dock area. Floating dock windows are effectively top level windows and are not child windows of the dock area. When a floating dock window is docked (dragged into a dock area) its parent becomes the dock area.
Returns a list of the dock windows in the dock area.
Returns true if the dock area contains the dock window w; otherwise returns false. If index is not 0 it will be set as follows: if the dock area contains the dock window *index is set to w's index position; otherwise *index is set to -1.
Returns true if dock window dw could be docked into the dock area; otherwise returns false.
See also setAcceptDockWindow().
Lines up the dock windows in this dock area to minimize wasted space. If keepNewLines is true, only space within lines is cleaned up. If keepNewLines is false the number of lines might be changed.
Moves the Q3DockWindow w within the dock area. If w is not already docked in this area, w is docked first. If index is -1 or larger than the number of docked widgets, w is appended at the end, otherwise it is inserted at the position index.
This is an overloaded member function, provided for convenience.
Moves the dock window w inside the dock area where p is the new position (in global screen coordinates), r is the suggested rectangle of the dock window and swap specifies whether or not the orientation of the docked widget needs to be changed.
This function is used internally by Q3DockWindow. You shouldn't need to call it yourself.
Removes the dock window w from the dock area. If makeFloating is true, w gets floated, and if swap is true, the orientation of w gets swapped. If fixNewLines is true (the default) newlines in the area will be fixed.
You should never need to call this function yourself. Use Q3DockWindow::dock() and Q3DockWindow::undock() instead.
If accept is true, dock window dw can be docked in the dock area. If accept is false, dock window dw cannot be docked in the dock area.
See also isDockWindowAccepted().
This is an overloaded member function, provided for convenience.
Writes the layout of the dock windows in dock area dockArea to the text stream ts.
This is an overloaded member function, provided for convenience.
Reads the layout description of the dock windows in dock area dockArea from the text stream ts and restores it. The layout description must have been previously written by the operator<<() function.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.1 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com