mirea-projects/Third term/Industrial programming technologies/4_User_Form/userform.h
2024-09-27 08:31:03 +03:00

29 lines
445 B
C++
Executable File

#ifndef USERFORM_H
#define USERFORM_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui {
class UserForm;
}
QT_END_NAMESPACE
class UserForm : public QMainWindow
{
Q_OBJECT
public:
UserForm(QWidget *parent = nullptr);
~UserForm();
private slots:
void registration();
private:
Ui::UserForm *ui;
bool isCorrectName(const QString &name);
bool isValidDate(int day, int month, int year);
};
#endif // USERFORM_H