API Documentation
Loading...
Searching...
No Matches
TranslationCombo.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/QCustomCombobox.h>
4#include <NDEVR/Translator.h>
5namespace NDEVR
6{
7 /**--------------------------------------------------------------------------------------------------
8 \brief Provides possible translations via a combobox to allow the user to select a language for the
9 software.
10 **/
21}
#define NDEVR_WIDGETS_API
Definition DLLInfo.h:59
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
A compact way to present a list of options to the user.
Definition QCustomCombobox.h:53
Provides possible translations via a combobox to allow the user to select a language for the software...
Definition TranslationCombo.h:12
Dictionary< String, Translator > m_translations
Definition TranslationCombo.h:19
Translator currentTranslation() const
TranslationCombo(QWidget *parent=nullptr)
void setTranslation(const Translator &translator)
Contains logic for translating a string into a defined language.
Definition Translator.h:45
Definition ACIColor.h:37