Re: [Interest] QMessageBox default sizes

2014-04-07 Thread Tony Rietwyk
, Tony > -Original Message- > From: interest-bounces+tony=rightsoft.com...@qt-project.org > [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf > Of Sensei > Sent: Monday, 7 April 2014 10:28 PM > To: interest@qt-project.org > Subject: Re: [Interest

Re: [Interest] QMessageBox default sizes

2014-04-07 Thread Till Oliver Knoll
Am 07.04.2014 um 14:28 schrieb Sensei : > On 4/2/14, 2:32pm, Sensei wrote: >> However, I can't set minimum sizes of the dialog with the following: >> >> box_->layout()->setSizeConstraint(QLayout::SetMinimumSize); >> box_->setMinimumSize(400, 150); >> >> Could this be a problem in setting

Re: [Interest] QMessageBox default sizes

2014-04-07 Thread Sensei
On 4/2/14, 2:32pm, Sensei wrote: > However, I can't set minimum sizes of the dialog with the following: > > box_->layout()->setSizeConstraint(QLayout::SetMinimumSize); > box_->setMinimumSize(400, 150); > > Could this be a problem in setting constraints before executing the dialog? So...

Re: [Interest] QMessageBox default sizes

2014-04-02 Thread Sensei
On 4/2/14, 12:43pm, Rutledge Shawn wrote: > This is a minimalist dialog which doesn't take up any more space than > necessary, so the default size will depend on what is being > displayed, and is determined by the layout (see e.g. > QMessageBoxPrivate::layoutMinimumWidth()). After you show the dia

Re: [Interest] QMessageBox default sizes

2014-04-02 Thread Rutledge Shawn
On 2 Apr 2014, at 11:53 AM, Sensei wrote: > Dear all, > > How can I reproduce the aesthetics of a QMessageBox::warning and similar > static functions? > > I am trying to make a platform-specific dialog box that handles > informativeText (yes, just that! at least for now). > > However, I don'

[Interest] QMessageBox default sizes

2014-04-02 Thread Sensei
Dear all, How can I reproduce the aesthetics of a QMessageBox::warning and similar static functions? I am trying to make a platform-specific dialog box that handles informativeText (yes, just that! at least for now). However, I don't know how to retrieve the default sizes, and printing them i