Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, April 2007
Hide on start.


Message 1 in thread

I have QDialog and I want, that it will be hidden after start programm, 
how I can to do that? hide() on constructor is not works :(

Thanks in advance.
Anton I Alferov.

--
 [ signature omitted ] 

Message 2 in thread

On 4/24/07, Anton I Alferov <casper@xxxxxxxxxxxx> wrote:
> I have QDialog and I want, that it will be hidden after start programm,
> how I can to do that? hide() on constructor is not works :(

It will be hidden unless you explicitly show() [or exec()] it.

Could you be more specific about what the problem is?

-- 
 [ signature omitted ] 

Message 3 in thread

Andrew Medico wrote:
> On 4/24/07, Anton I Alferov <casper@xxxxxxxxxxxx> wrote:
>> I have QDialog and I want, that it will be hidden after start programm,
>> how I can to do that? hide() on constructor is not works :(
>
> It will be hidden unless you explicitly show() [or exec()] it.
>
> Could you be more specific about what the problem is?
>
Ok, thanks, I understand. I just have to remove dialog.show() in 
main(int argc, *argv[]) :)

--
 [ signature omitted ] 

Message 4 in thread

> I have QDialog and I want, that it will be hidden after start programm,
> how I can to do that? hide() on constructor is not works :(
Maybe QWidget::showMinimized() is what you're after?

-- 
 [ signature omitted ]