Suppaman
2nd December 2011, 09:15
Hi all
Just finished to search into the forum for similar problem but not found satisfying reply. I need to create a SDI like application. I'm creating the main window using QT Designer but I still didin't find a way for set a QPlainTextEdit control as central widget. For similar request someone suggested to drop the text widget over central widget, set the central widget layout vertical or horizontal mode and set text widget as expanding. This work but not complitely. I mean, using this way the text widget is automatically centered and resized based to the main window size but doesn't fill all the central widget area. Borders still appears around the text widget and doesn't look like a real SDI application where the text control fill all the entire area of the central window part.
Someone have a solution for this problem?
Thank you
Just finished to search into the forum for similar problem but not found satisfying reply. I need to create a SDI like application. I'm creating the main window using QT Designer but I still didin't find a way for set a QPlainTextEdit control as central widget. For similar request someone suggested to drop the text widget over central widget, set the central widget layout vertical or horizontal mode and set text widget as expanding. This work but not complitely. I mean, using this way the text widget is automatically centered and resized based to the main window size but doesn't fill all the central widget area. Borders still appears around the text widget and doesn't look like a real SDI application where the text control fill all the entire area of the central window part.
Someone have a solution for this problem?
Thank you