MythTV  master
Classes | Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members

A narrow purpose widget used to show television programs and the timeslots they occupy on channels. Used for scheduling of recordings. More...

#include <mythuiguidegrid.h>

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

Classes

class  UIGTCon
 

Public Types

enum  FillType { Alpha = 10, Dense, Eco, Solid }
 

Public Member Functions

 MythUIGuideGrid (MythUIType *parent, const QString &name)
 
 ~MythUIGuideGrid () override
 
void DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) override
 Draws an entire GuideGrid. More...
 
bool isVerticalLayout (void) const
 
int getChannelCount (void) const
 
int getTimeCount (void) const
 
void SetCategoryColors (const QMap< QString, QString > &catColors)
 
void SetTextOffset (const QPoint &to)
 
void SetArrow (int direction, const QString &file)
 
void LoadImage (int recType, const QString &file)
 
void SetProgramInfo (int row, int col, const QRect &area, const QString &title, const QString &genre, int arrow, int recType, int recStat, bool selected)
 
void ResetData ()
 
void ResetRow (int row)
 
void SetProgPast (int ppast)
 
void SetMultiLine (bool multiline)
 
QPoint GetRowAndColumn (QPoint position)
 
- Public Member Functions inherited from MythUIType
 MythUIType (QObject *parent, const QString &name)
 
virtual void Reset (void)
 Reset the widget to it's original state, should not reset changes made by the theme. More...
 
void AddChild (MythUIType *child)
 Add a child UIType. More...
 
MythUITypeGetChild (const QString &name) const
 Get a named child of this UIType. More...
 
MythUITypeGetChildAt (const QPoint &p, bool recursive=true, bool focusable=true) const
 Return the first MythUIType at the given coordinates. More...
 
QList< MythUIType * > * GetAllChildren (void)
 Return a list of all child widgets. More...
 
void DeleteChild (const QString &name)
 Delete a named child of this UIType. More...
 
void DeleteChild (MythUIType *child)
 Delete the given UIType if it is a child of this UIType. More...
 
void DeleteAllChildren (void)
 Delete all child widgets. More...
 
bool NeedsRedraw (void) const
 
void ResetNeedsRedraw (void)
 
void SetRedraw (void)
 
void SetChildNeedsRedraw (MythUIType *child)
 
bool CanTakeFocus (void) const
 Return if this widget can accept input focus. More...
 
void SetCanTakeFocus (bool set=true)
 Set whether this widget can take focus. More...
 
void SetFocusOrder (int order)
 
bool IsEnabled (void) const
 
void SetEnabled (bool enable)
 
bool MoveToTop (void)
 
bool MoveChildToTop (MythUIType *child)
 
void ActivateAnimations (MythUIAnimation::Trigger trigger)
 
QList< MythUIAnimation * > * GetAnimations (void)
 
virtual void Pulse (void)
 Pulse is called 70 times a second to trigger a single frame of an animation. More...
 
void Draw (MythPainter *p, int xoffset, int yoffset, int alphaMod=255, QRect clipRect=QRect())
 
void SetPosition (int x, int y)
 Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality. More...
 
virtual void SetPosition (const MythPoint &point)
 
virtual MythPoint GetPosition (void) const
 
virtual void SetSize (const QSize &size)
 
virtual void SetMinSize (const MythPoint &size)
 Set the minimum size of this widget, for widgets which can be rescaled. More...
 
virtual QSize GetMinSize (void) const
 
virtual void SetArea (const MythRect &rect)
 
virtual void AdjustMinArea (int delta_x, int delta_y, int delta_w, int delta_h)
 Adjust the size of a sibling. More...
 
virtual void VanishSibling (void)
 
virtual void SetMinAreaParent (MythRect actual_area, MythRect allowed_area, MythUIType *child)
 Adjust the size of sibling objects within the button. More...
 
virtual void SetMinArea (const MythRect &rect)
 Set the minimum area based on the given size. More...
 
virtual MythRect GetArea (void) const
 If the object has a minimum area defined, return it, other wise return the default area. More...
 
virtual MythRect GetFullArea (void) const
 
virtual void RecalculateArea (bool recurse=true)
 
void ExpandArea (const MythRect &rect)
 
virtual QRegion GetDirtyArea (void) const
 
bool IsVisible (bool recurse=false) const
 
virtual void SetVisible (bool visible)
 
void MoveTo (QPoint destXY, QPoint speedXY)
 
void AdjustAlpha (int mode, int alphachange, int minalpha=0, int maxalpha=255)
 
void SetAlpha (int newalpha)
 
int GetAlpha (void) const
 
virtual bool keyPressEvent (QKeyEvent *event)
 Key event handler. More...
 
virtual bool gestureEvent (MythGestureEvent *event)
 Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More...
 
virtual void mediaEvent (MythMediaEvent *event)
 Media/Device status event handler, received from MythMediaMonitor. More...
 
MythFontPropertiesGetFont (const QString &text) const
 
bool AddFont (const QString &text, MythFontProperties *fontProp)
 
void SetHelpText (const QString &text)
 
QString GetHelpText (void) const
 
void SetXMLLocation (const QString &filename, int where)
 
QString GetXMLLocation (void) const
 
void SetXMLName (const QString &name)
 
QString GetXMLName (void) const
 
bool IsDeferredLoading (bool recurse=false) const
 
void SetDeferLoad (bool defer)
 
virtual void LoadNow (void)
 Cause images in this and child widgets to be loaded. More...
 
bool ContainsPoint (const QPoint &point) const
 Check if the given point falls within this widgets area. More...
 
virtual MythPainterGetPainter (void)
 
void SetPainter (MythPainter *painter)
 
void SetCentre (UIEffects::Centre centre)
 
void SetZoom (float zoom)
 
void SetHorizontalZoom (float zoom)
 
void SetVerticalZoom (float zoom)
 
void SetAngle (float angle)
 
void SetDependIsDefault (bool isDefault)
 
void SetReverseDependence (MythUIType *dependee, bool reverse)
 
void SetDependsMap (QMap< QString, QString > dependsMap)
 
QMap< QString, QString > GetDependsMap () const
 

Protected Member Functions

void Finalize (void) override
 Perform any post-xml parsing initialisation tasks. More...
 
bool ParseElement (const QString &filename, QDomElement &element, bool showWarnings) override
 Parse the xml definition of this widget setting the state of the object accordingly. More...
 
void CopyFrom (MythUIType *base) override
 Copy this widgets state from another. More...
 
void CreateCopy (MythUIType *parent) override
 Copy the state of this widget to the one given, it must be of the same type. More...
 
- Protected Member Functions inherited from MythUIType
 ~MythUIType () override
 
void customEvent (QEvent *event) override
 
void AddFocusableChildrenToList (QMap< int, MythUIType * > &focusList)
 
void HandleAlphaPulse ()
 Handle one frame of an alpha (transparency) change animation. More...
 
void HandleMovementPulse ()
 Handle one frame of a movement animation. More...
 
int CalcAlpha (int alphamod) const
 
void ConnectDependants (bool recurse=false)
 

Static Protected Member Functions

static bool parseDefaultCategoryColors (QMap< QString, QString > &catColors)
 
- Static Protected Member Functions inherited from MythUIType
static int NormX (int width)
 
static int NormY (int height)
 

Private Member Functions

void drawBackground (MythPainter *p, int xoffset, int yoffset, UIGTCon *data, int alphaMod)
 Draws the background for a GuideGrid item that will not be recorded. More...
 
void drawBox (MythPainter *p, int xoffset, int yoffset, UIGTCon *data, const QColor &color, int alphaMod)
 Draws the background for a GuideGrid item to be recorded. More...
 
void drawText (MythPainter *p, int xoffset, int yoffset, UIGTCon *data, int alphaMod)
 Draws text strings for a GuideGrid item. More...
 
void drawRecDecoration (MythPainter *p, int xoffset, int yoffset, UIGTCon *data, int alphaMod)
 Draws decoration items for a GuideGrid item. More...
 
void drawCurrent (MythPainter *p, int xoffset, int yoffset, UIGTCon *data, int alphaMod)
 Draws selection indication for a GuideGrid item. More...
 

Static Private Member Functions

static QColor calcColor (const QColor &color, int alpha)
 

Private Attributes

QList< UIGTCon * > * m_allData {nullptr}
 
UIGTCon m_selectedItem
 
std::array< MythUIImage *, RECSTATUSSIZEm_recImages {}
 
std::array< MythUIImage *, ARROWIMAGESIZEm_arrowImages {}
 
int m_channelCount {5}
 
int m_timeCount {4}
 
bool m_verticalLayout {false}
 
QPoint m_textOffset
 
MythFontPropertiesm_font {nullptr}
 
int m_justification
 
bool m_multilineText {true}
 
bool m_cutdown {true}
 
QString m_selType {"box"}
 
QPen m_drawSelLine {Qt::NoPen}
 
QBrush m_drawSelFill {Qt::NoBrush}
 
QColor m_solidColor
 
QColor m_recordingColor
 
QColor m_conflictingColor
 
int m_fillType {Solid}
 
int m_rowCount {0}
 
int m_progPastCol {0}
 
bool m_drawCategoryColors {true}
 
bool m_drawCategoryText {true}
 
int m_categoryAlpha {255}
 
QMap< QString, QColor > m_categoryColors
 

Additional Inherited Members

- Public Slots inherited from MythUIType
void LoseFocus ()
 
bool TakeFocus ()
 
void Activate ()
 
void Hide (void)
 
void Show (void)
 
void Refresh (void)
 
void UpdateDependState (bool isDefault)
 
void UpdateDependState (MythUIType *dependee, bool isDefault)
 
- Signals inherited from MythUIType
void RequestUpdate ()
 
void RequestUpdate (const QRect &)
 
void RequestRegionUpdate (const QRect &)
 
void TakingFocus ()
 
void LosingFocus ()
 
void Showing ()
 
void Hiding ()
 
void Enabling ()
 
void Disabling ()
 
void FinishedMoving ()
 
void FinishedFading ()
 
void DependChanged (bool isDefault)
 
- Static Public Member Functions inherited from XMLParseBase
static QString getFirstText (QDomElement &element)
 
static bool parseBool (const QString &text)
 
static bool parseBool (QDomElement &element)
 
static MythPoint parsePoint (const QString &text, bool normalize=true)
 
static MythPoint parsePoint (QDomElement &element, bool normalize=true)
 
static QSize parseSize (const QString &text, bool normalize=true)
 
static QSize parseSize (QDomElement &element, bool normalize=true)
 
static MythRect parseRect (const QString &text, bool normalize=true)
 
static MythRect parseRect (QDomElement &element, bool normalize=true)
 
static int parseAlignment (const QString &text)
 
static int parseAlignment (QDomElement &element)
 
static QBrush parseGradient (const QDomElement &element)
 
static QString parseText (QDomElement &element)
 
static MythUITypeGetGlobalObjectStore (void)
 
static void ClearGlobalObjectStore (void)
 
static void ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings)
 
static MythUITypeParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings, QMap< QString, QString > &parentDependsMap)
 
static bool WindowExists (const QString &xmlfile, const QString &windowname)
 
static bool LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent)
 
static bool LoadBaseTheme (void)
 
static bool LoadBaseTheme (const QString &baseTheme)
 
static bool CopyWindowFromBase (const QString &windowname, MythScreenType *win)
 
- Protected Attributes inherited from MythUIType
QList< MythUIType * > m_ChildrenList
 
QMap< QString, QString > m_dependsMap
 
QList< QPair< MythUIType *, bool > > m_dependsValue
 
QList< int > m_dependOperator
 
bool m_Visible {true}
 
bool m_HasFocus {false}
 
bool m_CanHaveFocus {false}
 
bool m_Enabled {true}
 
bool m_EnableInitiator {false}
 
bool m_Initiator {false}
 
bool m_Vanish {false}
 
bool m_Vanished {false}
 
bool m_IsDependDefault {false}
 
QMap< MythUIType *, boolm_ReverseDepend
 
int m_focusOrder {0}
 
MythRect m_Area {0,0,0,0}
 
MythRect m_MinArea {0,0,0,0}
 
MythPoint m_MinSize
 
QRegion m_DirtyRegion {0,0,0,0}
 
bool m_NeedsRedraw {false}
 
UIEffects m_Effects
 
int m_AlphaChangeMode {0}
 
int m_AlphaChange {0}
 
int m_AlphaMin {0}
 
int m_AlphaMax {255}
 
bool m_Moving {false}
 
QPoint m_XYDestination {0,0}
 
QPoint m_XYSpeed {0,0}
 
FontMapm_Fonts {nullptr}
 
MythUITypem_Parent {nullptr}
 
MythPainterm_Painter {nullptr}
 
QList< MythUIAnimation * > m_animations
 
QString m_helptext
 
QString m_xmlName
 
QString m_xmlLocation
 
bool m_deferload {false}
 
QColor m_BorderColor {Qt::black}
 

Detailed Description

A narrow purpose widget used to show television programs and the timeslots they occupy on channels. Used for scheduling of recordings.

Definition at line 41 of file mythuiguidegrid.h.

Member Enumeration Documentation

◆ FillType

Enumerator
Alpha 
Dense 
Eco 
Solid 

Definition at line 50 of file mythuiguidegrid.h.

Constructor & Destructor Documentation

◆ MythUIGuideGrid()

MythUIGuideGrid::MythUIGuideGrid ( MythUIType parent,
const QString &  name 
)

Definition at line 28 of file mythuiguidegrid.cpp.

Referenced by CreateCopy().

◆ ~MythUIGuideGrid()

MythUIGuideGrid::~MythUIGuideGrid ( )
override

Definition at line 47 of file mythuiguidegrid.cpp.

Member Function Documentation

◆ DrawSelf()

void MythUIGuideGrid::DrawSelf ( MythPainter p,
int  xoffset,
int  yoffset,
int  alphaMod,
QRect  clipRect 
)
overridevirtual

Draws an entire GuideGrid.

Draw the complete contents of a GuideGrid. This function iterates over all the rows and columns in a guide grid, and calls the appropriate functions to draw the grid items. This is accomplished in three stages. First all the item backgrounds are drawn in appropriate colors for their genre and recoding state, then the background/decorations for the selected item are drawn, and finally all the item texts and recording decorators are drawn on top.

Note
This function does not translate local->global offsets. All of the drawing functions it calls must perform this translation.
Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
alphaModThe alpha (transparency) value for this widget.
clipRectIgnored.

Reimplemented from MythUIType.

Definition at line 285 of file mythuiguidegrid.cpp.

◆ isVerticalLayout()

bool MythUIGuideGrid::isVerticalLayout ( void  ) const
inline

Definition at line 52 of file mythuiguidegrid.h.

Referenced by GuideGrid::Create().

◆ getChannelCount()

int MythUIGuideGrid::getChannelCount ( void  ) const
inline

◆ getTimeCount()

int MythUIGuideGrid::getTimeCount ( void  ) const
inline

Definition at line 54 of file mythuiguidegrid.h.

Referenced by GuideGrid::Create().

◆ SetCategoryColors()

void MythUIGuideGrid::SetCategoryColors ( const QMap< QString, QString > &  catColors)

Definition at line 759 of file mythuiguidegrid.cpp.

Referenced by MythUIGuideGrid().

◆ SetTextOffset()

void MythUIGuideGrid::SetTextOffset ( const QPoint &  to)
inline

Definition at line 58 of file mythuiguidegrid.h.

◆ SetArrow()

void MythUIGuideGrid::SetArrow ( int  direction,
const QString &  file 
)

Definition at line 780 of file mythuiguidegrid.cpp.

Referenced by ParseElement().

◆ LoadImage()

void MythUIGuideGrid::LoadImage ( int  recType,
const QString &  file 
)

Definition at line 768 of file mythuiguidegrid.cpp.

Referenced by ParseElement().

◆ SetProgramInfo()

void MythUIGuideGrid::SetProgramInfo ( int  row,
int  col,
const QRect &  area,
const QString &  title,
const QString &  genre,
int  arrow,
int  recType,
int  recStat,
bool  selected 
)

Definition at line 679 of file mythuiguidegrid.cpp.

Referenced by GuideGrid::updateProgramsUI().

◆ ResetData()

void MythUIGuideGrid::ResetData ( )

Definition at line 792 of file mythuiguidegrid.cpp.

◆ ResetRow()

void MythUIGuideGrid::ResetRow ( int  row)

◆ SetProgPast()

void MythUIGuideGrid::SetProgPast ( int  ppast)

Definition at line 807 of file mythuiguidegrid.cpp.

Referenced by GuideGrid::updateProgramsUI().

◆ SetMultiLine()

void MythUIGuideGrid::SetMultiLine ( bool  multiline)

Definition at line 817 of file mythuiguidegrid.cpp.

Referenced by ParseElement().

◆ GetRowAndColumn()

QPoint MythUIGuideGrid::GetRowAndColumn ( QPoint  position)

Definition at line 660 of file mythuiguidegrid.cpp.

Referenced by GuideGrid::gestureEvent().

◆ Finalize()

void MythUIGuideGrid::Finalize ( void  )
overrideprotectedvirtual

Perform any post-xml parsing initialisation tasks.

This is called after the widget has been created and it's state established by ParseElement() or CopyFrom(). A derived class should use this to perform any initialisation tasks which should occur after this point.

Reimplemented from MythUIType.

Definition at line 38 of file mythuiguidegrid.cpp.

◆ ParseElement()

bool MythUIGuideGrid::ParseElement ( const QString &  filename,
QDomElement &  element,
bool  showWarnings 
)
overrideprotectedvirtual

Parse the xml definition of this widget setting the state of the object accordingly.

Reimplemented from MythUIType.

Definition at line 62 of file mythuiguidegrid.cpp.

◆ CopyFrom()

void MythUIGuideGrid::CopyFrom ( MythUIType base)
overrideprotectedvirtual

Copy this widgets state from another.

Reimplemented from MythUIType.

Definition at line 213 of file mythuiguidegrid.cpp.

◆ CreateCopy()

void MythUIGuideGrid::CreateCopy ( MythUIType parent)
overrideprotectedvirtual

Copy the state of this widget to the one given, it must be of the same type.

Reimplemented from MythUIType.

Definition at line 248 of file mythuiguidegrid.cpp.

◆ parseDefaultCategoryColors()

bool MythUIGuideGrid::parseDefaultCategoryColors ( QMap< QString, QString > &  catColors)
staticprotected

Definition at line 700 of file mythuiguidegrid.cpp.

Referenced by MythUIGuideGrid().

◆ drawBackground()

void MythUIGuideGrid::drawBackground ( MythPainter p,
int  xoffset,
int  yoffset,
UIGTCon data,
int  alphaMod 
)
private

Draws the background for a GuideGrid item that will not be recorded.

This function is responsible for drawing the background behind all GuideGrid entries that are not marked as being part of a recording rule. It is responsible for drawing the demarcation line in the grid between past and future times. It also chooses the background color appropriate to the genre of the show.

Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
dataA pointer to the GuideGrid object to be drawn.
alphaModThe alpha (transparency) value for this widget.

Definition at line 523 of file mythuiguidegrid.cpp.

Referenced by DrawSelf().

◆ drawBox()

void MythUIGuideGrid::drawBox ( MythPainter p,
int  xoffset,
int  yoffset,
UIGTCon data,
const QColor &  color,
int  alphaMod 
)
private

Draws the background for a GuideGrid item to be recorded.

This function is responsible for drawing the background behind all GuideGrid entries that are marked as being part of a recording rule. It draws a simple filled in box with no past/future demarcation.

Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
dataA pointer to the GuideGrid object to be drawn.
colorThe color to draw the box.
alphaModThe alpha (transparency) value for this widget.

Definition at line 493 of file mythuiguidegrid.cpp.

Referenced by DrawSelf().

◆ drawText()

void MythUIGuideGrid::drawText ( MythPainter p,
int  xoffset,
int  yoffset,
UIGTCon data,
int  alphaMod 
)
private

Draws text strings for a GuideGrid item.

This function is responsible for drawing the text onto an entry in the GuideGrid. It is smart enough to leave space for the guide item continuation arrow to be drawn.

Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
dataA pointer to the GuideGrid object to be drawn.
alphaModThe alpha (transparency) value for this widget.

Definition at line 624 of file mythuiguidegrid.cpp.

Referenced by DrawSelf().

◆ drawRecDecoration()

void MythUIGuideGrid::drawRecDecoration ( MythPainter p,
int  xoffset,
int  yoffset,
UIGTCon data,
int  alphaMod 
)
private

Draws decoration items for a GuideGrid item.

This function is responsible for drawing the decoration items onto an entry in the GuideGrid. It draws left/right (or up/down) arrows if the program time extends before or after what's visible in the window. If a show is scheduled to record, it also draws the badges that indicates the type of recording.

Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
dataA pointer to the GuideGrid object to be drawn.
alphaModThe alpha (transparency) value for this widget.

Definition at line 404 of file mythuiguidegrid.cpp.

Referenced by DrawSelf().

◆ drawCurrent()

void MythUIGuideGrid::drawCurrent ( MythPainter p,
int  xoffset,
int  yoffset,
UIGTCon data,
int  alphaMod 
)
private

Draws selection indication for a GuideGrid item.

This function is responsible for drawing decoration items that are unique to the currently selected entry. This may be a highlight rectangle around the entry, or special colors to indicate the currently selected entry. The type of decoration drawn depends upon the setting on the local m_SelType variable.

Parameters
pA pointer to the MythPainter structure that will be used to render this object onto the screen.
xoffsetThe X offset of the parent. Used to convert local coordinates to global coordinates.
yoffsetThe Y offset of the parent. Used to convert local coordinates to global coordinates.
dataA pointer to the GuideGrid object to be drawn.
alphaModThe alpha (transparency) value for this widget.

Definition at line 334 of file mythuiguidegrid.cpp.

Referenced by DrawSelf().

◆ calcColor()

QColor MythUIGuideGrid::calcColor ( const QColor &  color,
int  alpha 
)
staticprivate

Definition at line 254 of file mythuiguidegrid.cpp.

Referenced by drawBackground(), drawBox(), and drawCurrent().

Member Data Documentation

◆ m_allData

QList<UIGTCon*>* MythUIGuideGrid::m_allData {nullptr}
private

◆ m_selectedItem

UIGTCon MythUIGuideGrid::m_selectedItem
private

Definition at line 119 of file mythuiguidegrid.h.

Referenced by DrawSelf(), and SetProgramInfo().

◆ m_recImages

std::array<MythUIImage*,RECSTATUSSIZE> MythUIGuideGrid::m_recImages {}
private

Definition at line 121 of file mythuiguidegrid.h.

Referenced by drawRecDecoration(), and LoadImage().

◆ m_arrowImages

std::array<MythUIImage*,ARROWIMAGESIZE> MythUIGuideGrid::m_arrowImages {}
private

Definition at line 122 of file mythuiguidegrid.h.

Referenced by drawRecDecoration(), drawText(), and SetArrow().

◆ m_channelCount

int MythUIGuideGrid::m_channelCount {5}
private

Definition at line 125 of file mythuiguidegrid.h.

Referenced by CopyFrom(), Finalize(), and ParseElement().

◆ m_timeCount

int MythUIGuideGrid::m_timeCount {4}
private

Definition at line 126 of file mythuiguidegrid.h.

Referenced by CopyFrom(), and ParseElement().

◆ m_verticalLayout

bool MythUIGuideGrid::m_verticalLayout {false}
private

◆ m_textOffset

QPoint MythUIGuideGrid::m_textOffset
private

Definition at line 128 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawText(), and ParseElement().

◆ m_font

MythFontProperties* MythUIGuideGrid::m_font {nullptr}
private

◆ m_justification

int MythUIGuideGrid::m_justification
private
Initial value:
{Qt::AlignLeft | Qt::AlignTop |
Qt::TextWordWrap}

Definition at line 131 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawText(), and SetMultiLine().

◆ m_multilineText

bool MythUIGuideGrid::m_multilineText {true}
private

Definition at line 133 of file mythuiguidegrid.h.

Referenced by CopyFrom(), and SetMultiLine().

◆ m_cutdown

bool MythUIGuideGrid::m_cutdown {true}
private

Definition at line 134 of file mythuiguidegrid.h.

Referenced by CopyFrom(), and ParseElement().

◆ m_selType

QString MythUIGuideGrid::m_selType {"box"}
private

Definition at line 136 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawCurrent(), and ParseElement().

◆ m_drawSelLine

QPen MythUIGuideGrid::m_drawSelLine {Qt::NoPen}
private

Definition at line 137 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawCurrent(), and ParseElement().

◆ m_drawSelFill

QBrush MythUIGuideGrid::m_drawSelFill {Qt::NoBrush}
private

Definition at line 138 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawCurrent(), and ParseElement().

◆ m_solidColor

QColor MythUIGuideGrid::m_solidColor
private

Definition at line 140 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawBackground(), drawCurrent(), and ParseElement().

◆ m_recordingColor

QColor MythUIGuideGrid::m_recordingColor
private

Definition at line 141 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawCurrent(), DrawSelf(), and ParseElement().

◆ m_conflictingColor

QColor MythUIGuideGrid::m_conflictingColor
private

Definition at line 142 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawCurrent(), DrawSelf(), and ParseElement().

◆ m_fillType

int MythUIGuideGrid::m_fillType {Solid}
private

Definition at line 144 of file mythuiguidegrid.h.

Referenced by CopyFrom().

◆ m_rowCount

int MythUIGuideGrid::m_rowCount {0}
private

Definition at line 146 of file mythuiguidegrid.h.

Referenced by DrawSelf(), Finalize(), GetRowAndColumn(), ResetData(), and ~MythUIGuideGrid().

◆ m_progPastCol

int MythUIGuideGrid::m_progPastCol {0}
private

Definition at line 147 of file mythuiguidegrid.h.

Referenced by drawBackground(), and SetProgPast().

◆ m_drawCategoryColors

bool MythUIGuideGrid::m_drawCategoryColors {true}
private

◆ m_drawCategoryText

bool MythUIGuideGrid::m_drawCategoryText {true}
private

Definition at line 150 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawText(), and ParseElement().

◆ m_categoryAlpha

int MythUIGuideGrid::m_categoryAlpha {255}
private

Definition at line 151 of file mythuiguidegrid.h.

Referenced by CopyFrom(), drawBackground(), drawBox(), drawCurrent(), and ParseElement().

◆ m_categoryColors

QMap<QString, QColor> MythUIGuideGrid::m_categoryColors
private

Definition at line 153 of file mythuiguidegrid.h.

Referenced by SetCategoryColors(), and SetProgramInfo().


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