Questions tagged [pyqt]

PyQt is a set of Python bindings for Digia's Qt application framework and runs on all platforms supported by Qt including Windows, MacOS/X and Linux.

Filter by
Sorted by
Tagged with
2
votes
0answers
25 views

Simple employee GUI database sync/display/edit

This is a simple GUI to display employee data stored in the database, with editing options that sync with the database and adjust display according to mouse clicks/ keyboard scrolling/add/delete ... ...
1
vote
1answer
23 views

Calculator with PyQT5

Recently I started to learn Python and PyQT5. So here is my code for a calculator. Personally I don't like how the doMath() function is looking but I don't know ...
3
votes
0answers
58 views

Find product defects in a photograph

I have been trying to find defects (brown/copper parts) on this sample using PyQt, OpenCV and Python: And I can find defects, too. My problem is, I have nobody to ask, get feedback etc. I need some ...
2
votes
1answer
38 views

Data structure for multiple x-y data with additional meta information in PyQt5 app

I'm trying to find a better approach than my current one to manage the storage of my PyQt application. I have a QTreeWidget where I can add and delete rows. Clicking on these QTreeWidgetItems shows ...
3
votes
1answer
68 views

Simple projects planner on PyQt5

My task was : Create a Python application to display the active status of your IT project. Everyone the project has its own unique number that is generated at the stage of receipt project into the ...
2
votes
1answer
54 views

GUI table widget filling with nested for loops

I'm doing a larger PyQt5 project which includes loading in large amount of data into a QTableWidget. However filling the table up with the loaded data is extremely slow due to nested for loops. I put ...
2
votes
0answers
30 views

Using Parent and Child in PyQt and Python [closed]

I've been searching the internet and cannot find a proper answer as when one should user "Parent" and "Child". I see these two used all over, I have not used them myself in my programs, and now I'm ...
1
vote
1answer
172 views

Simple PyQt5 Window

I have started learning PyQt5 and wanted to create a simple window to test my skills. So I have created this window and I want to receive reviews on any aspect of the code. ...
2
votes
1answer
53 views

Python script that alerts me when specific file gets created

I wrote a small script that opens a window using PyQt when a specific file gets created. This is to let me know when another program (that I have no control over) has finished calculating something. ...
1
vote
1answer
338 views

Capturing stdout in a QThread and update GUI

I would like to know opinions about the design I came up with to handle stdout capture to show progress in a PyQt5 application. So, I have this module which is ...
2
votes
0answers
2k views

PyQt5 - Open new image window for each button click in menu

I wanted to write a code that each time I will press some button in my menu, a numpy image array will somehow be created, and this image will show up in a new window. So the following code is the ...
2
votes
0answers
774 views

PyQt frame which changes color with child focus

I am working on an application that has various "panels" contained within splitters. I wanted the panel border to change color when one of it's children gained focus. Here is a simple example of the ...
1
vote
0answers
46 views

Reorganize a large code into two separate codes in PyQt5

Situation I have a large GUI code consisting of a combobox. Whenever I select an option in the combobox, say X, in the very same main window, just next to ...
5
votes
0answers
3k views

Minimal SQLite table view in PyQt5

I have just started digging into PyQt5 in order to write a small GUI for editing a lexical database. Before I dig deeper into this, I would like to have feedback on the progress so far. Some ...
6
votes
1answer
354 views

PyFladesk Migration

I wanted to contribute to the PyFladesk project. The objective is to have a function that receives a Flask's app and embeds it in a Qt desktop app. I've already create a Pull Request on the main ...
3
votes
0answers
93 views

Program for memorizing irregular verbs (for Russian speakers)

I do not have any serious programming experience. The program is designed to memorize common irregular English verbs (for those who speak Russian like I do). The code is working. The necessary words ...
6
votes
1answer
80 views

Logging Window system

(I originally asked this on Stack Overflow and was directed here) So I have 2 classes, one is a PyQT window widget, and the other class is a stack which holds a dictionary pointing to all of the ...
7
votes
1answer
83 views

Asynchronous recorder

A recorder to asynchronously record both scalar data and images and then synchronize them. The images should be cut with dynamics ROI. Here's my attempt on it. Please feel free to comment upon it and ...
2
votes
1answer
212 views

Dice roll simulator (updated) created using Python 3.5 and PyQt5

...
6
votes
0answers
7k views

Example of multithreading in Python3 / PyQt5 using QThread

I wanted to make a simple example of multithreading with QThread in PyQt5 / Python3. The script generates a set of QLineEdits and buttons to start and stop a set of ...
5
votes
1answer
599 views

SQL Query generator, the GUI

This is the third round of reviews. The second round can be found in this question. This question focuses on the PyQt5 GUI for this app. This is a project I have been working on. This is one of my ...
8
votes
4answers
801 views

My Hangman game created using PyQt5 and Python 3.5

This is my Hangman game that I created using PyQt5 and Python 3.5 on my Windows 7 machine. What do you think? Is there anything you thing I could change/improve in terms of code or visually (font, ...
1
vote
1answer
509 views

Coin flip simulator with GUI

...
4
votes
1answer
461 views

Custom QT widget for QStackedWidget

I have a widget like below: ...
2
votes
1answer
883 views

Password Generator with GUI

I just finished my first GUI app, a Password Generator that can take any characters you want(I've added some default characters to make your life easier), and a password length up to 999, and some ...
4
votes
2answers
1k views

Timetable app for myself

My aim was to build a small, simple program that would show me my school timetable for the present day as well as the following day. I am new to PyQt(5) and programming in general. I started ...
2
votes
0answers
2k views

PyQt GUI with setObjectName on all components to enable functional testing

Inspired by Test-Driven Development with Python by Harry Percival, I'm trying to implement functional testing of a PyQt GUI. I'm finding that, in order for tests to find the GUI components, I need the ...
1
vote
0answers
1k views

Surveillance software using python and pyqt

This is started as a simple project, because I don't like software I'm using. Not that they are not good, but I wanted some custom stuff, so this little project started. This part of project is for ...
1
vote
0answers
123 views

PySide Label Subclass Widget

I am using PySide and the following widget sublassed from QLabel to display either the current day or time in my application: ...
1
vote
1answer
838 views

Tic Tac Toe in PyQt4

I'm working on learning Python, and this is my second GUI project using PyQt. I've played it a few times to test it and it seems to work. It isn't anything clever; the computer just picks randomly. ...
7
votes
1answer
1k views

First Memory Game with PyQt and OOP

So this is my very first time in this site. I have written this very basic Python code with PyQt5 to create a Memory Game. As I am not very familiar with OOP (but I'm trying to be!), I hope somebody ...
2
votes
0answers
4k views

Example of PyQt5 Snake game

1) This a follow-up question to Example of PyQt5 simple turn-based game code 2) After improvement I edited original code to create snake clone game, which is real-time (or pseudo real-time) and it is ...
7
votes
1answer
2k views

Example of PyQt5 simple turn-based game code

I've made my first turn-based game in PyQt5. I suppose that its idea can also be used by other novice GUI programmers. There is a 5 by 5 squared unpainted field and 4 players. Each player starts at ...
1
vote
1answer
5k views

Serial port data plotter in PyQt

I am rather new in GUI programming and multi-threading apps. It is just a serial port monitor which plot serial data via pyqtgraph. There are two curves on the ...
4
votes
0answers
490 views

PyQt GUI to add and remove dots

Initially I got this code: ...
4
votes
1answer
3k views

Node Graph-based User Interface with python

I'd like to create a pyqt widget similar to the one Blender uses for representing its nodes After wasting some bounties without getting any answers on Stack Overflow, I thought maybe posting a little ...
2
votes
3answers
5k views

Simple PyQt5 counting GUI

I just began learning how to use signals and slots in PyQt5, and so I made a cute (pun intended) little program to display just one button. When the button is pressed a thread is spawned which will ...
1
vote
1answer
92 views

Mod maker (creates XML files to be used as mods)

This code add functionality to a GUI designed using PyQt. It cannot run alone, but I can provide the code. I am not asking for someone to provide criticism for every single function written here, but ...
3
votes
2answers
101 views

Easing mod-making for a game

This program is meant to ease making mods for a game. A mod is made with XML. I used the lxml library to handle making the XML. I used PyQt for the GUI and this code is the functionality of the GUI. ...
11
votes
1answer
7k views

Python GUI by QtWebkit and Flask

I'm new to Python. For learning purposes, I want to create desktop application by using QtWebKit and Flask. You can find the source code here Main idea is: create a form including a QWebview widget ...
2
votes
1answer
2k views

Calculating sum of values in each child of dictionary for QTreeView

There is data stored in JSON file with the following structure: goods_data = {"year" : {"month" : {"day" : {"01" : {"name" : "some item", "price" : "10.01", "category" : "root | first | sub first | ...
1
vote
0answers
565 views

PyQt5 validator for decimal numbers (V2)

This class is similar to QDoubleValidator, but it improves slightly on the editing comfort. Are there any corner- or special cases of inputs I didn't consider, which would lead to bad behaviour? Is ...
3
votes
1answer
1k views

PyQt5 validator for decimal numbers

This class is similar to QDoubleValidator, but it improves slightly on the editing comfort. The comments mention "comma" but it's actually the decimal point of your locale (comma for me). ...
1
vote
1answer
618 views

Directory watcher and notifier for files added or removed

I have written a piece of code that notifies if something is added or removed from a folder location: ...
12
votes
3answers
879 views

Speeding up spectrum analysis

I'm trying to speed up this code that loops over an entire spectrum range. It's using a Raspberry Pi, and a rtl-sdr dongle that covers up to around 1.7 GHz. My goal is to be sweep over that spectrum ...
6
votes
1answer
3k views

Adding data from QTreeVIew to QTreeView

I have a QTreeview that is filled with data from data_for_tree dictionary. Suppose that dictionary represents the most common ...
24
votes
2answers
2k views

To do tree application with undo/redo functionality

I am making a to-do tree application (Earlybird) in Python that will show checkable tasks/subtasks in a tree view. It includes higher-level groups of tasks grouped into blocks (e.g., Work block, Home ...
15
votes
2answers
3k views

Day planner / logger

This is a simple program I've made using Qt Creator and Pyside: I made a list of activities that I would like to enforce Then I made a program that randomly pick them based on chance It has some ...
12
votes
1answer
4k views

Multi-layer PyQt4 image viewer

I have written a functional GUI program using PyQt4, and I'm looking for some feedback because it's not as fast as I would like. It takes in some number of large, same-sized 2D arrays and displays a ...
5
votes
1answer
2k views

Import and export of animation keys in Maya

I have programming this importing and exporting of animation keys. It is working, but I would like to gather any feedback/advice as I am still pretty much a noob in coding. ...