qtabwidget Questions

2

Solved

How can I style QTabWidget like is in the image below. The problem is: if I set style sheet QTabWidget:pane { border: 1px solid gray; } then it looks like this:
Dalpe asked 14/7, 2016 at 8:20

2

Solved

I have a QTabWidget and I want to add/remove/rename individual tabs. Some sources claim that you can double click it to get a tab editor. When I double click it, I get the "Object name" popup: I...
Get asked 4/4, 2016 at 10:30

1

Solved

I am using PyQt5 to make the user interface. Now I have set up a tab widget, and I want to trigger the event at such a time when a specific tab is selected. In other words, for example, I have tab ...
Marchak asked 24/1, 2015 at 3:7

3

Solved

I am subclassing QTabWidget to add a QTabBar, who's tabs stretch over the whole width of the tabBar. Therefore I am setting the expanding property to true. This doesn't seem to change anything abou...
Delete asked 27/2, 2011 at 14:51

3

Solved

I need a QTabWidget with icons only: How can I hide the label text of a tab in Qt? I cannot set the text to an empty string (""), as I am using docked widgets ( QDockWidget ) and the label text is...
Verse asked 20/7, 2014 at 15:26

1

I'm trying to build a little app that loads several webpages in an QTabWidget. This already works well. Now I want the tabs / QWebViews to be reloaded when the current Tab is changed. I think that...
Lengel asked 4/2, 2014 at 20:17

3

Solved

I'm trying to make an app in C++ Qt with a sidebar like this one: But when making QTabWidget's orientation to West, it makes the text vertical. How to have the text on the left, but horizontally...
Kerns asked 13/1, 2013 at 1:8

3

Solved

I'm using a QTabWidget to render multiple documents in a window, and I want to draw a close button on each tab. I'm using Vista and Qt4, so the tab widget is a native windows control; this may affe...
Crowe asked 19/1, 2009 at 22:5

2

Solved

I cannot find a way to set the text alignment in a QTabWidget. After I've created an instance of this widget, I've set its tabPosition property to West, but I wish it showed text/label horizontal...
Artless asked 31/8, 2010 at 9:26

2

Solved

Is it possible in PYQT4 to change the background color of tabs for a QTabWidget? There is a way to change the color of the text but not the background color of the tab. I have a program with mult...
Riess asked 15/10, 2012 at 17:43

3

Solved

I have QTabWidget on my form and two tabs on it. These tabs have standard text Tab1 and Tab2. How can I change it?
Gabbert asked 22/3, 2010 at 5:1

1

Solved

I want to detect middle mouse clicks on a QTabWidget. I was expecting there to be a mouse event related signal on QWidget, but all I am seeing are methods. Do I need to subclass the QTabWidget and...
Chloechloette asked 25/2, 2012 at 7:24

1

Solved

Is there any way to set the text color of a certain tab that's part of a QTabWidget? QTabBar seems to have a method to set the tab text color, but I do not see a similar method for QTabWidget.
Crucifixion asked 7/2, 2012 at 3:33

1

Solved

I have a QTabWidget, where each tab has a QPlainTextEdit as its widget. So, how do I access each tab widget? How do I edit that widget?
Intermittent asked 30/12, 2011 at 10:54

3

Solved

I've created a chat program with an Interface using QTabWidget. If there's an update in a tab i want to set the tabs title font to a bold font. With QTabWidget::font i can only set the font of the ...
Gingham asked 12/3, 2011 at 11:20

1

Solved

I am using QTabWidget in my project. Is there any good reason I should use QTabBar and not QTabWidget? What advantages I have if I use QTabWidget?
Tantara asked 29/12, 2009 at 9:2

© 2022 - 2024 — McMap. All rights reserved.