PeriDyno 1.0.0
Loading...
Searching...
No Matches
tt::Colors Class Reference

#include <Styles.h>

Public Member Functions

 Colors ()=default
 
 Colors (const Qt::GlobalColor &c)
 
 Colors (const QColor &c)
 
 Colors (const std::initializer_list< Color > &c)
 
 operator QColor () const
 
bool operator!= (const Colors &c) const
 
Coloroperator[] (std::size_t i)
 
const Coloroperator[] (std::size_t i) const
 
TVectorType::size_type size () const
 
TVectorType::iterator begin ()
 
TVectorType::iterator end ()
 
TVectorType::const_iterator begin () const
 
TVectorType::const_iterator end () const
 

Private Types

using TVectorType = std::vector<Color>
 

Private Attributes

TVectorType m_colors
 

Detailed Description

Definition at line 37 of file Styles.h.

Member Typedef Documentation

◆ TVectorType

using tt::Colors::TVectorType = std::vector<Color>
private

Definition at line 40 of file Styles.h.

Constructor & Destructor Documentation

◆ Colors() [1/4]

tt::Colors::Colors ( )
default
Here is the caller graph for this function:

◆ Colors() [2/4]

tt::Colors::Colors ( const Qt::GlobalColor & c)
inline

Definition at line 44 of file Styles.h.

◆ Colors() [3/4]

tt::Colors::Colors ( const QColor & c)
inline

Definition at line 46 of file Styles.h.

◆ Colors() [4/4]

tt::Colors::Colors ( const std::initializer_list< Color > & c)
inline

Definition at line 48 of file Styles.h.

Member Function Documentation

◆ begin() [1/2]

TVectorType::iterator tt::Colors::begin ( )
inline

Definition at line 71 of file Styles.h.

◆ begin() [2/2]

TVectorType::const_iterator tt::Colors::begin ( ) const
inline

Definition at line 79 of file Styles.h.

◆ end() [1/2]

TVectorType::iterator tt::Colors::end ( )
inline

Definition at line 75 of file Styles.h.

◆ end() [2/2]

TVectorType::const_iterator tt::Colors::end ( ) const
inline

Definition at line 83 of file Styles.h.

◆ operator QColor()

tt::Colors::operator QColor ( ) const
inline

Definition at line 51 of file Styles.h.

◆ operator!=()

bool tt::Colors::operator!= ( const Colors & c) const
inline

Definition at line 55 of file Styles.h.

Here is the call graph for this function:

◆ operator[]() [1/2]

Color & tt::Colors::operator[] ( std::size_t i)
inline

Definition at line 59 of file Styles.h.

◆ operator[]() [2/2]

const Color & tt::Colors::operator[] ( std::size_t i) const
inline

Definition at line 63 of file Styles.h.

◆ size()

TVectorType::size_type tt::Colors::size ( ) const
inline

Definition at line 67 of file Styles.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_colors

TVectorType tt::Colors::m_colors
private

Definition at line 89 of file Styles.h.


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