Questions tagged [qtabbar]

QTabBar is a class from the Qt Toolkit which provides a tab bar, e.g. for use in tabbed dialogs.

Documentation can be found here (Qt4) and here (Qt5).

95 questions
0
votes
0 answers

Qt Use QTabBar in a Different QLayout

I have a custom QTabWidget and a custom QTabBar. Everything is working fine and I can go through the tabs and stuff. But the thing is, I wanna put the QTabBar in a different layout than the QTabWidget. This way I can make a Menu Bar type of layout…
David Ludwig
  • 967
  • 2
  • 12
  • 26
0
votes
1 answer

Qt, QWidget, QTabWidget, QTabBar: How to move the text to the bottom of icon?

By default, the text is always on the right-side of the tab icon... What should I do to move the text to the bottom of it ? And is there an option to do icon/text alignment ?? (I'm designing the GUI base on Qt Creator Designer. I'm trying with…
aviit
  • 1,957
  • 1
  • 27
  • 50
0
votes
1 answer

Change cursor of selected tab in a QTabWidget

I wonder if it's possible to change the cursor of the selected tab of a QTabWidget. I mean : I would like to have an arrow for the selected tab and the "hand" for the others. I was able to set the "hand" for the 4 tabs of the widget, but not…
castors33
  • 477
  • 10
  • 26
0
votes
1 answer

How to Reduce the Memory when a Tab is closed

I'm new in this Qt programming. I am just trying to do a Browser application. In that i use a tab widget and a Webview for loading the url's. When am having more number of new tabs my memory keeps on increasing and if i am closing the tabs one by…
New Moon
  • 787
  • 6
  • 21
  • 35
-2
votes
1 answer

PyQt5 QTabBar paintEvent with tabs that can move

I would like to have a QTabBar with customised painting in the paintEvent(self,event) method, whilst maintaining the moving tabs animations / mechanics. I posted a question the other day about something similar, but it wasn't worded too well so I…
SamG101
  • 488
  • 1
  • 7
  • 18
1 2 3 4 5 6
7