2017-07-03 09:30:10 +02:00
|
|
|
/*!
|
|
|
|
* \brief Utility for changing the color of the status bar.
|
|
|
|
*
|
2018-03-28 15:10:51 +02:00
|
|
|
* \copyright Copyright (c) 2016-2018 Governikus GmbH & Co. KG, Germany
|
2017-07-03 09:30:10 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace governikus
|
|
|
|
{
|
|
|
|
|
|
|
|
class StatusBarUtil
|
|
|
|
: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2017-07-03 09:33:28 +02:00
|
|
|
private:
|
|
|
|
bool catchJavaExceptions() const;
|
|
|
|
|
2017-07-03 09:30:10 +02:00
|
|
|
public:
|
|
|
|
Q_INVOKABLE void setStatusBarColor(const QString& pColor);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|