Questions tagged [qsplitter]

The QSplitter class, part of the Qt framework, implements a splitter widget.

A splitter lets the user control the size of child widgets by dragging the boundary between the children.

90 questions
0
votes
1 answer

Set splitter handle as QScrollArea corner widget?

I'm trying to display files and folders like column view in Mac finder. I was able get the basic structure with the help of ListViews and QFileSystemModel. Then I set the splitter handle as a corner widget for the scroll area. I have two issues…
TFA
  • 81
  • 10
0
votes
1 answer

Remove QSplitter line between widgets

I am building a UI and I have a horizontal QSplitter with 2 widgets. I want to remove the line with the dots (.....) between the widgets. Here is an image to make it clear what I want removed. the dots I want gone here is some…
limbo
  • 684
  • 9
  • 18
0
votes
2 answers

QSplitter in two directions

I want to make an app that includes four widgets that are resizable using QSplitter. In this app I would like that all four widgets are resized when I resize the splitter. I realised this by having a horizontal splitter contain two vertical…
Frank
  • 2,446
  • 7
  • 33
  • 67
0
votes
1 answer

Find size of QScrollArea widget when scrollbar disappears

I have the following Qt widget layout QSplitter QFrame (select area), a QTableView QScrollArea (data area) QWidget (entry and edit form) The user might prefer to see more of the select area, that's why the "data area" is in a scroll area.…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
0
votes
1 answer

How to replace a widget in Qsplitter with another?

I have one splitter and two widgets... i want to replace the first widget with a splitter, and put in it the first widget and another widget withe the same arrangement (in runtime) PS: i can't drop the first widget from the splitter
0
votes
1 answer

QSplitter Stretching Factors behave differnt from normal ones

I want to create a flexible layout, where the User can resize Widgets, but still give a good default layout. I'm using the Qt Designer for everything. As a minimal example I used a simple Windows with a Widget and a plainTextEdit. The later one…
JonathanK
  • 827
  • 1
  • 6
  • 23
0
votes
1 answer

Pyqt4 changing splitter layouts on button press

I used two splitters to spilt the window into three sections, there are three buttons on the top splitter and I want the the layout in the bottom splitter to change everytime the button is pressed, so for example when add user is pressed the layout…
Inthu
  • 1,009
  • 1
  • 8
  • 16
0
votes
1 answer

QSplitter - changing the size of QTabWidget

I currently have a QTabWidget and some layout. Now I want all the tabs of my QtabWidget to occupy the width of the QtabWidget so I have something like this. The following method expands the two tabs in my Qtabwidget so they are the same size as the…
MistyD
  • 16,373
  • 40
  • 138
  • 240
0
votes
0 answers

QTextEdit and QSplitter

How do I add a QTextEdit to a QSplitter? I have got a QString which I have added to a QTextEdit which I now want to display in a QSplitter. Is this possible or must it be changed to something else in order to add it to a QSplitter?
Dmon
  • 220
  • 4
  • 15
0
votes
1 answer

Can't exchange widget in QSplitter

I have a QSplitter with two widgets. One of them is static, the other one is supposed to change on the press of a button. But the problem is the widget does not change. I have a pointer for the widget that is changing: this->content The widget to…
Niklas Berglund
  • 3,563
  • 4
  • 32
  • 32
0
votes
1 answer

Remove Widget from QSplitter

A long time ago, someone asked the same question. How to remove... This was the answer: When you hide() a child its space will be distributed among the other children. It will be reinstated when you show() it again. I've tried the…
user2372976
  • 715
  • 1
  • 8
  • 19
0
votes
1 answer

qt : How can I minimize qsplitter's child?

I made a QSplitter layout. And under QSplitter, there is QWidget and it's gridLayout children. At this case, I can't minimize QSplitter to 0 size. As I see above, it has restriction for height. What cause this problem? I tested some cases, and I…
Hyun-geun Kim
  • 919
  • 3
  • 22
  • 37
0
votes
2 answers

How can I make PyQt QSplitter visible?

Can I define the width/height for a QSplitter object? Can I make it visible with a proper arrow?
Tomer
  • 189
  • 1
  • 3
  • 11
-1
votes
1 answer

PYQT5: How to set splitter to a grid layout?

I want to add a grid of plots to a splitter. I know how to set vertical (QSplitter(Qt.Vertical)) and horizontal (QSplitter(Qt.Horizontal)) layouts to a splitter but not sure how to make it in grid layout.
jabbarlee
  • 110
  • 2
  • 11
-1
votes
1 answer

Qt5 - Resizing of QSplitter with QSizePolicy

I want to create a Widget with 3 sections: The mainwindow contains a horizontal QSplitter which contains a vertical QSplitter. But I didn't get that far since the first splitter doesn't maximize in the Window. I read the documentation and still…
1 2 3 4 5
6