Warning, /sdk/cutehmi/extensions/CuteHMI.2/README.md is written in an unsupported language. File is not indexed.
0001 # CuteHMI 0002 0003 ![Development status](doc/status-gamma.svg) 0004 0005 This module provides core functionality to other modules. 0006 0007 It provides various utility classes and bridges that help other extensions and tools to communicate with each other. 0008 0009 ## Bridges 0010 0011 [Logging macros](@ref cutehmi-loggingMacros) help deliver consistently looking logging messages to power users and developers. 0012 0013 Messages that should show up in user interface can be delivered through cutehmi::Message and cutehmi::Notification classes. 0014 0015 Class cutehmi::Internationalizer aids internationalization efforts. Example [CuteHMI.Examples.I18N.0](../CuteHMI/Examples/I18N.0/) 0016 shows how to deal with it. 0017 0018 ## Utility classes 0019 0020 cutehmi::Singleton class template can be used to create singleton classes. 0021 0022 cutehmi::Worker class can be helpful, when dealing with Qt database connections. 0023 0024 cutehmi::MPtr can be helpful, when class uses PImpl idiom to maintain binary compatibility. 0025 0026 cutehmi::Error, cutehmi::InplaceError, cutehmi::ErrorInfo, cutehmi::Exception and cutehmi::ExceptionMixin may be useful, when 0027 dealing with errors and exceptions. 0028 0029 cutehmi::Initializer can be used to initialize extension. 0030 0031 ## Frontend tools 0032 0033 Frontend tools should take care about cutehmi::Notifier and cutehmi::Messenger classes to deliver messages to the users. They should 0034 also call cutehmi::destroySingletonInstances() function. cutehmi::Internationalizer::uiLanguageChanged() slot should be connected to 0035 QQmlEngine::retranslate() slot. 0036 0037 ## Examples 0038 0039 - [CuteHMI.Examples.I18N.0](../CuteHMI/Examples/I18N.0/)