hello ,

i am using PyQt4 : QtCore and QtGui .
i built a GUI with few tabs using QTabWidget(self.centralwidget)
and addTab(self.device)

device is a QtGui.QWidget()
device is one of my tabs...

i send text to this tab with
self.ui.name.setText(' ....') (name belongs to this tab)

how can i clear the tab?? i want a clean screen when i trigger it!
thanks!!!

Recommended Answers

All 3 Replies

settext('') does not work?

i did not think about it... but i have many field which i print on the screen with many settext(....)!!!
i don't want each field to settext(") seperatly!! i need a function which clear the tab at once!

thanks..

still not solved

commented: Please, do not bump. -3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.