Python Forum
[PyQt] Can't neither setWindowFlags nor setFixedSize of a subwindow.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] Can't neither setWindowFlags nor setFixedSize of a subwindow.
#6
(Aug-05-2021, 06:14 PM)JayCee Wrote: Hi, guys. My MDI application used to have all the code in one single file and everything worked, but now that I split the code I can't set the subwindow flags and its fixed size. No error messages. The subwindow opens just as if the code was no there. Everything else works exactly that way I want. The Mdi is in main.py and the subwindow in usuarios.py. Any ideas? Here's the code for both files. Thanks.

import usuarios

line 3, in <module>
import usuarios
ModuleNotFoundError: No module named 'usuarios'
Reply


Messages In This Thread
RE: Can't neither setWindowFlags nor setFixedSize of a subwindow. - by JokerSob - Aug-05-2021, 08:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] Subwindow catlessness 5 2,913 Oct-23-2021, 06:28 PM
Last Post: catlessness
  Running external Python file as a subwindow JayCee 13 4,049 Aug-05-2021, 05:47 AM
Last Post: ndc85430
  [PyQt] App crashes when reopening a subwindow JayCee 13 5,254 Aug-04-2021, 01:51 AM
Last Post: JayCee

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020