JKQtExtras
a library of useful Qt widgets and tools
JKQTEVisibleHandleSplitterHandle Class Reference

a QSplitterHandle that is really visible Splitter handle (used by JKQTEVisibleHandleSplitter) More...

#include <jkqtevisiblehandlesplitter.h>

Inheritance diagram for JKQTEVisibleHandleSplitterHandle:
Collaboration diagram for JKQTEVisibleHandleSplitterHandle:

Public Member Functions

 JKQTEVisibleHandleSplitterHandle (Qt::Orientation orientation, QSplitter *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...
 
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...
 

Protected Member Functions

virtual void enterEvent (QEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

bool m_drawGrip
 
int m_gripHeight
 
bool m_inside
 
bool m_lightup
 

Detailed Description

a QSplitterHandle that is really visible Splitter handle (used by JKQTEVisibleHandleSplitter)

See also
JKQTEVisibleHandleSplitter

Constructor & Destructor Documentation

◆ JKQTEVisibleHandleSplitterHandle()

JKQTEVisibleHandleSplitterHandle::JKQTEVisibleHandleSplitterHandle ( Qt::Orientation  orientation,
QSplitter *  parent = nullptr 
)

Member Function Documentation

◆ decorated()

bool JKQTEVisibleHandleSplitterHandle::decorated ( ) const

indicates whether the decoration of the handle is on or off (decoration is a roughed up surface area)

◆ enterEvent()

virtual void JKQTEVisibleHandleSplitterHandle::enterEvent ( QEvent *  event)
protectedvirtual

◆ gripWidth()

int JKQTEVisibleHandleSplitterHandle::gripWidth ( ) const

the width of the handle

◆ hoverEffect()

bool JKQTEVisibleHandleSplitterHandle::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)

◆ leaveEvent()

virtual void JKQTEVisibleHandleSplitterHandle::leaveEvent ( QEvent *  event)
protectedvirtual

◆ paintEvent()

virtual void JKQTEVisibleHandleSplitterHandle::paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ setDecorated()

void JKQTEVisibleHandleSplitterHandle::setDecorated ( bool  enabled)

switches the decoration of the handle on or off (decoration is a roughed up surface area)

◆ setGripWidth()

void JKQTEVisibleHandleSplitterHandle::setGripWidth ( int  width)

sets the width of the handle

◆ setHoverEffect()

void JKQTEVisibleHandleSplitterHandle::setHoverEffect ( bool  enabled)

switches the hover effect of the handle on or off (hover effect highlights the handle when the mouse hovers over it)

Member Data Documentation

◆ m_drawGrip

bool JKQTEVisibleHandleSplitterHandle::m_drawGrip
protected

◆ m_gripHeight

int JKQTEVisibleHandleSplitterHandle::m_gripHeight
protected

◆ m_inside

bool JKQTEVisibleHandleSplitterHandle::m_inside
protected

◆ m_lightup

bool JKQTEVisibleHandleSplitterHandle::m_lightup
protected

The documentation for this class was generated from the following file: