JoZCaVaLLo
25th June 2009, 15:25
Hi... Started last week programming with QT after a couple of years of .NET and c#...
I have to reproduce the main window of our current application with QT and I have one thing I cannot figure out, maybe because I'm still with .NET approach.
In this main window I have 2 elements, a big QTextBrowser on top and a small QTextEdit on bottom. the QTextEdit has a fix height of 100 and must always be visible. It means that when the user resizes the window, the QTextBrowser resizes and the QTextEdit moves... remaining on bottom of the window.
My question is: is there some parameters I missed (in QSplitter or anything else) or do I have to program this behaviour by myself?
If you find this a stupid question, can you point me to a good site where they easily explain how to migrate my mind from .NET to QT philosphy?
Thanks in advance
I have to reproduce the main window of our current application with QT and I have one thing I cannot figure out, maybe because I'm still with .NET approach.
In this main window I have 2 elements, a big QTextBrowser on top and a small QTextEdit on bottom. the QTextEdit has a fix height of 100 and must always be visible. It means that when the user resizes the window, the QTextBrowser resizes and the QTextEdit moves... remaining on bottom of the window.
My question is: is there some parameters I missed (in QSplitter or anything else) or do I have to program this behaviour by myself?
If you find this a stupid question, can you point me to a good site where they easily explain how to migrate my mind from .NET to QT philosphy?
Thanks in advance