ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FlagSelectorDialog Class Referencefinal

Dialog for selecting a flag/image to associate with a currency. More...

#include <FlagSelectorDialog.hpp>

Inherits QDialog.

Collaboration diagram for FlagSelectorDialog:
Collaboration graph

Public Member Functions

 FlagSelectorDialog (ImageCache *imageCache, const QString &currentImageId=QString(), QWidget *parent=nullptr)
 Construct a flag selector dialog.
 
QString selectedImageId () const
 Get the selected image ID.
 

Detailed Description

Dialog for selecting a flag/image to associate with a currency.

Shows a searchable list of available flag images with preview.

Constructor & Destructor Documentation

◆ FlagSelectorDialog()

FlagSelectorDialog ( ImageCache imageCache,
const QString &  currentImageId = QString(),
QWidget *  parent = nullptr 
)
explicit

Construct a flag selector dialog.

Parameters
imageCacheThe image cache to use for loading flag images
currentImageIdThe currently selected image ID (empty if none)
parentThe parent widget

Member Function Documentation

◆ selectedImageId()

QString selectedImageId ( ) const

Get the selected image ID.

Returns
The selected image ID, or empty string if none/cleared