Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::DockTitleBar Class Reference

Custom title bar widget for a QDockWidget instance. Provides a title, dock/undock button, and close button. Emits a signal when dock state should be toggled. More...

#include <DockTitleBar.h>

Inheritance diagram for sf::DockTitleBar:
Collaboration diagram for sf::DockTitleBar:

Public Member Functions

 DockTitleBar (QDockWidget *parent)
 Qt constructor.
 
 ~DockTitleBar () override
 Overridden destructor.
 
void setTitle (const QString &title)
 Sets the title text.
 
QString title () const
 Gets the title.
 

Detailed Description

Custom title bar widget for a QDockWidget instance. Provides a title, dock/undock button, and close button. Emits a signal when dock state should be toggled.

Constructor & Destructor Documentation

◆ DockTitleBar()

sf::DockTitleBar::DockTitleBar ( QDockWidget *  parent)
explicit

Qt constructor.

◆ ~DockTitleBar()

sf::DockTitleBar::~DockTitleBar ( )
override

Overridden destructor.

Member Function Documentation

◆ setTitle()

void sf::DockTitleBar::setTitle ( const QString &  title)

Sets the title text.

◆ title()

QString sf::DockTitleBar::title ( ) const

Gets the title.


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