Qt Stylesheet and QRadioButton Programming Software Development by Kob0724 … Style Sheet to style a radio button like this: [CODE] QRadioButton{ background:#5F7536; color:#CBF57D; font:bold; } [/CODE] It works fine… this, but it didn't work: [CODE] QRadioButton::indicator{ color:black; } [/CODE] Neither did: [CODE] QRadioButton::indicator{ background:black; } [/CODE] Anyone have… Re: Qt Stylesheet and QRadioButton Programming Software Development by naresh4230 … am using style sheet for radio button as below "QRadioButton::indicator:checked {image: url(" + strCheckedRadioButtonImagePath + ");}"\ It works… Re: Qt Stylesheet and QRadioButton Programming Software Development by Duoas I have never played directly with Qt stylesheets... but it appears that you need to provide an image for the indicator with the color you want. Here's what I found about it: [url]http://lists.trolltech.com/qt-interest/2006-11/thread00074-0.html[/url] The OP wants to manage different colors for different states, but the underlying problem is the … Re: Qt Stylesheet and QRadioButton Programming Software Development by Kob0724 Yea, I'd come across the same stuff Duoas. I was just hoping there might be a way to do it without having to make my own radio button images. But I guess not. Thanks anyway! Cheers. HELP WITH BMI CALCULATOR Programming Software Development by mmegue …; QDoubleSpinBox* weightEntry; QLineEdit* result; QPushButton * bimout; QPushButton * calculate; QRadioButton * kilograms; QRadioButton * meters; QRadioButton * centimeters; QRadioButton * pounds; }; #endif // BMICAL_H #include "bmiCal.h" bmiCal… slots and signal with different arguments Programming Software Development by syd919 …? [code=c]here is my code: void myclass::createbutton() { QRadiobutton* radio= new QRadiobutton("word") connect(radio, Signal(clicked),this,SLOT…(checkedA(QRadiobutton))) } void myclass::checkedA(QRadiobutton* radio) { useranswers.push(radio); //where useranswers is a… Radio button stylesheet problems Programming Software Development by naresh4230 … am using style sheet for radio button as below "QRadioButton::indicator:checked {image: url(" + strCheckedRadioButtonImagePath + ");}"\ It works… Re: Problem in probagation of close signal to the parent window in PyQt Programming Software Development by woooee …self.tr("&Constructor")) self.qobjectCtorRadioButton = QtGui.QRadioButton(self.tr("&QObject-style constructor")) self.…;Q&Widget-style constructor")) self.defaultCtorRadioButton = QtGui.QRadioButton(self.tr("&Default constructor")) self.copyCtorCheckBox =… Re: Radio button in Qt GUI Programming Software Development by panqnik AFAIK, QRadioButton is derived from QAbstracButton, so it should have a signal 'clicked'. Make use of it :) http://qt-project.org/doc/qt-5.0/qtwidgets/qabstractbutton.html#clicked Re: HELP WITH BMI CALCULATOR Programming Software Development by tinstaafl What error codes are you getting? Which line(s) are they pointing to? Re: HELP WITH BMI CALCULATOR Programming Software Development by mmegue i am not getting any error messages but if i click on the calculate button its not activating the other button bimout.from line 95 Re: HELP WITH BMI CALCULATOR Programming Software Development by wrathness You have QPushButton * bimout defined as a member in your class definition so why are you doing it again at line 47 ? Line 47 should be bimout = new QPushButton("BMIInterpretation", this) The same goes for a couple of your other class members(the pushbuttons and radio buttons) My advice would be to clean that up and set the parents of … Re: Radio button stylesheet problems Programming Software Development by raptr_dflo This is almost certainly a visual indication that the checkbox (or radio-button) now has keyboard focus (meaning that the space-bar will toggle the state of the checkbox, or select an unselected radio button -- hitting the tab key to move the focus among widgets should confirm this). If you don't want keyboard control, using [setFocusPolicy()](…