MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

Widget for stacking widgets and selecting them with a list on the left. More...

+ Inheritance diagram for DtWidgetPager:
+ Collaboration diagram for DtWidgetPager:

Public Member Functions

virtual ~DtWidgetPager ()
 Virtual DTOR.
virtual void addWidget (const QString &name, QWidget *widget, const QIcon &icon=QIcon())
 Adds a new widget with the given name to the pager.
virtual void setCurrentPage (int index)
 Sets the currently selected page in the widget.

Static Public Member Functions

static DtWidgetPagercreate (QWidget *parent=0)

Protected Slots

virtual void on_contentsWidget_itemSelectionChanged ()
 Slot called when user changes selection in the contents widget.

Protected Member Functions

 DtWidgetPager (QWidget *parent=0)
 Protected CTOR (Use ::create()).
virtual void initialize ()
 Initializes the widget.
virtual void setupGui ()
 Lays out the widget.
virtual void connectToSignals ()
 Connects signals and slots for handling user control.

Protected Attributes

QListWidget * myContentsWidget
QStackedWidget * myPagesWidget
QSize myMaxItemSize

Detailed Description

Widget for stacking widgets and selecting them with a list on the left.

Constructor & Destructor Documentation

virtual DtWidgetPager::~DtWidgetPager ( )
virtual

Virtual DTOR.

DtWidgetPager::DtWidgetPager ( QWidget parent = 0)
protected

Protected CTOR (Use ::create()).

Member Function Documentation

virtual void DtWidgetPager::addWidget ( const QString &  name,
QWidget widget,
const QIcon &  icon = QIcon() 
)
virtual

Adds a new widget with the given name to the pager.

virtual void DtWidgetPager::connectToSignals ( )
protectedvirtual

Connects signals and slots for handling user control.

static DtWidgetPager* DtWidgetPager::create ( QWidget parent = 0)
static
virtual void DtWidgetPager::initialize ( )
protectedvirtual

Initializes the widget.

Calls ::setupGui() and ::connectToSignals().

virtual void DtWidgetPager::on_contentsWidget_itemSelectionChanged ( )
protectedvirtualslot

Slot called when user changes selection in the contents widget.

virtual void DtWidgetPager::setCurrentPage ( int  index)
virtual

Sets the currently selected page in the widget.

virtual void DtWidgetPager::setupGui ( )
protectedvirtual

Lays out the widget.

Member Data Documentation

QListWidget* DtWidgetPager::myContentsWidget
protected
QSize DtWidgetPager::myMaxItemSize
protected
QStackedWidget* DtWidgetPager::myPagesWidget
protected

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

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)