Changeset View
Changeset View
Standalone View
Standalone View
plugins/filetemplates/testcasespage.cpp
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 63 | { | |||
---|---|---|---|---|---|
64 | d->ui->keditlistwidget->setItems(testCases); | 64 | d->ui->keditlistwidget->setItems(testCases); | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | QStringList TestCasesPage::testCases() const | 67 | QStringList TestCasesPage::testCases() const | ||
68 | { | 68 | { | ||
69 | return d->ui->keditlistwidget->items(); | 69 | return d->ui->keditlistwidget->items(); | ||
70 | } | 70 | } | ||
71 | 71 | | |||
72 | void TestCasesPage::setFocusToFirstEditWidget() | ||||
73 | { | ||||
74 | d->ui->identifierLineEdit->setFocus(); | ||||
75 | } | ||||
76 | | ||||
72 | void TestCasesPage::identifierChanged(const QString& identifier) | 77 | void TestCasesPage::identifierChanged(const QString& identifier) | ||
73 | { | 78 | { | ||
74 | emit isValid(!identifier.isEmpty()); | 79 | emit isValid(!identifier.isEmpty()); | ||
75 | } | 80 | } |