DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbe::StyleUtility Class Reference

#include <StyleUtility.hpp>

Public Member Functions

 StyleUtility ()
 

Static Public Member Functions

static void InitColorManagement ()
 

Static Public Attributes

static QColor TableColorAttribute
 Including DBE.
 
static QColor TableAttributeBackground
 
static QColor TableAttributeHighlightBackground
 
static QColor TableColorRelationship
 
static QColor FileReadOnlyForeground
 
static QColor FileReadOnlyBackground
 
static QPalette AlertStatusBarPallete
 
static QPalette AlertStatusBarPalleteWindow
 
static QPalette WarningStatusBarPallete
 
static QPalette WarningStatusBarPalleteWindow
 
static QPalette PaleGreenPalleteButton
 
static QPalette LoadedDefault
 

Detailed Description

Definition at line 11 of file StyleUtility.hpp.

Constructor & Destructor Documentation

◆ StyleUtility()

dbe::StyleUtility::StyleUtility ( )

Member Function Documentation

◆ InitColorManagement()

void dbe::StyleUtility::InitColorManagement ( )
static

Definition at line 19 of file StyleUtility.cpp.

20{
21 TableColorAttribute = QColor ( "#1B676B" );
22 TableAttributeBackground = QColor ( "#ffffff" );
23 TableAttributeHighlightBackground = QColor ( "#f0f0ff" );
24 TableColorRelationship = QColor ( "#AD4713" );
25
26 FileReadOnlyForeground = QColor ("#a00000");
27 FileReadOnlyBackground = QColor ("#f0f0f0");
28
29
30 AlertStatusBarPallete.setColor ( QPalette::Active, QPalette::Base, QColor ( "red" ) );
31 AlertStatusBarPallete.setColor ( QPalette::Inactive, QPalette::Base, QColor ( "red" ) );
32 WarningStatusBarPallete.setColor ( QPalette::Active, QPalette::Base, QColor ( "yellow" ) );
33 WarningStatusBarPallete.setColor ( QPalette::Inactive, QPalette::Base,
34 QColor ( "yellow" ) );
35 AlertStatusBarPalleteWindow.setColor ( QPalette::Active, QPalette::Window,
36 QColor ( "red" ) );
37 AlertStatusBarPalleteWindow.setColor ( QPalette::Inactive, QPalette::Window,
38 QColor ( "red" ) );
39 WarningStatusBarPalleteWindow.setColor ( QPalette::Active, QPalette::Window,
40 QColor ( "yellow" ) );
41 WarningStatusBarPalleteWindow.setColor ( QPalette::Inactive, QPalette::Window,
42 QColor ( "yellow" ) );
43 LoadedDefault.setColor ( QPalette::Active, QPalette::Base, QColor::fromRgb ( 184, 244,
44 255 ) );
45 LoadedDefault.setColor ( QPalette::Inactive, QPalette::Base, QColor::fromRgb ( 184, 244,
46 255 ) );
47 PaleGreenPalleteButton.setColor ( QPalette::Active, QPalette::Button,
48 QColor::fromRgb ( 190, 238, 158 ) );
49 PaleGreenPalleteButton.setColor ( QPalette::Inactive, QPalette::Button,
50 QColor::fromRgb ( 190, 238, 158 ) );
51}
static QColor TableAttributeHighlightBackground
static QPalette PaleGreenPalleteButton
static QPalette AlertStatusBarPalleteWindow
static QColor FileReadOnlyForeground
static QPalette AlertStatusBarPallete
static QColor TableColorAttribute
Including DBE.
static QPalette LoadedDefault
static QPalette WarningStatusBarPalleteWindow
static QPalette WarningStatusBarPallete
static QColor TableAttributeBackground
static QColor TableColorRelationship
static QColor FileReadOnlyBackground

Member Data Documentation

◆ AlertStatusBarPallete

QPalette dbe::StyleUtility::AlertStatusBarPallete
static

Definition at line 24 of file StyleUtility.hpp.

◆ AlertStatusBarPalleteWindow

QPalette dbe::StyleUtility::AlertStatusBarPalleteWindow
static

Definition at line 25 of file StyleUtility.hpp.

◆ FileReadOnlyBackground

QColor dbe::StyleUtility::FileReadOnlyBackground
static

Definition at line 22 of file StyleUtility.hpp.

◆ FileReadOnlyForeground

QColor dbe::StyleUtility::FileReadOnlyForeground
static

Definition at line 21 of file StyleUtility.hpp.

◆ LoadedDefault

QPalette dbe::StyleUtility::LoadedDefault
static

Definition at line 29 of file StyleUtility.hpp.

◆ PaleGreenPalleteButton

QPalette dbe::StyleUtility::PaleGreenPalleteButton
static

Definition at line 28 of file StyleUtility.hpp.

◆ TableAttributeBackground

QColor dbe::StyleUtility::TableAttributeBackground
static

Definition at line 17 of file StyleUtility.hpp.

◆ TableAttributeHighlightBackground

QColor dbe::StyleUtility::TableAttributeHighlightBackground
static

Definition at line 18 of file StyleUtility.hpp.

◆ TableColorAttribute

QColor dbe::StyleUtility::TableColorAttribute
static

Including DBE.

Definition at line 16 of file StyleUtility.hpp.

◆ TableColorRelationship

QColor dbe::StyleUtility::TableColorRelationship
static

Definition at line 19 of file StyleUtility.hpp.

◆ WarningStatusBarPallete

QPalette dbe::StyleUtility::WarningStatusBarPallete
static

Definition at line 26 of file StyleUtility.hpp.

◆ WarningStatusBarPalleteWindow

QPalette dbe::StyleUtility::WarningStatusBarPalleteWindow
static

Definition at line 27 of file StyleUtility.hpp.


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