void WebPopup::popupClosed()
{
    if (!m_popup)
        return;

    m_popup->deleteLater();
    m_popup = 0;
    emit didHide();
}
예제 #2
0
void BrowserComboBox::select(int index)
{
    if (index >= 0)
        emit selectItem(index, false, false);
    emit didHide();
}
예제 #3
0
void BrowserComboBox::show(const QWebSelectData& data)
{
    QString fileName = writeJSONPopupData(m_id, data);
    if (fileName.isEmpty() || !m_server.showComboBoxPopup(m_id, fileName.toUtf8().constData()))
        QTimer::singleShot(0, this, SIGNAL(didHide()));
}