Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.4.2
-
None
Description
The first radio button in the cole below does not emit the clicked() signal. A Qt 3 version of the same code works perfectly.
// ----------------------------------------------------
#include <Qt3Support>
#include <QtGui>
class Button : public Q3ButtonGroup
{
Q_OBJECT
public:
Button( QWidget * parent ) : Q3ButtonGroup( parent, "dd" )
public slots:
void btnClicked()
private:
QAbstractButton * b1, * b2, * b3;
};
class Test : public Q3MainWindow
{
public:
Test( QWidget * parent = 0, const char * name = 0 )
: Q3MainWindow( parent, name, 0 )
};
int main( int argc, char * argv[] )
{
QApplication app( argc, argv );
Test test;
test.show();
return app.exec();
}
#include "main.moc"
// ----------------------------------------------------