Can i set a widget (like a button, for example) hidden in Qt Designer?
subj
And if yes, how is it done?
Re: Can i set a widget (like a button, for example) hidden in Qt Designer?
Re: Can i set a widget (like a button, for example) hidden in Qt Designer?
not exactly, you can add dynamic properties in the Qt Designer: in the Property Editor there is a big green "plus" button, using it you can add different properties,
BUT it is work for Qt 4.5.x, and you can't preview a result of setting these properties.
Re: Can i set a widget (like a button, for example) hidden in Qt Designer?
Quote:
Originally Posted by
spirit
not exactly, you can add dynamic properties in the Qt Designer: in the Property Editor there is a big green "plus" button, using it you can add different properties
I've tried that, but when I was to add a Boolean "visible" it complains that that key already exists. (Although it is not in the list.)
Re: Can i set a widget (like a button, for example) hidden in Qt Designer?
Re: Can i set a widget (like a button, for example) hidden in Qt Designer?
Quote:
Originally Posted by
YaK
subj
And if yes, how is it done?
Not in designer as far as I know.
But you can simply call yourWidget->hide() in the code using the form.