Fluid
Loading...
Searching...
No Matches
Public Types | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
WindowDecoration Class Reference

#include <windowdecoration.h>

Inheritance diagram for WindowDecoration:
Inheritance graph
[legend]
Collaboration diagram for WindowDecoration:
Collaboration graph
[legend]

Public Types

enum  Theme { Light , Dark }
 

Signals

void windowChanged ()
 
void themeChanged ()
 
void colorChanged ()
 

Public Member Functions

 WindowDecoration (QObject *parent=nullptr)
 
QWindow * window () const
 
void setWindow (QWindow *window)
 
Theme theme () const
 
void setTheme (Theme theme)
 
QColor color () const
 
void setColor (const QColor &color)
 
void classBegin () override
 
void componentComplete () override
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event) override
 

Properties

QWindow * window
 
Theme theme
 
QColor color
 

Member Enumeration Documentation

◆ Theme

Enumerator
Light 
Dark 

Constructor & Destructor Documentation

◆ WindowDecoration()

WindowDecoration::WindowDecoration ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ classBegin()

void WindowDecoration::classBegin ( )
override

◆ color()

QColor WindowDecoration::color ( ) const

◆ colorChanged

void WindowDecoration::colorChanged ( )
signal

◆ componentComplete()

void WindowDecoration::componentComplete ( )
override

◆ eventFilter()

bool WindowDecoration::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprotected

◆ setColor()

void WindowDecoration::setColor ( const QColor &  color)

◆ setTheme()

void WindowDecoration::setTheme ( WindowDecoration::Theme  theme)

◆ setWindow()

void WindowDecoration::setWindow ( QWindow *  window)

◆ theme()

WindowDecoration::Theme WindowDecoration::theme ( ) const

◆ themeChanged

void WindowDecoration::themeChanged ( )
signal

◆ window()

QWindow * WindowDecoration::window ( ) const

◆ windowChanged

void WindowDecoration::windowChanged ( )
signal

Property Documentation

◆ color

QColor WindowDecoration::color
readwrite

◆ theme

Theme WindowDecoration::theme
readwrite

◆ window

QWindow * WindowDecoration::window
readwrite

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