28 #ifndef DIGIKAM_THUMB_BAR_DOCK_H
29 #define DIGIKAM_THUMB_BAR_DOCK_H
33 #include <QDockWidget>
37 #include <QStyleOptionToolBar>
38 #include <QMainWindow>
69 void dockLocationChanged(Qt::DockWidgetArea);
99 explicit ThumbBarDock(QWidget*
const parent =
nullptr, Qt::WindowFlags flags = Qt::WindowFlags());
113 QAction* getToggleAction(QObject*
const parent,
114 const QString& caption = QString())
const;
126 bool shouldBeVisible()
const;
127 void setShouldBeVisible(
bool);
128 void restoreVisibility();
130 static QPixmap generateFuzzyRect(
const QSize& size,
const QColor& color,
int radius,
const QColor& fillColor = Qt::transparent);
131 static QPixmap generateFuzzyRectForGroup(
const QSize& size,
const QColor& color,
int radius);
135 void showThumbBar(
bool);
139 Visibility m_visible;
Definition: thumbbardock.h:52
void paintEvent(QPaintEvent *) override
Definition: thumbbardock.cpp:76
QSize minimumSizeHint() const override
Definition: thumbbardock.cpp:148
QSize sizeHint() const override
Definition: thumbbardock.cpp:129
DragHandle(QDockWidget *const)
Definition: thumbbardock.cpp:56
~DragHandle() override
Definition: thumbbardock.cpp:71
Definition: thumbbardock.h:84
Visibility
Definition: thumbbardock.h:90
@ WAS_SHOWN
Definition: thumbbardock.h:92
@ SHOULD_BE_HIDDEN
Definition: thumbbardock.h:93
@ WAS_HIDDEN
Definition: thumbbardock.h:91
Definition: datefolderview.cpp:43