qtabwidget Questions

5

Solved

I'm using Qt and I have a QTabWidget setup in the Qt Designer Editor, you can see it in picture 1. As you can see after Tab4 there is an empty space all the way to the right edge, in someway I ...
Devonne asked 19/3, 2010 at 21:43

2

Solved

Is it possible to get all tabs widgets that where added by addTab(QWidget() in QTabWidget in a list. We can use self.findChildren(QWidget), but it also returns all other widgets inside itself, and...
Berlioz asked 29/5, 2011 at 10:31

3

Solved

I've a QTabWidget, which contains widgets of different heights (their widths are fixed), however, the default implementation ofQTabWidget selects the biggest widget's height as own height. What I ...
Intellect asked 18/3, 2015 at 17:35

3

Please have a look at the attached image to understand the problem. In the image you can see, how can I remove the border lines or set their color to the QDialog color. Thanks.
Cerussite asked 23/3, 2013 at 10:42

7

Solved

I'd like to have a "new tab" button much like Chrome or Firefox has for my QMdiArea. I can make a button or menu item somewhere that adds a new subdocument to the MDI thing, but how can I make it ...
Salpingitis asked 14/11, 2013 at 10:23

2

Solved

Assuming I have a QTabWidget that contains 5 sub-tabs. Now I want to show/hide a sub-tab in one of 5 sub-tabs by following code ui->twListTabs->widget(0)->hide(); // Hide first sub-tab ...
Verenaverene asked 23/8, 2013 at 4:27

4

Solved

I need to display a context menu whenever a tab is clicked on and it needs to react to that specific tab. Is there any way to do this without subclassing it?
Mckenna asked 30/9, 2009 at 3:12

3

Solved

Since pyqt doesn't have horizontal text in vertical tab option, I followed this link to make it happen. I wanted to have icons on the left and then text after icon and different color for selected ...
Brownfield asked 18/7, 2018 at 14:3

5

I'm using a QTabWidget and I need a way to handle the change of the current tab before it actually happens, and possibly cancel it if certain conditions are met. The QTabWidget::currentChanged sign...
Rhubarb asked 29/11, 2011 at 9:40

8

Solved

I have a QTabWidget like this one: But I want to expand the tabs to "fill" the entire widget width, like this: I tried to use the setExpanding function: ui->myTabWidget->tabBar()-...
Countersignature asked 15/2, 2017 at 14:40

3

Solved

I am trying to implement vertical tabs with horizontal text with QT but I cannot find any similar option in QTabWidget. Somebody in SO asked for something similar here, however, the answers conta...
Harding asked 29/5, 2018 at 7:26

4

Solved

I have set ui->tabWidget->setTabsClosable(true); but QTabwidget only showing a cross on each tab that is not closing tab on click on this button. What else I have to do to make tabs closable?...
Airspace asked 3/10, 2013 at 5:4

2

Solved

How To Make Text Direction From Left To Right Instade Of Top To Bottom
Soudan asked 8/7, 2018 at 9:21

4

Solved

i am having problem to change text alignment using pyqt4 desginer i have made tabs horizontal by aligning west but the text in that goes north to south that looks bad i want to change alignment of ...
Frizette asked 6/10, 2017 at 13:49

4

Solved

PyQt5's QTabWidget has a method setCurrentIndex that you can use to get a particular tab to become the active tab. I can't seem to find any way to index by tab name though (which I set in Qt Design...
Jamshid asked 22/8, 2017 at 23:38

6

Solved

I am puting a QWidget and a QTabWidget next to each other in one horisontal splitter. And the splitter loses it's shape, you can know that there is a splitter only by hovering mouse on it. How to m...
Middlebuster asked 30/3, 2010 at 13:34

1

Solved

I'm working with a QTabWidget with three Tabs. One of the tab is about Information/Help. So I want to use a picture of a Question Mark (.png) instead of the Text "help". Is this Possible...
Structure asked 1/8, 2019 at 9:6

2

Solved

I'd like to insert a space to separate the second tab from the third. Is this possible? I've tried some stylesheets but as this widget is kind of new to me I've had no success so far.
Psychochemical asked 3/2, 2013 at 19:9

2

Solved

I have been struggling lately with embedding a terminal inside PyQt GUI app. Tried almost every search on Internet but nothing looks like of any help. I have a QTabWidget and I simply need one ta...
Mirza asked 11/9, 2018 at 6:33

4

Solved

I have a QTabWidget called tabWidget. It has three tabs: "Basic", "Advanced", and "Current Structure". The tabs are displayed in the widget in that order. I want to disable the "Advanced" tab when...
Thorne asked 17/4, 2015 at 19:35

1

Solved

I'm working on a project with a GUI, for which I am using Python with PyQt4 module. Here is my demo code: import sys from PyQt4 import QtGui, QtCore class Window(QtGui.QMainWindow): def __init...
Causeway asked 16/12, 2017 at 10:36

1

Solved

The problem is: Customer panel is derived from QTabWidget and has some tabs with some widget's in which operator (person) can edit data. When data is changed in any widget I check it, and i se...
Mesothorium asked 3/11, 2017 at 11:37

1

Solved

I recently learned about QTabWidget and tried using it in python. My question is, can I change the height, width and background of each individual tab? I tried doing self.Tab1.setStyleSheet("back...
Appleby asked 4/4, 2017 at 21:32

2

Solved

Can I add some widgets like QLabel and QPushButton into a QTabWidget? Actually, I want to do something like this: I'm using C++ and Qt. Thanks
Mcreynolds asked 6/6, 2016 at 3:33

2

I want to add tabs dynamically in a Qt application depending on user inputs. One tab is to be there all the time by default. For convenience, it would be great if I could create the layout and fea...
Zeal asked 4/8, 2014 at 20:49

© 2022 - 2024 — McMap. All rights reserved.