Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 13 results for
qradiobutton
- Page 1
Qt Stylesheet and QRadioButton
Programming
Software Development
15 Years Ago
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
12 Years Ago
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
15 Years Ago
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
15 Years Ago
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
10 Years Ago
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
13 Years Ago
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
12 Years Ago
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
14 Years Ago
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
10 Years Ago
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
10 Years Ago
by tinstaafl
What error codes are you getting? Which line(s) are they pointing to?
Re: HELP WITH BMI CALCULATOR
Programming
Software Development
10 Years Ago
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
10 Years Ago
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
12 Years Ago
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()](…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC