explicit StatusBarSpaceInfo(QWidget* parent = nullptr);
~StatusBarSpaceInfo() override;
+ /**
+ * Use this to set the widget visibility as it can hide itself
+ */
+ void setShown(bool);
void setUrl(const QUrl& url);
QUrl url() const;
private:
QScopedPointer<SpaceInfoObserver> m_observer;
QUrl m_url;
+ bool m_ready;
+ bool m_shown;
};
#endif