IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QAxSelect Class

The QAxSelect class provides a selection dialog for registered COM components.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAxSelect Class

  • Header: QAxSelect

  • qmake: QT += axcontainer

  • Inherits: QDialog

Detailed Description

QAxSelect dialog can be used to provide users with a way to browse the registered COM components of the system and select one. The CLSID of the selected component can then be used in the application to e.g. initialize a QAxWidget:

 
Sélectionnez
QAxSelect select;
if (select.exec()) {
    QAxWidget *container = new QAxWidget;
    container->setControl(select.clsid());
    container->show();
}

See Also

Member Function Documentation

 

[explicit] QAxSelect::QAxSelect(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags())

Constructs a QAxSelect object. Dialog parent widget and window flags can be optionally specified with parent and flags parameters, respectively.

[override virtual] QAxSelect::~QAxSelect()

Destroys the QAxSelect object.

QString QAxSelect::clsid() const

Returns the CLSID of the selected COM component.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+