[Qt-interest] show a widget without a main window
Rohan McGovern
rohan.mcgovern at nokia.com
Wed Mar 4 06:05:09 CET 2009
On Wednesday 04 March 2009, ext ri at eeda.denso.co.jp wrote:
> Hi
>
> I would like to know that if it's possible to show a widget
> without a main window.
It sure is.
>
> For example, I want to show a QTableWidget, but only a
> QTableWidget, not a QTableWidget inside a QMainWindow.
>
> Is it possible? if yes, any sample code?
It's as simple as this:
QTableWidget table;
/* some code to put data in the table */
table.show();
--
Rohan McGovern
Qt Software, Nokia
More information about the Qt-interest-old
mailing list