Commit 6dc0ba0c by grlabu

Upload New File

parent 1217abc6
Showing with 24 additions and 0 deletions
//rules.cpp
#include "rules.h"
#include "ui_rules.h"
rules::rules(QWidget *parent) :
QMainWindow(parent), // Change QWidget to QDialog
ui(new Ui::rules)
{
ui->setupUi(this); // Pass the QDialog pointer as 'this' to setupUi
}
rules::~rules()
{
delete ui;
}
void rules::on_Back_clicked()
{
this->close();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment