ui: made icon buttons self updating on color scheme change

* fixed hatching not replaced in single file view title bar on color scheme change
This commit is contained in:
Eberhard Graether
2018-03-19 22:44:45 +01:00
parent 66ac70850b
commit 166d82b44f
41 changed files with 386 additions and 505 deletions
@@ -0,0 +1,19 @@
#ifndef QT_SEARCH_BAR_BUTTON_H
#define QT_SEARCH_BAR_BUTTON_H
#include "qt/element/QtIconButton.h"
class QtSearchBarButton
: public QtSelfRefreshIconButton
{
public:
QtSearchBarButton(const FilePath& iconPath, bool small = false, QWidget* parent = nullptr);
protected:
void refresh() override;
private:
bool m_small;
};
#endif // QT_SEARCH_BAR_BUTTON_H