StopWatch-tr/time_set_window.cpp

37 lines
833 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "time_set_window.h"
#include "ui_time_set_window.h"
time_set_window::time_set_window(QWidget *parent)
: QWidget(parent)
, ui(new Ui::time_set_window)
{
ui->setupUi(this);
setWindowTitle("Zamanı Ayarla");
setWindowFlags(Qt::Window);
connect(ui->pushButton_time_set,SIGNAL(clicked()),this,SIGNAL(push_button_clicked()));
}
time_set_window::~time_set_window()
{
delete ui;
}
QString time_set_window::line_edit_second_func()
{
return ui->lineEdit_second->text();
}
QString time_set_window::line_edit_minute_func()
{
return ui->lineEdit_minute->text();
}
QString time_set_window::line_edit_hour_func()
{
return ui->lineEdit_hour->text();
}
void time_set_window::line_edit_clear(){
ui->lineEdit_second->clear();
ui->lineEdit_hour->clear();
ui->lineEdit_minute->clear();
}