QWinThumbnailToolBar not visible ..?



  • Hi everybody,

    I have a problem with QWinThumbnailToolBar.

    Define like this :

       QWinThumbnailToolBar * thumbnailToolBar = new QWinThumbnailToolBar(this);
        thumbnailToolBar->setWindow(windowHandle());
    
        QWinThumbnailToolButton *quitButton = new QWinThumbnailToolButton(thumbnailToolBar);
        quitButton->setToolTip(tr("Quit"));
        quitButton->setIcon(QIcon(":/icones/shutIco"));
        connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));
    
        QWinThumbnailToolButton *settings = new QWinThumbnailToolButton(thumbnailToolBar);
        settings->setToolTip(tr("Settings"));
        settings->setIcon(QIcon(":/icones/images/bouton param├Ętres.png"));
        settings->setDismissOnClick(true);
        connect(settings, SIGNAL(clicked()), this, SLOT(parametre()));
    
        QWinThumbnailToolButton* space = new QWinThumbnailToolButton(thumbnailToolBar);
        space->setFlat(true);
    
        thumbnailToolBar->addButton(quitButton);
        thumbnailToolBar->addButton(space);
        thumbnailToolBar->addButton(settings);
    

    Everythings works fine but when I launch my soft as adminitrator the QWinThumbnailToolBar disappears.

    Someone have an idea to solve my problem ?

    Thanks.



  • Someone have an idea ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.