Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about qpushbutton

Read more about qpushbutton

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - qpushbutton

Qt Python - in a list of buttons change color of all buttons up until the one that was clicked

I have a list of Qt buttons like this: self.buttons = [button1, button2, button3] When one is clicked, I want all the buttons that come before the one that was clicked in the list to change their colo...
test-img

Tolga Poyraz

python

pyside

pyside2

signals-slots

qpushbutton

Votes: 0

Answers: 1

Latest Answer

Add all the buttons to a QButtonGroup (using their index as id) and then connect to the group's idClicked signal. This will automatically send the index of the clicked button. Below is a simple demo t...
test-img

ekhumoro

QT widgets, rounded selected corner only

I can set a QT QPushButton to rounded button by setting "border-radius" in style sheet, however i just want to set only the right edge (top and bottom right) corner of the button to rounded....
test-img

curiousJorgeXX

qt

qpushbutton

Votes: 0

Answers: 1

Latest Answer

You can set border-top-right-radius and border-bottom-right-radius in style sheet.
test-img

Ye.Feng

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved