mirea-projects/Third term/Industrial programming technologies/4_User_Form/userform.h

29 lines
445 B
C
Raw Normal View History

2024-09-27 05:31:03 +00:00
#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