Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: RE: Can't neither setWindowFlags nor setFixedSize ...

(Aug-06-2021, 05:33 PM)Axel_Erfurt Wrote: The problem is using QMainWindow as SubWindow, use QMdiSubWindow Great! So simple it's pathetic... Simplifying the code helped. Live and learn... Thanks...
JayCee GUI 10 4,055 Aug-06-2021, 08:06 PM
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: RE: Can't neither setWindowFlags nor setFixedSize ...

Still can't get rid of the maximize button and fix the subwindow size... I simplified the code so it's easier to understand: main.py from PyQt5 import QtCore from PyQt5.QtWidgets import QMainWindow,...
JayCee GUI 10 4,055 Aug-06-2021, 05:18 PM
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: RE: Can't neither setWindowFlags nor setFixedSize ...

It's there.
JayCee GUI 10 4,055 Aug-05-2021, 08:45 PM
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: RE: Can't neither setWindowFlags nor setFixedSize ...

Thanks.
JayCee GUI 10 4,055 Aug-05-2021, 08:26 PM
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: RE: Can't neither setWindowFlags nor setFixedSize ...

I have a MySQL database on my local machine and I read I could use pymsql to connect to it.
JayCee GUI 10 4,055 Aug-05-2021, 06:50 PM
    Thread: Can't neither setWindowFlags nor setFixedSize of a subwindow.
Post: Can't neither setWindowFlags nor setFixedSize of a...

I am trying to setWindowFlags (no maximize) and to make my subwindow NOT resizable, but setWindowFlags and setFixedSize are not doing it. No error messages. Everything else works. Here's a simplifie...
JayCee GUI 10 4,055 Aug-05-2021, 06:14 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

Of course. Thanks.
JayCee GUI 13 3,817 Aug-04-2021, 06:35 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

Thanks for your feedback, Axel. But what I need is the external file second_win to open inside the mdiArea of win...
JayCee GUI 13 3,817 Aug-04-2021, 06:16 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

I forgot to insert the code, but I edited the reply. It's there now.
JayCee GUI 13 3,817 Aug-04-2021, 05:44 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

They do not have to be separate programs. I guess they could be modules. The question now is how do I make the users.py file a module I can import. Here is the code to my users.py file: import sys...
JayCee GUI 13 3,817 Aug-04-2021, 05:37 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

(Aug-04-2021, 05:28 PM)Axel_Erfurt Wrote: Haven't you already achieved that here? https://python-forum.io/thread-34470-pos...#pid145454 Nope, because in regards to that Post, the entire code is in ...
JayCee GUI 13 3,817 Aug-04-2021, 05:34 PM
    Thread: Running external Python file as a subwindow
Post: RE: Running external Python file as a subwindow

I'm developing an MDI application which I know is going to be pretty large. It would make sense to me to split the code instead of having one huge Python file that holds everything. I come from the ...
JayCee GUI 13 3,817 Aug-04-2021, 05:26 PM
    Thread: Running external Python file as a subwindow
Post: Running external Python file as a subwindow

Hello, everyone. I am a beginner programmer developing an MDI application. So far, I have two files: main.py (MainWindow with mdiArea and menuBar) users.py (window that displays users) I am able t...
JayCee GUI 13 3,817 Aug-04-2021, 04:49 PM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 08:13 PM)Axel_Erfurt Wrote: I think the only way for a fixed size is not to use it as mdiArea subwindow and make it ontop. Hi, Axel. I figured out a way of doing it. I started from s...
JayCee GUI 13 4,933 Aug-04-2021, 01:51 AM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 07:30 PM)Axel_Erfurt Wrote: The maximum size of the subwindow is the size of the mdiArea. I see... That's an issue then. Is there a way to make the size of the subwindow be independe...
JayCee GUI 13 4,933 Aug-03-2021, 07:54 PM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 04:44 PM)Axel_Erfurt Wrote: A layout is, so to speak, a box in which widgets are placed. QVBoxLayout -> vertical QHBoxLayout -> horizontal layout = QtWidgets.QVBoxLayou...
JayCee GUI 13 4,933 Aug-03-2021, 06:25 PM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 04:32 PM)Axel_Erfurt Wrote: Zeal is a fine app (Win / Mac / Linux) for offline docs (200 programming languages ​​available) Great tip! Just downloaded and installed it. Amazing tool....
JayCee GUI 13 4,933 Aug-03-2021, 04:52 PM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 01:34 PM)Axel_Erfurt Wrote: This an example using Layouts, (removed all setGeometry) password should use echoMode 2. Hi Axel. Your code worked perfectly, again. I'm going to study it...
JayCee GUI 13 4,933 Aug-03-2021, 03:54 PM
    Thread: App crashes when reopening a subwindow
Post: RE: App crashes when reopening a subwindow

(Aug-03-2021, 02:47 AM)JokerSob Wrote: (Aug-03-2021, 01:58 AM)JayCee Wrote: self.mdiArea = QtWidgets.QMdiArea() self.mdiArea.setGeometry(0, 0, 600, 400) self.mdiArea.setAut...
JayCee GUI 13 4,933 Aug-03-2021, 02:50 AM
    Thread: App crashes when reopening a subwindow
Post: App crashes when reopening a subwindow

Hi, guys! I have a MainWindow with a subwindow inside an mdiArea. The subwindow opens, but if I close it and try to reopen it, my app crashes. What am I doing wrong? Here's my code: from PyQt5 im...
JayCee GUI 13 4,933 Aug-03-2021, 01:58 AM

User Panel Messages

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