[Qt-interest] TableWidget widget

Chandru... sekarwagmare at gmail.com
Wed Jun 10 13:29:47 CEST 2009


use this to get the desktop resolution
 _lastScreenRect = QApplication::desktop()->screenGeometry();
setWindowTitle(QString("[%1x%2]").arg(_lastScreenRect.width()).arg(_lastScreenRect.height()));

On Wed, Jun 10, 2009 at 4:51 PM, Kavindra Palaraja
<kdpalara at trolltech.com>wrote:

> Sujan Dasmahapatra wrote:
> >
> > Friends
> >
> > I am creating a tablewidget ono my mainwindow.but the width of the
> > tablewidget I want of the width of the screen.I am actually hard
> > coding the width like this.
> >
> > setGeometry(0,67,1270,826);
> >
> > I want the width to be of the desktop width and height to be of
> > desktop height.how could I specify this plss tell me someone. ?
> >
>
> Hi,
>
> Please read the documentation.
>
> http://doc.trolltech.com/4.5/qdesktopwidget.html
>
> K.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090610/5679ae53/attachment.html 


More information about the Qt-interest-old mailing list