1

Topic: Dragging inside QHBoxLayout

Prompt please who knows. In the editor, for example, it is added on form QHBoxLayout, further we place in it the button, further we place other button and under other button, at first, the first is aligned, and in the second, at induction of the clamped button on sides QHBoxLayout, it is offered to place the button in one or other place. How it to implement? I thought something  QDockWidgets, but it did not help if to remove, at first, title, they generally  not dragged.

2

Re: Dragging inside QHBoxLayout

Hello, TOPAZ23, you wrote: TOP> Prompt please who knows. In the editor, for example, it is added on form QHBoxLayout, further we place in it the button, further we place other button and under other button, at first, the first is aligned, and in the second, at induction of the clamped button on sides QHBoxLayout, it is offered to place the button in one or other place. How it to implement? I thought something  QDockWidgets, but it did not help if to remove, at first, title, they generally  not dragged. Through a scene to do. Or it is possible to dig source codes dock of panels - at Qt there is any class (I do not remember a title) which just emulates drawing dragged .

3

Re: Dragging inside QHBoxLayout

Hello, SaZ, you wrote: SaZ> Hello, TOPAZ23, you wrote: TOP>> Prompt please who knows. In the editor, for example, it is added on form QHBoxLayout, further we place in it the button, further we place other button and under other button, at first, the first is aligned, and in the second, at induction of the clamped button on sides QHBoxLayout, it is offered to place the button in one or other place. How it to implement? I thought something  QDockWidgets, but it did not help if to remove, at first, title, they generally  not dragged. SaZ> through a scene to do. SaZ> or it is possible to dig source codes dock of panels - at Qt there is any class (I do not remember a title) which just emulates drawing dragged . It is possible was more specific, it is desirable with an example, I will be grateful!

4

Re: Dragging inside QHBoxLayout

Hello, TOPAZ23, you wrote: TOP> It is possible was more specific, it is desirable with an example, I will be grateful! Alas, there is no time now to climb on source codes Qt. Precisely I remember that saw.

5

Re: Dragging inside QHBoxLayout

Hello, TOPAZ23, you wrote: TOP> It is possible was more specific, it is desirable with an example, I will be grateful! Here bases: http://doc.qt.io/qt-5/qgraphicsview.html http://doc.qt.io/qt-5/qgraphicsscene.html Examples - search in a folder of examples (delivered together with Qt5) - at me for it in: C:\Qt\Qt5.9.1\Examples\Qt-5.9.1\widgets\graphicsview\http://doc.qt.io/qt-5/examples-widgets.html the Description by an interesting example: http://doc.qt.io/qt-5/qtwidgets-graphic … ample.html Here some the useful references: http://doc.crossplatform.ru/qt/4.8.x/ht … sview.html http://www.bogotobogo.com/Qt/Qt5_QGraph … sScene.php https://pro-prof.com/forums/topic/qgrap … ne-drawing https://pro-prof.com/archives/1117 notices on : https://habrahabr.ru/post/182614 https://habrahabr.ru/post/183432