pyside6 Questions

4

Solved

Simple demo application I am trying to set the theme to dark. I would prefer a code version (non QtQuick preferred), but only way I see for Python is with a QtQuick config file, and even that does ...
Rendition asked 21/7, 2022 at 2:37

3

I installed PySide6 on my MacBook and confirmed that it is installed as shown in the attached screen shot. pip3 install PySide6 I tried to run this simple app from Visual Studio Code: from ...
Epact asked 17/4, 2022 at 16:54

2

Solved

I am trying to build any random QML component, and having this line import QtGraphicalEffects 1.15 will cause an error: 'module "QtGraphicalEffects" is not installed` I am running on a vi...
Linkage asked 7/7, 2021 at 20:59

3

Solved

I have installed open source qt creator (free version) and creating very simple desktop application. I am able to create simple window but when I am running I am getting following error: I have tri...
Biographical asked 26/7, 2021 at 11:3

1

I want to be able to copy and paste to and from a Pyside6 table (QTableWidget) with control-C control-V, mainly from and to Excel. I found @Momo's post of January 2023. 1 That did not appear to wor...
Hellfire asked 17/7, 2023 at 22:59

1

I'm trying to create an abstract base class that also inherits an arbitrary PySide6 class. However, the following produces the error TypeError: metaclass conflict: the metaclass of a derived class ...
Ceresin asked 11/3, 2021 at 22:54

2

Solved

Consider the following minimal working example: #!/usr/bin/env python3 from PySide6.QtCore import QTimer from PySide6.QtWidgets import QLabel, QApplication app = QApplication() label = QLabel('La...
Beaux asked 21/2, 2022 at 15:2

1

I'm developing a note application with PySide6 on Ubuntu 22.04. The note windows should be like usual windows, but they should have no taskbar entry. I tried already multiple approaches, including ...
Soudan asked 25/2, 2023 at 7:43

2

When I upgrade to PySide6 6.2.2, MyPy starts complaining about Qt.AlignmentFlag. Here's a small example: from PySide6.QtGui import Qt from PySide6.QtWidgets import QLabel, QApplication app = QAppl...
Childbirth asked 4/12, 2021 at 17:44

1

Solved

I use the following code to set a PySide6 app to the minimal possible size. This works fine when increasing the size of the widgets (set - to + in line 37), but not when decreasing it - in effect, ...
Cespitose asked 20/9, 2022 at 16:34

1

Recently I have bought a brand new Raspberry Pi 4B with 8Gb RAM and installed Ubuntu Desktop 21.04 there. My goal is to create a GUI on a touchscreen which controls GPIO pins (some hardware devices...
Chalcis asked 2/6, 2021 at 11:23

2

Solved

I have my first qt quick 2 pyside application,my app don't run and show below error main.py file import sys,os from PySide6.QtGui import QGuiApplication from PySide6.QtQml import QQmlApplicationEng...
Subclinical asked 5/3, 2021 at 10:50

2

I'm upgrading from PySide2 version 5 to PySide6, and the release notes say that it supports snake-case method names as well as replacing getter and setter methods with properties. That sounds like ...
Hayse asked 22/4, 2021 at 4:44

2

Solved

I am using Python 3.9.1 and PyQt6. Now I want to create a window with blurred background, which should look something like below: Blurred Window Background Demo It would be helpful if anybody prov...
Skellum asked 28/3, 2021 at 15:20

1

Solved

I have a qt quick pyside application .I had a question before,but now another proplem is there .Just a empty window appears and then in application window I see below message.Although I have anothe...
Centaur asked 7/3, 2021 at 4:51

0

For my QTextEdit I wanted to bring across something extremely basic, nested highlights, that I made whilst messing around on a W3Schools "Try It!" which looks like this. As far as I can ...
Bureaucrat asked 28/2, 2021 at 17:11

1

Solved

This should be easy but I'm just becoming more and more confused looking at suggested answers that don't work. All I want to do is to be able to have a bunch of widgets in a grid layout where resiz...
Xerosis asked 19/2, 2021 at 18:7
1

© 2022 - 2024 — McMap. All rights reserved.