Elaztek Developer Hub
Blamite Game Engine - Keystone  00419.04.29.24.1948.blamite
A library that enables the use of Qt in Blamite's editing tools.
FontToolLaunchDialog.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QDialog>
4 #include "ui_FontToolLaunchDialog.h"
5 
12 class FontToolLaunchDialog : public QDialog
13 {
14  Q_OBJECT
15 
16 private:
17  Ui::FontToolLaunchDialog ui;
18  bool exit = false;
19  bool open_existing = false;
20  std::string existing_file_path = "";
21 
22 public:
23  FontToolLaunchDialog(QWidget* parent = Q_NULLPTR);
25 
31  bool ShouldExit();
32 
39  bool OpenExisting();
40 
47  std::string GetExistingFilePath();
48 
49 private slots:
50 
54  void CreateNewButtonClicked();
55 
59  void OpenExistingButtonClicked();
60 
64  void ExitButtonClicked();
65 };
FontToolLaunchDialog::FontToolLaunchDialog
FontToolLaunchDialog(QWidget *parent=Q_NULLPTR)
Definition: FontToolLaunchDialog.cpp:5
FontToolLaunchDialog::ShouldExit
bool ShouldExit()
Checks if the application should exit.
Definition: FontToolLaunchDialog.cpp:19
FontToolLaunchDialog::OpenExisting
bool OpenExisting()
Checks if the user chose to open an existing font package.
Definition: FontToolLaunchDialog.cpp:24
FontToolLaunchDialog
Class used for the FontTool launch window.
Definition: FontToolLaunchDialog.h:12
FontToolLaunchDialog::~FontToolLaunchDialog
~FontToolLaunchDialog()
Definition: FontToolLaunchDialog.cpp:14
FontToolLaunchDialog::GetExistingFilePath
std::string GetExistingFilePath()
Retrieves the path of the existing font package.
Definition: FontToolLaunchDialog.cpp:29
FontToolLaunchDialog.h