Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ads::CTitleBarButton Class Reference

#include <DockAreaTitleBar_p.h>

Inheritance diagram for ads::CTitleBarButton:
Inheritance graph
[legend]

Public Types

using Super = tTitleBarButton
 

Public Member Functions

 CTitleBarButton (bool visible=true, QWidget *parent=nullptr)
 
virtual void setVisible (bool visible) override
 

Protected Member Functions

bool event (QEvent *ev) override
 

Private Attributes

bool HideWhenDisabled = false
 
bool Visible = true
 

Detailed Description

Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour according to various config flags such as: CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled

Definition at line 48 of file DockAreaTitleBar_p.h.

Member Typedef Documentation

◆ Super

Definition at line 57 of file DockAreaTitleBar_p.h.

Constructor & Destructor Documentation

◆ CTitleBarButton()

ads::CTitleBarButton::CTitleBarButton ( bool  visible = true,
QWidget *  parent = nullptr 
)

Definition at line 606 of file DockAreaTitleBar.cpp.

Member Function Documentation

◆ event()

bool ads::CTitleBarButton::event ( QEvent *  ev)
overrideprotected

Handle EnabledChanged signal to set button invisible if the configured

Definition at line 630 of file DockAreaTitleBar.cpp.

◆ setVisible()

void ads::CTitleBarButton::setVisible ( bool  visible)
overridevirtual

Adjust this visibility change request with our internal settings:

Definition at line 615 of file DockAreaTitleBar.cpp.

Member Data Documentation

◆ HideWhenDisabled

bool ads::CTitleBarButton::HideWhenDisabled = false
private

Definition at line 54 of file DockAreaTitleBar_p.h.

◆ Visible

bool ads::CTitleBarButton::Visible = true
private

Definition at line 53 of file DockAreaTitleBar_p.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51