예제 #1
0
void DlgHidden::onShow() {
    m_pHiddenTableModel->select();
    // no buttons can be selected
    activateButtons(false);
}
예제 #2
0
void DlgHidden::selectionChanged(const QItemSelection &selected,
                                 const QItemSelection &deselected) {
    Q_UNUSED(deselected);
    activateButtons(!selected.indexes().isEmpty());
}
예제 #3
0
void DlgMissing::onShow() {
    m_pMissingTableModel->select();
    activateButtons(false);
}