Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: QPixmap not updating in QGraphicsScene after using QPainter on it
Post: QPixmap not updating in QGraphicsScene after using...

I created a custom widget modifies QPixmap which just adds QPianter drawing function to the widget. from PySide2.QtGui import QPixmap from PySide2.QtGui import QPainter from ui import painter class S...
Leo_Red GUI 1 1,462 Apr-11-2022, 12:26 PM
    Thread: Drawing in PySide
Post: RE: Drawing in PySide

(Jun-23-2021, 05:00 PM)deanhystad Wrote: You always draw "directly on the window". Widgets are just windows with protocol. I think this is a nicely done series of tutorials on how to make custom Q...
Leo_Red GUI 3 2,849 Jun-26-2021, 08:49 AM
    Thread: Drawing in PySide
Post: Drawing in PySide

Hi, I am looking for an widget that can be used to draw on. I looked into the PySide documentation for hours, still didn't find anything. I checked out QPainter, I don't want to directly draw on the w...
Leo_Red GUI 3 2,849 Jun-18-2021, 11:52 AM
    Thread: Kivy error
Post: RE: Kivy error

(Apr-11-2021, 09:18 AM)Larz60+ Wrote: With your virtual environment activated, type pip list if kivy's not in the list, reinstall from virtual environment. It's possible the first install went to a...
Leo_Red GUI 5 2,617 Apr-11-2021, 04:27 PM
    Thread: Kivy error
Post: RE: Kivy error

(Apr-10-2021, 04:13 PM)Leo_Red Wrote: Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am using Linux mint 20. Ki...
Leo_Red GUI 5 2,617 Apr-11-2021, 02:32 AM
    Thread: Kivy error
Post: RE: Kivy error

(Apr-10-2021, 10:36 PM)Larz60+ Wrote: Quote:It says "No module named kivy" What is "it"? Quote:I am installing tj in a virtual environment. what is tj? Please provide as much information as you can....
Leo_Red GUI 5 2,617 Apr-11-2021, 02:31 AM
    Thread: Kivy error
Post: Kivy error

Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am usjng Linux mint 20. Kivy is installed in an virutal environmen...
Leo_Red GUI 5 2,617 Apr-10-2021, 04:13 PM
    Thread: Can a kivy interface be customised?
Post: Can a kivy interface be customised?

Hi, I am currently working on a program and I am planning on using kivy. But, I am going for a pixel art style interface (Like the one in aseprite: https://community.aseprite.org/uploads/d...30590.jpe...
Leo_Red GUI 0 1,583 Apr-10-2021, 08:37 AM
    Thread: PyQt5 not installed properly
Post: RE: PyQt5 not installed properly

(Apr-08-2021, 03:11 PM)Axel_Erfurt Wrote: go to Terminal an run designer Thanks!
Leo_Red GUI 4 3,153 Apr-10-2021, 08:35 AM
    Thread: PyQt5 not installed properly
Post: RE: PyQt5 not installed properly

Thanks! Any Idea where QtDesigner is located?
Leo_Red GUI 4 3,153 Apr-08-2021, 01:32 PM
    Thread: PyQt5 not installed properly
Post: PyQt5 not installed properly

Hi, I was starting to learn PyQt5 today. And I installed PyQt5 and PyQt-tools from pip3. I think I used Capital letters and typed "-tools" wrong. I am using linux mint 20 and Python 3.8.5. It made...
Leo_Red GUI 4 3,153 Apr-08-2021, 11:59 AM
    Thread: Drawn line shift when that surface is copied to another in pygame
Post: RE: Drawn line shift when that surface is copied t...

(Feb-08-2021, 04:21 PM)nilamo Wrote: Pygame is a pretty barebones library, and there's definitely a lot of work involved to use it. Pyglet is perhaps more geared to 3d games, and can fairly easily u...
Leo_Red Game Development 4 3,365 Feb-11-2021, 06:33 AM
    Thread: Drawn line shift when that surface is copied to another in pygame
Post: RE: Drawn line shift when that surface is copied t...

(Feb-05-2021, 07:13 PM)nilamo Wrote: Quote: if event.type == pygame.MOUSEMOTION: pre_view == pygame.Surface.copy(canvas) That's probably not what you wanted (comparison o...
Leo_Red Game Development 4 3,365 Feb-06-2021, 08:08 AM
    Thread: Drawn line shift when that surface is copied to another in pygame
Post: Drawn line shift when that surface is copied to an...

Hi, I am currently making a pixel editor. And I was making the drawing tools, when I hit a problem. I was making a system where it will show how the canvas will look like before something is drawn (Yo...
Leo_Red Game Development 4 3,365 Feb-05-2021, 10:14 AM
    Thread: EOF while parsing
Post: RE: EOF while parsing

(Feb-04-2021, 02:19 PM)Leo_Red Wrote: Hi, so I am starting to get some unusual errors on some of my python scripts. it randomly giving an error like "IndentationError: expected an indented block" wh...
Leo_Red General Coding Help 2 1,973 Feb-05-2021, 09:37 AM
    Thread: EOF while parsing
Post: EOF while parsing

Hi, so I am starting to get some unusual errors on some of my python scripts. it randomly giving an error like "IndentationError: expected an indented block" when I add a new line. So, then I remove t...
Leo_Red General Coding Help 2 1,973 Feb-04-2021, 02:19 PM
    Thread: Making a colour field
Post: RE: Making a colour field

(Jan-22-2021, 04:00 PM)BashBedlam Wrote: A single image with every color value would have to contain at least 16,581,375 pixels. In your illustration of the gimp color selector the outer ring select...
Leo_Red GUI 11 4,979 Jan-22-2021, 04:07 PM
    Thread: Making a colour field
Post: RE: Making a colour field

(Jan-22-2021, 02:05 PM)BashBedlam Wrote: What do you mean when you say "the color field is still showing green"? Did you change the image to show only green? Is the cursor on a green pixel? Clicking...
Leo_Red GUI 11 4,979 Jan-22-2021, 03:27 PM
    Thread: Making a colour field
Post: RE: Making a colour field

(Jan-21-2021, 05:31 PM)BashBedlam Wrote: (Jan-21-2021, 03:50 PM)Leo_Red Wrote: But, I don't know that colour value's position in the colour wheel (so that I can move the colour picker cursour to t...
Leo_Red GUI 11 4,979 Jan-22-2021, 05:37 AM
    Thread: Making a colour field
Post: RE: Making a colour field

(Jan-21-2021, 02:33 PM)BashBedlam Wrote: What you’re asking for in your second question will require that you to map out every pixel in your color field image. It seems to me that there are easier w...
Leo_Red GUI 11 4,979 Jan-21-2021, 03:50 PM

User Panel Messages

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