JKQtExtras
a library of useful Qt widgets and tools
|
a QSplitter that has a really visible Splitter handle More...
#include <jkqtevisiblehandlesplitter.h>
Public Slots | |
void | setDecorated (bool enabled) |
switches the decoration of the handle on or off (decoration is a roughed up surface area) More... | |
void | setGripWidth (int width) |
sets the width of the handle More... | |
void | setHoverEffect (bool enabled) |
switches the hover effect of the handle on or off (hover effect highlights the handle when the mouse hovers over it) More... | |
Public Member Functions | |
JKQTEVisibleHandleSplitter (Qt::Orientation orientation, QWidget *parent=nullptr) | |
JKQTEVisibleHandleSplitter (QWidget *parent=nullptr) | |
bool | decorated () const |
indicates whether the decoration of the handle is on or off (decoration is a roughed up surface area) More... | |
int | gripWidth () const |
the width of the handle More... | |
bool | hoverEffect () const |
indicates whether the hover effect of the handle is on or off (hover effect highlights the handle when the mouse hovers over it) More... | |
Protected Member Functions | |
QSplitterHandle * | createHandle () |
Properties | |
bool | decorated |
int | gripWidth |
bool | hoverEffect |
a QSplitter that has a really visible Splitter handle
This is a simple replacement for QSplitter, which only adds sime visual tweaks:
The splitter looks like this:
Usage is simple:
|
explicit |
|
explicit |
|
protected |
bool JKQTEVisibleHandleSplitter::decorated | ( | ) | const |
indicates whether the decoration of the handle is on or off (decoration is a roughed up surface area)
int JKQTEVisibleHandleSplitter::gripWidth | ( | ) | const |
the width of the handle
bool JKQTEVisibleHandleSplitter::hoverEffect | ( | ) | const |
indicates whether the hover effect of the handle is on or off (hover effect highlights the handle when the mouse hovers over it)
|
slot |
switches the decoration of the handle on or off (decoration is a roughed up surface area)
|
slot |
sets the width of the handle
|
slot |
switches the hover effect of the handle on or off (hover effect highlights the handle when the mouse hovers over it)
|
readwrite |
|
readwrite |
|
readwrite |