Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
ProgressBarDialog.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 3/25/23.
3//
4
5#pragma once
6#ifndef ATLAS_PROGRESSBARDIALOG_HPP
7#define ATLAS_PROGRESSBARDIALOG_HPP
8
9#include <QDialog>
10
11QT_BEGIN_NAMESPACE
12
13namespace Ui
14{
16}
17
18QT_END_NAMESPACE
19
20class ProgressBarDialog final : public QDialog
21{
22 Q_OBJECT
23 Q_DISABLE_COPY_MOVE( ProgressBarDialog )
24
25 public:
26
27 explicit ProgressBarDialog( QWidget* parent = nullptr );
28 ~ProgressBarDialog() override;
29
30 void showSubProgress( const bool show );
31
32 void setMax( const int max );
33 void setValue( const int value );
34 void setText( const QString text );
35
36 void setSubMax( const int max );
37 void setSubValue( const int value );
38 void setSubText( const QString text );
39
40 private:
41
42 Ui::ProgressBarDialog* ui;
43};
44
45#endif //ATLAS_PROGRESSBARDIALOG_HPP
Definition ProgressBarDialog.hpp:21
ProgressBarDialog(QWidget *parent=nullptr)
Definition ProgressBarDialog.cpp:13
void setSubValue(const int value)
Definition ProgressBarDialog.cpp:52
void setValue(const int value)
Definition ProgressBarDialog.cpp:31
void setSubMax(const int max)
Definition ProgressBarDialog.cpp:47
void setText(const QString text)
Definition ProgressBarDialog.cpp:36
Ui::ProgressBarDialog * ui
Definition ProgressBarDialog.hpp:42
void showSubProgress(const bool show)
Definition ProgressBarDialog.cpp:41
~ProgressBarDialog() override
Definition ProgressBarDialog.cpp:21
void setSubText(const QString text)
Definition ProgressBarDialog.cpp:57
void setMax(const int max)
Definition ProgressBarDialog.cpp:26
Definition AboutAtlas.hpp:9