Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How do I get a QScrollArea to scroll?
Post: RE: How do I get a QScrollArea to scroll?

(Oct-26-2021, 08:05 PM)deanhystad Wrote: I agree that setGeometry is a bad idea. Your example is easily achieved using a grid layout manager. Then could you please give me an example? I don't know ...
LavaCreeperKing GUI 9 7,811 Oct-28-2021, 09:07 PM
    Thread: How do I get a QScrollArea to scroll?
Post: RE: How do I get a QScrollArea to scroll?

"The important parts are that the scrolled widget is larger than the scrollable area and that the scrollable area knows how big the scrolled widget is (setWidgetResizeable(True))." But when I do self...
LavaCreeperKing GUI 9 7,811 Oct-24-2021, 07:29 PM
    Thread: How do I get a QScrollArea to scroll?
Post: RE: How do I get a QScrollArea to scroll?

(Oct-22-2021, 08:08 PM)Axel_Erfurt Wrote: Nobody can really help with a few snippets of code. Example PyQt5 GUI Creating QScrollArea Here is a full example of how I am creating the the window, scro...
LavaCreeperKing GUI 9 7,811 Oct-23-2021, 09:53 PM
    Thread: How do I get a QScrollArea to scroll?
Post: How do I get a QScrollArea to scroll?

A lot of people seem to have this problem. How do I get a QScrollArea to scroll. I have this code below that creates widgets and places them in lines in a QScrollArea to display information. I need to...
LavaCreeperKing GUI 9 7,811 Oct-22-2021, 06:09 PM
    Thread: QSoundEffect(pulseaudio): Error decoding source file:
Post: RE: QSoundEffect(pulseaudio): Error decoding sourc...

Thanks for the replies. As it would turn out, this is what ended up working for me: CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) filename = os.path.join(CURRENT_DIR, "sound.ogg") url = Q...
LavaCreeperKing GUI 4 3,957 Oct-22-2021, 05:50 PM
    Thread: QSoundEffect(pulseaudio): Error decoding source file:
Post: QSoundEffect(pulseaudio): Error decoding source fi...

I am using Linux now and I was moving an old project onto my computer from a backup. The project was originally made on Windows. One of the features of the project was to play music, but no matter wha...
LavaCreeperKing GUI 4 3,957 Oct-21-2021, 11:49 PM
    Thread: How to open a program with python without freezing
Post: RE: How to open a program with python without free...

Thank you.
LavaCreeperKing GUI 9 8,214 Aug-17-2019, 08:48 PM
    Thread: How to open a program with python without freezing
Post: RE: How to open a program with python without free...

(Aug-13-2019, 06:20 PM)Denni Wrote: Okay first and foremost -- Python is not multiprocessing when using threads due to the GIL and when you call out to Explorer you are bypassing the GIL that said w...
LavaCreeperKing GUI 9 8,214 Aug-13-2019, 08:51 PM
    Thread: How to open a program with python without freezing
Post: RE: How to open a program with python without free...

I am using PyQt. I have tried to use subprocess.run() and subprocess.call(). From what I understand is that it executes a command, but then waits for it to exit before I can continue and I don't want ...
LavaCreeperKing GUI 9 8,214 Aug-13-2019, 03:40 PM
    Thread: How to open a program with python without freezing
Post: How to open a program with python without freezing

Hi, can someone tell me how I can open a program with python without it freezing my program? What I am trying to do is create a program with some quick command buttons that allow me to open other prog...
LavaCreeperKing GUI 9 8,214 Aug-12-2019, 09:46 PM
    Thread: How to add a widget to a QtWindow after it has been created
Post: RE: How to add a widget to a QtWindow after it has...

Thank you.
LavaCreeperKing GUI 4 2,655 Jul-13-2019, 07:58 PM
    Thread: How to add a widget to a QtWindow after it has been created
Post: RE: How to add a widget to a QtWindow after it has...

Wow, that worked. I can't believe that worked. All this time all I needed to do was call button.show(). Thank you, I can't believe I never thought of that.
LavaCreeperKing GUI 4 2,655 Jul-12-2019, 07:49 PM
    Thread: How to add a widget to a QtWindow after it has been created
Post: How to add a widget to a QtWindow after it has bee...

I think I asked this before, but I was unable to get an answer. I need to know how I can add widgets to my window after it has been created. rom PyQt5 import QtCore, QtGui, QtWidgets import sys, rando...
LavaCreeperKing GUI 4 2,655 Jul-02-2019, 05:01 PM
    Thread: updating to pyqt5
Post: RE: updating to pyqt5

(Jun-30-2019, 09:08 PM)metulburr Wrote: It is my understanding that pip install pyqt5 is required for running applications, while pip install pyqt5-tools is dev tools such as PyQy5 Designer. pip ...
LavaCreeperKing GUI 4 8,021 Jun-30-2019, 10:13 PM
    Thread: updating to pyqt5
Post: RE: updating to pyqt5

I tried looking at the link for installing the designer, but I didn't understand. All that was for python 3.6 I have python 3.7 32bit(That is the only installer I saw on the python website. My compute...
LavaCreeperKing GUI 4 8,021 Jun-30-2019, 07:42 PM
    Thread: updating to pyqt5
Post: updating to pyqt5

Hey so I need some help updating to pyqt5. I got a new computer and installed pyqt5 using pip. On my old computer I had pyqt4 and I installed it using an installer. The problem is that now my pyqt4 co...
LavaCreeperKing GUI 4 8,021 Jun-30-2019, 07:02 PM
    Thread: learning to setup a simple web server
Post: RE: learning to setup a simple web server

(May-26-2019, 07:14 AM)searching1 Wrote: Hi Lavacreeperking, Im developing/creating script too and want to put in a simple web page.. Tho my primary target is not to use any framework( not sure if p...
LavaCreeperKing Web Scraping & Web Development 6 4,051 May-27-2019, 07:35 PM
    Thread: Make sockest keep connection
Post: RE: Make sockest keep connection

Never mind, I found out what is going on. It is not similar to that other question. What is going on is for some reason in order to get a loop to process the socket I need to pass the socket argument ...
LavaCreeperKing Networking 3 2,301 May-20-2019, 07:56 PM
    Thread: Make sockest keep connection
Post: Make sockest keep connection

I am trying to set up a network server. Here are some bits of the code that make the connection for the client and server. This is all just for a test. Server: port = 50008 host = 'localhost' class ...
LavaCreeperKing Networking 3 2,301 May-16-2019, 08:49 PM
    Thread: socket programming ConnectionRefusedError error
Post: RE: socket programming ConnectionRefusedError erro...

Change host to host = 'localhost' on client. When you try to get the socket host name the socket first needs a host. If you are not connected to a server, there is no host to return a host name. The s...
LavaCreeperKing Networking 3 12,867 May-16-2019, 08:07 PM

User Panel Messages

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