JKQTPlotter
an extensive Qt4/Qt5 Plotter framework (including a fast variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies

a modified QToolBar which vanishes when the mouse leaves the toolbar. More...

#include <jkvanishqtoolbar.h>

Inheritance diagram for JKVanishQToolBar:
Collaboration diagram for JKVanishQToolBar:

Public Slots

void setToolbarVanishesEnabled (bool __value)
 enable or disable the auto-vanishing feature of this toolbar
More...
 

Public Member Functions

 JKVanishQToolBar (const QString &title, QWidget *parent=nullptr)
 class constructor More...
 
 JKVanishQToolBar (QWidget *parent=nullptr)
 class constructor More...
 
bool doesToolbarVanish () const
 is the auto-vanishing feature of this toolbar activated? More...
 

Protected Member Functions

void leaveEvent (QEvent *)
 this event triggers the vanishing of the toolbar More...
 

Protected Attributes

bool toolbarVanishes
 is the auto-vanishing feature of this toolbar activated? More...
 

Detailed Description

a modified QToolBar which vanishes when the mouse leaves the toolbar.

Hidden Toolbar
Shown Toolbar

Constructor & Destructor Documentation

◆ JKVanishQToolBar() [1/2]

JKVanishQToolBar::JKVanishQToolBar ( const QString &  title,
QWidget *  parent = nullptr 
)

class constructor

◆ JKVanishQToolBar() [2/2]

JKVanishQToolBar::JKVanishQToolBar ( QWidget *  parent = nullptr)

class constructor

Member Function Documentation

◆ doesToolbarVanish()

bool JKVanishQToolBar::doesToolbarVanish ( ) const

is the auto-vanishing feature of this toolbar activated?

◆ leaveEvent()

void JKVanishQToolBar::leaveEvent ( QEvent *  )
protected

this event triggers the vanishing of the toolbar

◆ setToolbarVanishesEnabled

void JKVanishQToolBar::setToolbarVanishesEnabled ( bool  __value)
slot

enable or disable the auto-vanishing feature of this toolbar

Member Data Documentation

◆ toolbarVanishes

bool JKVanishQToolBar::toolbarVanishes
protected

is the auto-vanishing feature of this toolbar activated?


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