Qt Virtual Chart Table (QVCT)
CTimeView Class Reference

[UI] Time view (dock widget) More...

#include <CTimeView.hpp>

Inheritance diagram for CTimeView:

Public Member Functions

 CTimeView (QWidget *_pqParent=0)
 
virtual ~CTimeView ()
 
void refreshContent ()
 Refreshes the content of the underlying widget. More...
 

Protected Slots

virtual void resizeEvent (QResizeEvent *_pqResizeEvent)
 

Private Slots

void slotLocationChanged (Qt::DockWidgetArea _qDockWidgetArea)
 Slot to handle dock area change. More...
 
void slotTopLevelChanged (bool _bTopLevel)
 Slot to handle floating change. More...
 

Private Member Functions

void constructLayout ()
 Constructs the layout of the user-interface. More...
 

Private Attributes

QWidget * pqWidget
 [UI:Widget] Container widget More...
 
QBoxLayout * pqBoxLayout
 [UI:Layout] Layout More...
 
QLabel * pqLabelDate
 [UI:Label] Date More...
 
QLabel * pqLabelTime
 [UI:Label] Time More...
 
QLabel * pqLabelTime2
 [UI:Label] Time (alternate timezone) More...
 

Detailed Description

[UI] Time view (dock widget)

This class provides the user-interface (QDockWidget) that allows to display overlay containers/items' details.

Author
Cedric Dufour http://cedric.dufour.name

Definition at line 35 of file CTimeView.hpp.

Constructor & Destructor Documentation

◆ CTimeView()

CTimeView::CTimeView ( QWidget *  _pqParent = 0)

Definition at line 38 of file CTimeView.cpp.

◆ ~CTimeView()

virtual CTimeView::~CTimeView ( )
inlinevirtual

Definition at line 64 of file CTimeView.hpp.

Member Function Documentation

◆ constructLayout()

void CTimeView::constructLayout ( )
private

Constructs the layout of the user-interface.

Definition at line 48 of file CTimeView.cpp.

◆ resizeEvent

void CTimeView::resizeEvent ( QResizeEvent *  _pqResizeEvent)
protectedvirtualslot

Definition at line 81 of file CTimeView.cpp.

◆ slotLocationChanged

void CTimeView::slotLocationChanged ( Qt::DockWidgetArea  _qDockWidgetArea)
privateslot

Slot to handle dock area change.

Definition at line 107 of file CTimeView.cpp.

◆ slotTopLevelChanged

void CTimeView::slotTopLevelChanged ( bool  _bTopLevel)
privateslot

Slot to handle floating change.

Definition at line 121 of file CTimeView.cpp.

◆ refreshContent()

void CTimeView::refreshContent ( )

Refreshes the content of the underlying widget.

Definition at line 134 of file CTimeView.cpp.

Member Data Documentation

◆ pqWidget

QWidget* CTimeView::pqWidget
private

[UI:Widget] Container widget

Definition at line 46 of file CTimeView.hpp.

◆ pqBoxLayout

QBoxLayout* CTimeView::pqBoxLayout
private

[UI:Layout] Layout

Definition at line 48 of file CTimeView.hpp.

◆ pqLabelDate

QLabel* CTimeView::pqLabelDate
private

[UI:Label] Date

Definition at line 51 of file CTimeView.hpp.

◆ pqLabelTime

QLabel* CTimeView::pqLabelTime
private

[UI:Label] Time

Definition at line 53 of file CTimeView.hpp.

◆ pqLabelTime2

QLabel* CTimeView::pqLabelTime2
private

[UI:Label] Time (alternate timezone)

Definition at line 55 of file CTimeView.hpp.


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