Exemple #1
0
void DBCSignalEditor::showEvent(QShowEvent* event)
{
    QDialog::showEvent(event);

    currentSignal = NULL;
    refreshSignalsList();
}
void DBCSignalEditor::showEvent(QShowEvent* event)
{
    QDialog::showEvent(event);

    refreshSignalsList();
    currentSignal = NULL;
    if (dbcMessage->msgSignals.count() > 0)
    {        
        currentSignal = &dbcMessage->msgSignals[0];
        fillSignalForm(currentSignal);
        fillValueTable(currentSignal);
    }
}