Skip to content

Conversation

@AbdallaDalleh
Copy link

We started using guiFile property, we noticed the following issues:

  • GUI is loaded but with small dimensions (100x40 or something).
  • GUI does not close when parent closes.

I think 1st point is important, the UI file gets loaded but with weird small dimensions. As for the 2nd, I think this can be customized further by adding an option whether to close on exit or not (i.e. setting the parent widget).

We started using guiFile property, we noticed the following issues:
  - GUI is loaded but with small dimensions (100x40 or something).
  - GUI does not close when parent closes.

I think 1st point is important, the UI file gets loaded but with weird small dimensions.
As for the 2nd, I think this can be customized further by adding an option whether to 
close on exit or not (i.e. setting the parent widget).
@AbdallaDalleh
Copy link
Author

I just thought of setting the parent inside the if statement, using w->setParent( this->getQWidget() ); but it rendered the GUI into the button itself, not sure why ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant