[Qt-interest] QProgressDialog on Mac

Israel Brewster israel at frontierflying.com
Wed Jun 2 19:40:53 CEST 2010


On Jun 2, 2010, at 4:40 AM, 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...

In my experience with Qt windows in general on Mac OS X, this approach of setting the MaximumSize equal to the MinimumSize is the only way I have managed to get fixed-sized windows. May not be the most elegant, but at least it seems to work.

> 
> 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
> 
> 
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100602/5d630d90/attachment.bin 
-------------- next part --------------



More information about the Qt-interest-old mailing list