Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
SimpleImporter.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 5/24/23.
3//
4
5#pragma once
6#ifndef ATLASGAMEMANAGER_SIMPLEIMPORTER_HPP
7#define ATLASGAMEMANAGER_SIMPLEIMPORTER_HPP
8
9#include <QDialog>
10#include <QItemSelection>
11#include <QWidget>
12
13QT_BEGIN_NAMESPACE
14
15namespace Ui
16{
17 class SimpleImporter;
18}
19
20QT_END_NAMESPACE
21
22struct Node;
23
24class SimpleImporter final : public QDialog
25{
26 Q_OBJECT
27 Q_DISABLE_COPY_MOVE( SimpleImporter )
28
29 public:
30
31 explicit SimpleImporter( QWidget* parent = nullptr );
32 ~SimpleImporter() override;
33
34 void setRoot( const QString path );
35
36 private:
37
38 Ui::SimpleImporter* ui;
39
40 std::vector< QPersistentModelIndex > selected() const;
41 void updateSidebar();
42
43 bool no_modification { false };
44
45 private slots:
46 void onCustomContextMenuRequested( const QPoint& point );
47 void dirView_itemSelectionChanged( const QItemSelection& selected, const QItemSelection& deselected );
48
49 //Dir page
50 void on_cIsGameRoot_toggled( bool checked );
51 void on_cIsSupporting_toggled( bool checked );
53 void on_leCreator_textChanged( const QString& text );
54 void on_leVersion_textChanged( const QString& text );
55 void on_leTitle_textChanged( const QString& text );
56 void on_leEngine_textChanged( const QString& text );
57
58 //File page
59 void on_cIsBanner_toggled( bool checked );
60 void on_cIsPreview_toggled( bool checked );
62};
63
64#endif //ATLASGAMEMANAGER_SIMPLEIMPORTER_HPP
Definition SimpleImporter.hpp:25
SimpleImporter(QWidget *parent=nullptr)
Definition SimpleImporter.cpp:17
void dirView_itemSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Definition SimpleImporter.cpp:50
void on_cIsPreview_toggled(bool checked)
Definition SimpleImporter.cpp:359
void on_cbSupportingSelection_currentIndexChanged(int index)
Definition SimpleImporter.cpp:106
void on_leCreator_textChanged(const QString &text)
Definition SimpleImporter.cpp:125
void on_leTitle_textChanged(const QString &text)
Definition SimpleImporter.cpp:159
Ui::SimpleImporter * ui
Definition SimpleImporter.hpp:38
void on_cIsBanner_toggled(bool checked)
Definition SimpleImporter.cpp:340
~SimpleImporter() override
Definition SimpleImporter.cpp:32
void on_cIsSupporting_toggled(bool checked)
Definition SimpleImporter.cpp:87
void updateSidebar()
Definition SimpleImporter.cpp:193
void on_leEngine_textChanged(const QString &text)
Definition SimpleImporter.cpp:176
void on_cIsGameRoot_toggled(bool checked)
Definition SimpleImporter.cpp:68
std::vector< QPersistentModelIndex > selected() const
Definition SimpleImporter.cpp:59
void setRoot(const QString path)
Definition SimpleImporter.cpp:37
void on_leVersion_textChanged(const QString &text)
Definition SimpleImporter.cpp:142
void on_cbBannerType_currentIndexChanged(int index)
Definition SimpleImporter.cpp:378
bool no_modification
Definition SimpleImporter.hpp:43
void onCustomContextMenuRequested(const QPoint &point)
Definition SimpleImporter.cpp:56
Definition AboutAtlas.hpp:9
Definition SIModel.hpp:45