Multi diag tools
Public Member Functions | List of all members
Mdt::Translation::LanguageSelectionMenu Class Reference

The LanguageSelectionMenu class provides a language selection menu. More...

#include <LanguageSelectionMenu.h>

Inherits QMenu.

Public Member Functions

 LanguageSelectionMenu (QWidget *parent=nullptr)
 Construct a language selection menu.
 
 LanguageSelectionMenu (const QString &title, QWidget *parent=nullptr)
 Construct a language selection menu.
 
void setAvailableLanguages (const LanguageSelectionActionList &actionList)
 Set the available langugages.
 

Detailed Description

The LanguageSelectionMenu class provides a language selection menu.

using namespace Mdt::Translation;
QMainWindow window;
auto *languageSelectionMenu = new LanguageSelectionMenu(&window);
languageSelectionMenu->
window.menuBar()->addMenu(languageSelectionMenu);
window.show();

Definition at line 43 of file LanguageSelectionMenu.h.


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