[Qt-interest] QProgressDialog on Mac

Nikos Chantziaras realnc at arcor.de
Thu Jun 3 15:46:07 CEST 2010


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 at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Nikos Chantziaras
> Sent: Wednesday, June 02, 2010 9:36 AM
> To: qt-interest at trolltech.com
> 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 at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list