How to set a custom central widget in mainwindow?

Bono Saroj DLPC BonoSA at ncsc.navy.mil
Mon Sep 17 14:32:24 BST 2001


What about 

QMultiLineEdit *centralWidget;  // your object is QListView I suppose
setCentralWidget(centralWidget);




-----Original Message-----
From: Dung Patrick [mailto:dkt at digitalme.com]
Sent: Monday, September 17, 2001 12:06 AM
To: kdevelop at kdevelop.org; qt-interest at trolltech.com
Subject: How to set a custom central widget in mainwindow?


Hi,

I write my own main window (derived from QMainWindow) and
set the central widget to a listview This is find.

t how to set the central widget to a widget created by qt
designer? The widget (created by qt designer) becomes a new
parent and I have two widget.

--
List archive and information: http://qt-interest.trolltech.com

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list