#include <MRViewerTitle.h>
Public Member Functions | |
| ViewerTitle ()=default | |
| virtual | ~ViewerTitle ()=default |
| MRVIEWER_API void | setAppName (std::string appName) |
| Name of the application. | |
| MRVIEWER_API void | setVersion (std::string version) |
| Version of application. | |
| MRVIEWER_API void | setSceneName (std::string sceneName) |
| Name of current scene. | |
| virtual MRVIEWER_API std::string | compose () const |
this function is called from update_ compose resulting name | |
Protected Member Functions | |
| MRVIEWER_API void | update_ () |
| called when something changes, composes new title and apply it to window | |
Protected Attributes | |
| std::string | appName_ |
| std::string | version_ |
| std::string | sceneName_ |
class to compose viewer title from several parts appName (version) sceneName