JKQtExtras
a library of useful Qt widgets and tools
|
18 #ifndef JKQTEVISIBLEHANDLESPLITTER_H
19 #define JKQTEVISIBLEHANDLESPLITTER_H
22 #include <QSplitterHandle>
23 #include "jkqtextras_imexport.h"
46 Q_PROPERTY(
bool decorated READ decorated WRITE setDecorated USER
true)
47 Q_PROPERTY(
bool hoverEffect READ hoverEffect WRITE setHoverEffect USER
true)
48 Q_PROPERTY(
int gripWidth READ gripWidth WRITE setGripWidth USER
true)
108 #endif // JKQTEVISIBLEHANDLESPLITTER_H
JKQTEVisibleHandleSplitter(Qt::Orientation orientation, QWidget *parent=nullptr)
bool hoverEffect() const
indicates whether the hover effect of the handle is on or off (hover effect highlights the handle whe...
int gripWidth() const
the width of the handle
bool m_drawGrip
Definition: jkqtevisiblehandlesplitter.h:105
a QSplitter that has a really visible Splitter handle
Definition: jkqtevisiblehandlesplitter.h:44
QSplitterHandle * createHandle()
bool decorated() const
indicates whether the decoration of the handle is on or off (decoration is a roughed up surface area)
JKQTEVisibleHandleSplitter(QWidget *parent=nullptr)
bool m_lightup
Definition: jkqtevisiblehandlesplitter.h:104
a QSplitterHandle that is really visible Splitter handle (used by JKQTEVisibleHandleSplitter)
Definition: jkqtevisiblehandlesplitter.h:82
int m_gripHeight
Definition: jkqtevisiblehandlesplitter.h:102
void setHoverEffect(bool enabled)
switches the hover effect of the handle on or off (hover effect highlights the handle when the mouse ...
void setHoverEffect(bool enabled)
switches the hover effect of the handle on or off (hover effect highlights the handle when the mouse ...
void setDecorated(bool enabled)
switches the decoration of the handle on or off (decoration is a roughed up surface area)
void setGripWidth(int width)
sets the width of the handle
bool m_inside
Definition: jkqtevisiblehandlesplitter.h:103
virtual void paintEvent(QPaintEvent *event)
bool hoverEffect() const
indicates whether the hover effect of the handle is on or off (hover effect highlights the handle whe...
bool decorated() const
indicates whether the decoration of the handle is on or off (decoration is a roughed up surface area)
virtual void leaveEvent(QEvent *event)
virtual void enterEvent(QEvent *event)
void setDecorated(bool enabled)
switches the decoration of the handle on or off (decoration is a roughed up surface area)
int gripWidth() const
the width of the handle
JKQTEVisibleHandleSplitterHandle(Qt::Orientation orientation, QSplitter *parent=nullptr)
void setGripWidth(int width)
sets the width of the handle