JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

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

#include <jkvanishqtoolbar.h>

Inheritance diagram for JKVanishQToolBar:
[legend]
Collaboration diagram for JKVanishQToolBar:
[legend]

Public Slots

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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: