FlightGear next
TipBackgroundBox Class Reference

#include <TipBackgroundBox.hxx>

Inherits QQuickPaintedItem.

Public Slots

void setArrowPosition (GettingStartedTip::Arrow arrow)
 
void setBorderColor (QColor borderColor)
 
void setBorderWidth (int borderWidth)
 
void setFill (QColor fill)
 

Signals

void arrowPositionChanged (GettingStartedTip::Arrow arrow)
 
void borderColorChanged (QColor borderColor)
 
void borderWidthChanged (int borderWidth)
 
void fillChanged (QColor fill)
 

Public Member Functions

 TipBackgroundBox (QQuickItem *parent=nullptr)
 
GettingStartedTip::Arrow arrowPosition () const
 
QColor borderColor () const
 
int borderWidth () const
 
QColor fill () const
 

Static Public Member Functions

static int arrowSideOffset ()
 
static int arrowHeight ()
 

Protected Member Functions

void paint (QPainter *painter) override
 

Properties

GettingStartedTip::Arrow arrow
 
QColor fill
 
QColor borderColor
 
int borderWidth
 

Detailed Description

Definition at line 8 of file TipBackgroundBox.hxx.

Constructor & Destructor Documentation

◆ TipBackgroundBox()

TipBackgroundBox::TipBackgroundBox ( QQuickItem * parent = nullptr)

Definition at line 130 of file TipBackgroundBox.cxx.

Member Function Documentation

◆ arrowHeight()

int TipBackgroundBox::arrowHeight ( )
static

Definition at line 125 of file TipBackgroundBox.cxx.

◆ arrowPosition()

GettingStartedTip::Arrow TipBackgroundBox::arrowPosition ( ) const

Definition at line 135 of file TipBackgroundBox.cxx.

◆ arrowPositionChanged

void TipBackgroundBox::arrowPositionChanged ( GettingStartedTip::Arrow arrow)
signal

◆ arrowSideOffset()

int TipBackgroundBox::arrowSideOffset ( )
static

Definition at line 120 of file TipBackgroundBox.cxx.

◆ borderColor()

QColor TipBackgroundBox::borderColor ( ) const

Definition at line 140 of file TipBackgroundBox.cxx.

◆ borderColorChanged

void TipBackgroundBox::borderColorChanged ( QColor borderColor)
signal

◆ borderWidth()

int TipBackgroundBox::borderWidth ( ) const

Definition at line 145 of file TipBackgroundBox.cxx.

◆ borderWidthChanged

void TipBackgroundBox::borderWidthChanged ( int borderWidth)
signal

◆ fill()

QColor TipBackgroundBox::fill ( ) const

Definition at line 150 of file TipBackgroundBox.cxx.

◆ fillChanged

void TipBackgroundBox::fillChanged ( QColor fill)
signal

◆ paint()

void TipBackgroundBox::paint ( QPainter * painter)
overrideprotected

Definition at line 195 of file TipBackgroundBox.cxx.

◆ setArrowPosition

void TipBackgroundBox::setArrowPosition ( GettingStartedTip::Arrow arrow)
slot

Definition at line 155 of file TipBackgroundBox.cxx.

◆ setBorderColor

void TipBackgroundBox::setBorderColor ( QColor borderColor)
slot

Definition at line 165 of file TipBackgroundBox.cxx.

◆ setBorderWidth

void TipBackgroundBox::setBorderWidth ( int borderWidth)
slot

Definition at line 175 of file TipBackgroundBox.cxx.

◆ setFill

void TipBackgroundBox::setFill ( QColor fill)
slot

Definition at line 185 of file TipBackgroundBox.cxx.

Property Documentation

◆ arrow

GettingStartedTip::Arrow TipBackgroundBox::arrow
readwrite

Definition at line 12 of file TipBackgroundBox.hxx.

◆ borderColor

QColor TipBackgroundBox::borderColor
readwrite

Definition at line 15 of file TipBackgroundBox.hxx.

◆ borderWidth

int TipBackgroundBox::borderWidth
readwrite

Definition at line 16 of file TipBackgroundBox.hxx.

◆ fill

QColor TipBackgroundBox::fill
readwrite

Definition at line 14 of file TipBackgroundBox.hxx.


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