Chris Aung
Chris Aung

Reputation: 9532

PyQt Frame with text

Is there any PyQt Widget that is equivalent to tkinter LabelFrame? Something like this

enter image description here

So far i only found QtGui.QFrame which doesn't seem to work the same way as tkinter LabelFrame. Am i missing something?

Upvotes: 2

Views: 7391

Answers (1)

Achayan
Achayan

Reputation: 5895

You can use QGroupBox for this purpose.

self.frame = QtGui.QGroupBox(self)    
self.frame.setTitle("Hello World")

Upvotes: 5

Related Questions