-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmydialog.h
35 lines (30 loc) · 867 Bytes
/
mydialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* CS3505 A7 - Team International
* Authors: Daniel Coimbra Salomão, Yanxia Bu, HAJIN JEON, JAKE SUNDAY, JOSEF WALLACE, MATT EMRICH
* University Of Utah - Spring 2023
*/
#ifndef MYDIALOG_H
#define MYDIALOG_H
#include <QDialog>
#include <QLineEdit>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
/*
* The MyDialog class is the first pop up that will be viewed when the user runs the sprite editor, or makes a new sprite.
* The MyDialog class inherits from QDialog, and when it pops up, it will ask the user for the desired width and height in
* pixels of their sprite.
*/
class MyDialog : public QDialog
{
Q_OBJECT
public:
MyDialog(QWidget *parent = nullptr);
int getWidth() const;
int getHeight() const;
private:
QLineEdit *widthLineEdit;
QLineEdit *heightLineEdit;
};
#endif // MYDIALOG_H