コード例 #1
0
ファイル: voxUI.cpp プロジェクト: grmpflh27/germanVox
void voxUI::on_wordEditButton_clicked()
{
    if(vWL->filterItems){
        showEditDialog();
        on_wordTableFilter_textChanged(ui->wordTableFilter->text());
    }
}
コード例 #2
0
void KstDataObject::showDialog(bool isNew) {
  if (isNew) {
    QTimer::singleShot(0, this, SLOT(showNewDialog()));
  } else {
    QTimer::singleShot(0, this, SLOT(showEditDialog()));
  }
}
コード例 #3
0
ファイル: CDPlayer.cpp プロジェクト: ServiusHack/MStarPlayer
void CDPlayer::mouseDown(const MouseEvent& event)
{
    if (event.eventComponent != &m_configureButton)
        return;

    PopupMenu m;
    m.addItem(1, TRANS("configure channels"));
    m.addItem(2, TRANS("configure appearance"));
    const int result = m.show();

    switch (result)
    {
    case 1:
        configureChannels();
        break;
    case 2:
        showEditDialog();
        break;
    }
}
コード例 #4
0
void repo::gui::RepoDialogUserManager::edit(const QModelIndex &index)
{
    showEditDialog(getUser(index));
}
コード例 #5
0
void repo::gui::RepoDialogUserManager::edit()
{
    showEditDialog(getUser());
}