|
ORE Studio 0.0.4
|
Dialog for previewing and importing currencies from XML files. More...
#include <ImportCurrencyDialog.hpp>
Inherits QDialog.

Signals | |
| void | importCompleted (int success_count, int total_count) |
| Emitted when import completes successfully. | |
| void | importCancelled () |
| Emitted when import is cancelled. | |
Public Member Functions | |
| ImportCurrencyDialog (const std::vector< risk::domain::currency > ¤cies, const QString &filename, ClientManager *clientManager, const QString &username, QWidget *parent=nullptr) | |
| Constructs the import dialog. | |
| std::vector< risk::domain::currency > | getSelectedCurrencies () const |
| Get the currencies selected for import. | |
Dialog for previewing and importing currencies from XML files.
Provides a table view of all currencies to be imported with:
|
explicit |
Constructs the import dialog.
| currencies | Currencies parsed from XML file |
| filename | Path to the XML file being imported |
| clientManager | Client manager for sending currencies to server |
| parent | Parent widget |
| std::vector< risk::domain::currency > getSelectedCurrencies | ( | ) | const |
Get the currencies selected for import.
|
signal |
Emitted when import completes successfully.
| success_count | Number of currencies successfully imported |
| total_count | Total number of currencies attempted |