CodePudding user response:
wrong on the rightCodePudding user response:
This piece of
CodePudding user response:
Once made similar is on 4.8, determining if a mouse position in mouse events window, if the window edge, modify the mouse arrow styles, the right mouse button press event triggered during this period, and then according to the offset of the mouse corresponding to the change of the windowCodePudding user response:
QSplitter this control should be able to meet the desired effect,QSplitter * splitter=new QSplitter (Qt: : Vertical, this);
QListView * listview=new QListView;
Treeview QTreeView *=new QTreeView;
QTextEdit * textedit=new QTextEdit;
Splitter - & gt; AddWidget (listview);
Splitter - & gt; AddWidget (treeview);
Splitter - & gt; AddWidget (textedit);
Splitter - & gt; SetHandleWidth (0);
CodePudding user response:
And QSplitter is used can be nested, vertical drag the Splitter can put them inside a horizontal Splitter, so can also drag around size,CodePudding user response: