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. More...
 
virtual void addWidget (const QString &name, QWidget *widget, const QIcon &icon=QIcon())
 Adds a new widget with the given name to the pager. More...
 
virtual void setCurrentPage (int index)
 Sets the currently selected page in the widget. More...
 

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. More...
 

Protected Member Functions

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

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 Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)