[PyQt] saveState()/restoreState() of a nested QMainWindow

2011-01-05 Thread Bram Marien
Hello everybody, I'm trying to use QSettings to save and restore the window configuration, and the size and position of its docking widgets to be more precise, in my application. My application is a normal QMainWindow (let's call this 'outer'), which has a QDockWidget, and a normal QWidget as

[PyQt] Stylesheet in QLineEdit

2010-08-04 Thread Bram Marien
Hi, We have created a QLineEdit field, in which we have set the stylesheet (using setStyleSheet) to the following value : '''background-image: url(:/icons/icons/table_add_16.png); background-repeat: no-repeat; background-position: center right;