Updraft
1.0
Open source glider flight visualisation tool.
|
00001 #ifndef UPDRAFT_SRC_CORE_TRANSLATIONLANGUAGEEDITOR_H_ 00002 #define UPDRAFT_SRC_CORE_TRANSLATIONLANGUAGEEDITOR_H_ 00003 00004 #include <QComboBox> 00005 00006 #include "translationlanguage.h" 00007 00008 namespace Updraft { 00009 namespace Core { 00010 00013 class TranslationLanguageEditor: public QComboBox { 00014 Q_OBJECT 00015 Q_PROPERTY 00016 (Updraft::Core::TranslationLanguage lang READ lang WRITE setLang USER true) 00017 public: 00018 explicit TranslationLanguageEditor(QWidget *parent); 00019 00022 TranslationLanguage lang(); 00023 00026 void setLang(const TranslationLanguage &l); 00027 }; 00028 00029 } // End namespace Core 00030 } // End namespace Updraft 00031 00032 #endif // UPDRAFT_SRC_CORE_TRANSLATIONLANGUAGEEDITOR_H_ 00033