python - pyqt: Lower dock widget -


i trying find way lower dock widget title bar showing. right trying hide widget inside dock widget getting this:

enter image description here

the dock widget "lowers" width doesn't stretch across whole screen, there way can fix that? or other way of lowering dock widget?

here code window:

class ui_mainwindow(object):      def setupui(self, mainwindow):         mainwindow.setobjectname(_fromutf8("mainwindow"))         mainwindow.resize(320, 240)         self.centralwidget = qtgui.qwidget(mainwindow)         self.centralwidget.setobjectname(_fromutf8("centralwidget"))         mainwindow.setcentralwidget(self.centralwidget)           self.dockwidget = qtgui.qdockwidget(mainwindow)         self.dockwidget.setfeatures(qtgui.qdockwidget.nodockwidgetfeatures)         self.dockwidget.setobjectname(_fromutf8("dockwidget"))         self.dockwidget.setallowedareas(qt.bottomdockwidgetarea)           self.textedit = qtgui.qtextedit()         self.textedit.setgeometry(qtcore.qrect(40, 10, 104, 71))         self.textedit.setobjectname(_fromutf8("textedit"))         self.textedit.setreadonly(true)          self.dockwidget.setwidget(self.textedit)         self.textedit.setvisible(false)          mainwindow.adddockwidget(qtcore.qt.dockwidgetarea(8), self.dockwidget)            self.retranslateui(mainwindow)         qtcore.qmetaobject.connectslotsbyname(mainwindow)       def retranslateui(self, mainwindow):         mainwindow.setwindowtitle(_translate("mainwindow", "mainwindow", none)) 


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -