qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] QProgressDialog on Mac

Subject: Re: [Qt-interest] QProgressDialog on Mac
From: Nikos Chantziaras
Date: Thu, 03 Jun 2010 16:46:07 +0300
I just discovered those:

   QWidget::setFixedHeight()
   QWidget::setFixedWidth()
   QWidget::setFixedSize()


On 06/02/2010 03:40 PM, Stanislav Kolar wrote:
> Hi,
>
> for now I used:
>
> _progressDlg->setMaximumSize(_progressDlg->size());
> _progressDlg->setMinimumSize(_progressDlg->size());
>
> But I hoped that there is a flag for this purpose...
>
> Stanislav Kolar
>
> -----Original Message-----
> From: qt-interest-bounces@xxxxxxxxxxxxx 
> [mailto:qt-interest-bounces@xxxxxxxxxxxxx] On Behalf Of Nikos Chantziaras
> Sent: Wednesday, June 02, 2010 9:36 AM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Re: [Qt-interest] QProgressDialog on Mac
>
> On 06/01/2010 04:50 PM, Stanislav Kolar wrote:
>>
>>
>> Hi All,
>>
>> is it possible to create QProgressDialog on Mac with fixed size ? I have
>> tried almost everything and the dialog is still resizable on Mac (on Win
>> the flag Qt::MSWindowsFixedSizeDialogHint works well).
>
> Have you tried changing the size policy?  If that fails, have you tried
> setting maximumSize to the same value as minimumSize?
> _______________________________________________
> Qt-interest mailing list
> Qt-interest@xxxxxxxxxxxxx
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>

_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>