ape
30th January 2008, 15:31
Hi,
i do have a QcomboBox which contains a list of interfaces available on the System (Windows).
Now i think it would make sense to add a selected trigger....means: if a user selects / opens the QComboBox i want to re-scan for existing interfaces.
I have tried it like that:
interfaceComboBox = new QComboBox(configureConnectionBox);
interfaceComboBox->setObjectName(QString::fromUtf8("interface"));
interfaceComboBox->setStatusTip(QString::fromUtf8("Select your interface of choice here."));
interfaceComboBox->setToolTip(QString::fromUtf8("Select your interface of choice here."));
interfaceComboBox->setGeometry(QRect(12,25,100,20)); // my trigger
connect(interfaceComboBox, SIGNAL(clicked()), this, SLOT(openInterfaceSelector()));
at the moment it looks like it happens just NOTHING if i select / open the QComboBox.
Am i using the wrong trigger ?
Best regards
ape
[/code]
i do have a QcomboBox which contains a list of interfaces available on the System (Windows).
Now i think it would make sense to add a selected trigger....means: if a user selects / opens the QComboBox i want to re-scan for existing interfaces.
I have tried it like that:
interfaceComboBox = new QComboBox(configureConnectionBox);
interfaceComboBox->setObjectName(QString::fromUtf8("interface"));
interfaceComboBox->setStatusTip(QString::fromUtf8("Select your interface of choice here."));
interfaceComboBox->setToolTip(QString::fromUtf8("Select your interface of choice here."));
interfaceComboBox->setGeometry(QRect(12,25,100,20)); // my trigger
connect(interfaceComboBox, SIGNAL(clicked()), this, SLOT(openInterfaceSelector()));
at the moment it looks like it happens just NOTHING if i select / open the QComboBox.
Am i using the wrong trigger ?
Best regards
ape
[/code]