Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
BatchImportDialog Class Referencefinal

#include <BatchImportDialog.hpp>

Inheritance diagram for BatchImportDialog:

Public Slots

void reject () override
 

Signals

void addToModel (const GameImportData data)
 
void startImportingGames (const std::vector< GameImportData > data, const std::filesystem::path source, const bool move_after_import)
 
void importComplete (std::vector< RecordID > records)
 
void importComplete ()
 
void unpauseImport ()
 

Public Member Functions

 BatchImportDialog (QWidget *parent=nullptr)
 
 ~BatchImportDialog ()
 

Private Slots

void on_btnSetFolder_pressed ()
 
void on_btnNext_pressed ()
 
void on_btnBack_pressed ()
 
void on_btnCancel_pressed ()
 
void modelChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &roles=QList< int >())
 
void processFinishedDirectory (const GameImportData data)
 
void finishedPreProcessing ()
 
void importFailure (const QString top, const QString bottom)
 
void waitingOnThreads ()
 
void keyPressEvent (QKeyEvent *event) override
 

Private Member Functions

void loadConfig ()
 
void saveConfig ()
 
void importFiles ()
 
void processFiles ()
 

Private Attributes

GameScanner scanner {}
 
Ui::BatchImportDialog * ui
 
bool search_started { false }
 
bool import_triggered { false }
 
bool import_waiting { false }
 If true then the main runner has finished and we are waiting on the preprocessing of the other threads.
 

Constructor & Destructor Documentation

◆ BatchImportDialog()

BatchImportDialog::BatchImportDialog ( QWidget * parent = nullptr)
explicit

◆ ~BatchImportDialog()

BatchImportDialog::~BatchImportDialog ( )

Member Function Documentation

◆ addToModel

void BatchImportDialog::addToModel ( const GameImportData data)
signal

◆ finishedPreProcessing

void BatchImportDialog::finishedPreProcessing ( )
privateslot

◆ importComplete [1/2]

void BatchImportDialog::importComplete ( )
signal

◆ importComplete [2/2]

void BatchImportDialog::importComplete ( std::vector< RecordID > records)
signal

◆ importFailure

void BatchImportDialog::importFailure ( const QString top,
const QString bottom )
privateslot

◆ importFiles()

void BatchImportDialog::importFiles ( )
private

◆ keyPressEvent

void BatchImportDialog::keyPressEvent ( QKeyEvent * event)
overrideprivateslot

◆ loadConfig()

void BatchImportDialog::loadConfig ( )
private

◆ modelChanged

void BatchImportDialog::modelChanged ( const QModelIndex & topLeft,
const QModelIndex & bottomRight,
const QList< int > & roles = QList< int >() )
privateslot

◆ on_btnBack_pressed

void BatchImportDialog::on_btnBack_pressed ( )
privateslot

◆ on_btnCancel_pressed

void BatchImportDialog::on_btnCancel_pressed ( )
privateslot

◆ on_btnNext_pressed

void BatchImportDialog::on_btnNext_pressed ( )
privateslot

◆ on_btnSetFolder_pressed

void BatchImportDialog::on_btnSetFolder_pressed ( )
privateslot

◆ processFiles()

void BatchImportDialog::processFiles ( )
private

◆ processFinishedDirectory

void BatchImportDialog::processFinishedDirectory ( const GameImportData data)
privateslot

◆ reject

void BatchImportDialog::reject ( )
overrideslot

◆ saveConfig()

void BatchImportDialog::saveConfig ( )
private

◆ startImportingGames

void BatchImportDialog::startImportingGames ( const std::vector< GameImportData > data,
const std::filesystem::path source,
const bool move_after_import )
signal

◆ unpauseImport

void BatchImportDialog::unpauseImport ( )
signal

◆ waitingOnThreads

void BatchImportDialog::waitingOnThreads ( )
privateslot

Member Data Documentation

◆ import_triggered

bool BatchImportDialog::import_triggered { false }
private

◆ import_waiting

bool BatchImportDialog::import_waiting { false }
private

If true then the main runner has finished and we are waiting on the preprocessing of the other threads.

◆ scanner

GameScanner BatchImportDialog::scanner {}
private

◆ search_started

bool BatchImportDialog::search_started { false }
private

◆ ui

Ui::BatchImportDialog* BatchImportDialog::ui
private

The documentation for this class was generated from the following files: