powlee
5th July 2012, 15:05
Hi,
I discovered a rather strange behavior in my application under Windows. I'm developing an application under Linux and use it on Windows machines also.
I have a GroupBox holding a widget, and hide and show the widget depending on the toggled Slot of the groupBox.
In Linux this works really fine.
In Windows however the widget doesn't show when I start the application. When I click on the checkBox a second time. A new Window containing my widget pops out. I have really no idea how this can happen.
Anyone any advice?
Although I have some experience I'm not sure if this isn't a very noobish mistake and therefore post it in the newbs group.
thx for the help
Code looks something like this:
void myWidget::gbToggled(bool on){
if(on)
otherWidger->show();
else
oderWidget->hide();
}
795979607961
I discovered a rather strange behavior in my application under Windows. I'm developing an application under Linux and use it on Windows machines also.
I have a GroupBox holding a widget, and hide and show the widget depending on the toggled Slot of the groupBox.
In Linux this works really fine.
In Windows however the widget doesn't show when I start the application. When I click on the checkBox a second time. A new Window containing my widget pops out. I have really no idea how this can happen.
Anyone any advice?
Although I have some experience I'm not sure if this isn't a very noobish mistake and therefore post it in the newbs group.
thx for the help
Code looks something like this:
void myWidget::gbToggled(bool on){
if(on)
otherWidger->show();
else
oderWidget->hide();
}
795979607961