CuteHMI - CuteHMI (CuteHMI.2)
CuteHMI

Development status

This module provides core functionality to other modules.

It provides various utility classes and bridges that help other extensions and tools to communicate with each other.

Bridges

Logging macros help deliver consistently looking logging messages to power users and developers.

Messages that should show up in user interface can be delivered through cutehmi::Message and cutehmi::Notification classes.

Class cutehmi::Internationalizer aids internationalization efforts. Example CuteHMI.Examples.I18N.0 shows how to deal with it.

Utility classes

cutehmi::Singleton class template can be used to create singleton classes.

cutehmi::Worker class can be helpful, when dealing with Qt database connections.

cutehmi::MPtr can be helpful, when class uses PImpl idiom to maintain binary compatibility.

cutehmi::Error, cutehmi::InplaceError, cutehmi::ErrorInfo, cutehmi::Exception and cutehmi::ExceptionMixin may be useful, when dealing with errors and exceptions.

cutehmi::Initializer can be used to initialize extension.

Frontend tools

Frontend tools should take care about cutehmi::Notifier and cutehmi::Messenger classes to deliver messages to the users. They should also call cutehmi::destroySingletonInstances() function. cutehmi::Internationalizer::uiLanguageChanged() slot should be connected to QQmlEngine::retranslate() slot.

Examples