game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
ExportOptionsWidget Class Reference

#include <library_export_dialog.h>

Inheritance diagram for ExportOptionsWidget:
Collaboration diagram for ExportOptionsWidget:

Public Types

enum class  ExportFormat { Json , Csv }
enum class  ExportScope { AllGames , SelectedGames , ByCollection , BySource }

Public Member Functions

 ExportOptionsWidget (QWidget *parent=nullptr, ThemeManager *themeManager=nullptr)
void applyTheme ()
ExportFormat getFormat () const
ExportScope getScope () const
QString getSelectedCollection () const
QString getSelectedSource () const
bool includeConfigurations () const
bool includeStatistics () const
void setCollections (const QStringList &collections)
void setSources (const QStringList &sources)

Detailed Description

Definition at line 91 of file library_export_dialog.h.

Member Enumeration Documentation

◆ ExportFormat

Enumerator
Json 
Csv 

Definition at line 98 of file library_export_dialog.h.

◆ ExportScope

Enumerator
AllGames 
SelectedGames 
ByCollection 
BySource 

Definition at line 104 of file library_export_dialog.h.

Constructor & Destructor Documentation

◆ ExportOptionsWidget()

ExportOptionsWidget::ExportOptionsWidget ( QWidget * parent = nullptr,
ThemeManager * themeManager = nullptr )
explicit

Definition at line 835 of file library_export_dialog.cpp.

References applyTheme(), and ThemeManager::themeChanged().

Member Function Documentation

◆ applyTheme()

void ExportOptionsWidget::applyTheme ( )

Definition at line 974 of file library_export_dialog.cpp.

Referenced by ExportOptionsWidget().

◆ getFormat()

ExportOptionsWidget::ExportFormat ExportOptionsWidget::getFormat ( ) const

Definition at line 926 of file library_export_dialog.cpp.

References Csv, and Json.

◆ getScope()

ExportOptionsWidget::ExportScope ExportOptionsWidget::getScope ( ) const

Definition at line 931 of file library_export_dialog.cpp.

References AllGames, ByCollection, BySource, and SelectedGames.

◆ getSelectedCollection()

QString ExportOptionsWidget::getSelectedCollection ( ) const

Definition at line 942 of file library_export_dialog.cpp.

◆ getSelectedSource()

QString ExportOptionsWidget::getSelectedSource ( ) const

Definition at line 947 of file library_export_dialog.cpp.

◆ includeConfigurations()

bool ExportOptionsWidget::includeConfigurations ( ) const

Definition at line 957 of file library_export_dialog.cpp.

◆ includeStatistics()

bool ExportOptionsWidget::includeStatistics ( ) const

Definition at line 952 of file library_export_dialog.cpp.

◆ setCollections()

void ExportOptionsWidget::setCollections ( const QStringList & collections)

Definition at line 962 of file library_export_dialog.cpp.

◆ setSources()

void ExportOptionsWidget::setSources ( const QStringList & sources)

Definition at line 968 of file library_export_dialog.cpp.


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