I am attempting to produce a compass widget programatically that looks much like this: I want each "slice" of the compass to act as a button for in ...
I am attempting to produce a compass widget programatically that looks much like this: I want each "slice" of the compass to act as a button for in ...
I am writing a small utility composed by : 1) 4 QToolBar 2) 1 QToolBox 3) 1 QMenu 4) 1 QGraphicsView I have some buttons on the QToolBox, each bu ...
I am trying to store string data within a QAbstractButton.text(). Why? I want to display the short name in the text() itself, but be able to call th ...
I've been trying to create a widget with image background and two buttons (cancel and ok) with image and push down/up effect, using pyqt5 GUI of pytho ...
I'm actually working on a project with Qt 5.10.1. I'm using Linux and my partners are using Windows. We've written this piece of code: Where survi ...
I'm making a Solitaire card game to practice OOP and PyQt5, and I'm having trouble adding a card, which inherits QAbstractButton, to a layout (QGridLa ...
I would like to use my own string on the button, in the the below mentioned functions "msgBox.setDefaultButton" and "msgBox.addButton" : instead of ...
I'm trying to create a custom PyQt5 button, but am running across problems displaying it in a QMainWindow object. Here's the code I'm trying: The ...
I have a couple of custom buttons derived from QAbstractButton with autoExclusive and checkable property TRUE witch are applied to the same parent.(so ...
I have seen many answers for the same Question, I have already gone through them but none them solved my problem, I am getting the error QWidget: ...
I am new to QT GUI programming and I am using QT Creator. The problem I am seeing is with my pushbutton and line edit when the user presses the enter ...
I have a custom QWidget (actually, derived from QAbstractButton) for which I have to implement my own paintEvent. How to I use the style sheet informa ...
I have some weird behaviour in Qt that seems like a defect. I'd like to know if anybody has a good workaround. I have a popup widget that contains ma ...
I'm writing my own 4 state button and I'm not quite sure what to put in the checkStateSet() method, if anything. Here is what I've got so far: ...
I need to assign two shortcuts to a QAbstractButton, but I cannot find a way to do that. It seems the only method is QAbstractButton::setShortcut(con ...