Re: seticon for QCheckBox Programming Software Development by krystosan … how can i make them exclusive self.mayachkBox=QtGui.QCheckBox() mayaIcon=QtGui.QPixmap("images/Maya_Icon.png")… self.mayachkBox.setIcon(QtGui.QIcon(mayaIcon)) self.nukechkBox=QtGui.QCheckBox() nukeIcon= QtGui.QPixmap("images/nuke_icon.png") … seticon for QCheckBox Programming Software Development by krystosan how do i make use of seticon inherited by QCheckBox to display icon with exclusive checkboxes i found a link here but doesnt have any example how to do so http://riverbankcomputing.co.uk/static/Docs/PyQt4/html/qabstractbutton.html#setIcon Python, Qt4, checkboxes Programming Software Development by -ordi- …") ''' By default => CheckBox is activated ''' amarok = QtGui.QCheckBox("Amarok") amarok.setToolTip("Amarok on Estobuntu meediaplayer… muusikat ja raadiot.") amarok.setChecked(True) k3b = QtGui.QCheckBox("K3b") k3b.setToolTip("K3b'ga saab kirjutada… need compiler translation! Programming Software Development by JRM … #define FINDDIALOG_H #include <QDialog> class QCheckBox; class QLabel; class QLineEdit; class QPushButton; class …amp;text); private: QLabel *label; QLineEdit *lineEdit; QCheckBox *caseCheckBox; QCheckBox *backwardCheckBox; QPushButton *findButton; QPushButton *closeButton; }; #endif… Signal&Slot problem with PyQt Programming Software Development by TheOneElectroni …(180) self.calendar.setMinimumWidth(110) self.check1 = QCheckBox("check1") self.check2 = QCheckBox("check2") self.TextBox = QTextEdit("type… Radio button stylesheet problems Programming Software Development by naresh4230 … radio button.Its the same case even for checkbox "QCheckBox::indicator:checked {image: url(" + strCheckImagePath + ");width: 13px; height… Need help with function using template return type whithin a namespace Programming Software Development by Mr.UNOwen …: ") + id); exit(EXIT_FAILURE); } return w; } } ------- In use: mColumn.mEnableSnap = (QCheckBox *) findAndAssert<QWidget>(QString("uiEnableSnap"), panel); ------ Error… Re: Problem in probagation of close signal to the parent window in PyQt Programming Software Development by woooee …self.baseClassLabel.setBuddy(self.baseClassLineEdit) self.qobjectMacroCheckBox = QtGui.QCheckBox(self.tr("&Generate Q_OBJECT macro")) self.…True) self.setFocusProxy(self.commentCheckBox) self.protectCheckBox = QtGui.QCheckBox(self.tr("&Protect header file against "… Re: PyQT, QSpinBox, mouse Programming Software Development by leaffan … that need to be synchronized in dependence of a certain QCheckBox's check state - and was able to avoid an endless…: [CODE=python] self.sp1 = QDoubleSpinBox() self.sp2 = QDoubleSpinBox() self.sync_cb = QCheckBox(self.tr(u"Synchronize spinboxes") QObject.connect(self… Re: Trouble solving memory leak. Programming Software Development by Kob0724 … *parent) :ETArray(title, parent) { theRowHead = rowHead; theColHead = colHead; allCheck = new QCheckBox("Check all boxes?"); colHeadVector = new std::vector<… Re: Problem with Pyinstaller 1.3 and PyQt4 Programming Software Development by sneekula …(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.cb = QtGui.QCheckBox('Show title', self) self.cb.setFocusPolicy(QtCore.Qt.NoFocus) self… Re: Qt Stylesheet and QRadioButton Programming Software Development by naresh4230 … radio button.Its the same case even for checkbox "QCheckBox::indicator:checked {image: url(" + strCheckImagePath + ");width: 13px; height… Re: need compiler translation! Programming Software Development by vijayan121 ZN10FindDialogC2EP7QWidget is the result of the c++ compiler embedding type/namespace information in names (this is called name decoration or name mangling) . see: [url]http://en.wikipedia.org/wiki/Name_mangling#Complex_example[/url] for an example. you have probably inherited virtual functions from the base class QDialog and i think you are … Re: need compiler translation! Programming Software Development by JRM [QUOTE=vijayan121;414998] [url]http://en.wikipedia.org/wiki/Name_mangling#Complex_example[/url] for an example. you have probably inherited virtual functions from the base class QDialog and i think you are not linking to the library that contains the (compiled) code for QDialog. the c++ compiler would have demangled the name for you in a … Re: need compiler translation! Programming Software Development by vijayan121 QDialog is a header file (header files in qt 4.3 do not have a .h extension; they are like headers in libstdc++ ( <iostream>, <QDialog> ). the easiest way to build a qt applicatiom is to create a Makefile using qmake. here is a link to a simple tutorial to get you started: [URL]http://doc.trolltech.com/4.3/qmake-tutorial.html#starting… Re: need compiler translation! Programming Software Development by JRM [QUOTE=vijayan121;415082]QDialog is a header file (header files in qt 4.3 do not have a .h extension; they are like headers in libstdc++ ( <iostream>, <QDialog> ). the easiest way to build a qt application is to create a Makefile using qmake. [/QUOTE] Actually, I'm using Codeblocks IDE which has a project wizard for QT4. I … Re: need compiler translation! Programming Software Development by vijayan121 you could try using: [url]http://code.google.com/p/qtworkbench/[/url] Re: Signal&Slot problem with PyQt Programming Software Development by woooee I added print statements to Opacity() and nothing printed, meaning it never gets called. You might have to test for the location of the mouse cursor when the left button is pressed, or attach something to one particular widget. Sorry, I have never done anything like this so can't help much.[CODE]def Opacity(self): print "Opacity called… Re: Signal&Slot problem with PyQt Programming Software Development by TheOneElectroni Thanks for your answer, I wrote the same question to the PyQt mail list and they answered me that my approach was wrong. I should rewrite the code and implement an event handling system. The solution they suggested me is to forget about signal&slot and write the following function outside the .__init__ function. [CODE=Python] def moveEvent(… 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()](… Re: Need help with function using template return type whithin a namespace Programming Software Development by sepp2k The syntax is right, but for template functions the definition needs to be in the header file, not the .cpp file.