mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 00:41:35 +01:00
fix some labels
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
#define TRANSCRIPT_STATUS_COL 4
|
#define TRANSCRIPT_STATUS_COL 4
|
||||||
#define NUM_OF_COLS 5
|
#define NUM_OF_COLS 5
|
||||||
|
|
||||||
|
#define WINDOW_TITLE "Memo Uploader"
|
||||||
|
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::MainWindow){
|
MainWindow::MainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::MainWindow){
|
||||||
|
|
||||||
@@ -70,6 +72,8 @@ MainWindow::MainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::MainWind
|
|||||||
/* add handler for menu configuration */
|
/* add handler for menu configuration */
|
||||||
ui->menuKonfiguration->addAction("Standards", this, SLOT(openConfigurationWindow()) );
|
ui->menuKonfiguration->addAction("Standards", this, SLOT(openConfigurationWindow()) );
|
||||||
|
|
||||||
|
/* set window options */
|
||||||
|
this->setWindowTitle(WINDOW_TITLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::openConfigurationWindow(){
|
void MainWindow::openConfigurationWindow(){
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <settingkeys.h>
|
#include <settingkeys.h>
|
||||||
|
|
||||||
|
#define SETTINGS_WINDOW_TITLE "Konfiguration"
|
||||||
|
#define BUTTON_TEXT_ABORT "Abbrechen"
|
||||||
|
#define BUTTON_TEXT_OK "OK"
|
||||||
|
|
||||||
Settings::Settings(QWidget *parent) :
|
Settings::Settings(QWidget *parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
ui(new Ui::settings)
|
ui(new Ui::settings)
|
||||||
@@ -65,8 +69,8 @@ Settings::Settings(QWidget *parent) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* buttons */
|
/* buttons */
|
||||||
auto ok = new QPushButton("Ok");
|
auto ok = new QPushButton(BUTTON_TEXT_OK);
|
||||||
auto cancle = new QPushButton("Cancle");
|
auto cancle = new QPushButton(BUTTON_TEXT_ABORT);
|
||||||
|
|
||||||
layout->addWidget(ok, configOptions->length(), 0);
|
layout->addWidget(ok, configOptions->length(), 0);
|
||||||
layout->addWidget(cancle, configOptions->length(), 1);
|
layout->addWidget(cancle, configOptions->length(), 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user