VR-Exchange 2.1 API Documentation
List of all members | Signals | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
MAKVrExchange::DtDialogPager Class Reference

The dialog pager is a dialog with a collection of pages. More...

Inheritance diagram for MAKVrExchange::DtDialogPager:
Inheritance graph
[legend]

Signals

void closed ()

Public Member Functions

 DtDialogPager (QWidget *parent, Qt::WindowFlags f=Qt::Tool)
 CTOR.
virtual ~DtDialogPager ()
 DTOR.
virtual void addPage (QWidget *page, QIcon icon, QString label, bool showTabs)
 Add a page.
virtual void hidePage (const std::string &name)
 Keep a page hidden from view. By default all pages are shown.
virtual void showPage (const std::string &name)
 Unhide a page. By default all pages are shown.
virtual void setCurrentPage (const std::string &name)
 Set the current page by name.
virtual void setCurrentPage (int index)
 Set the current page by index.

Protected Types

typedef std::pair< QString,
QString > 
TabDefinition
typedef std::vector
< TabDefinition
TabList
typedef std::list
< QListWidgetItem * > 
ListItems

Protected Slots

virtual void on_myContentsWidget_currentItemChanged (QListWidgetItem *current, QListWidgetItem *previous)
 Internal Slots.
virtual void on_myPagesWidget_currentChanged (int index)
 Internal Slots.
virtual void escPressed ()
 Internal Slots.
virtual void buttonClicked (QAbstractButton *)
 Internal Slots.
virtual void enterPressed ()
 Internal Slots.
virtual void applied ()
 Internal Slots.

Protected Member Functions

void setupGui ()
 Sets up the dialog.
void connectToSignals ()
 Connects widget signals to slots.

Protected Attributes

QListWidget * myContentsWidget
ListItems myContentItems
QStackedWidget * myPagesWidget
QWidgetmyLastWidget
QDialogButtonBox * myButtonBox
QSize myMaxItemSize

Detailed Description

The dialog pager is a dialog with a collection of pages.

Member Typedef Documentation

typedef std::pair<QString, QString> MAKVrExchange::DtDialogPager::TabDefinition
protected
typedef std::vector<TabDefinition> MAKVrExchange::DtDialogPager::TabList
protected
typedef std::list<QListWidgetItem*> MAKVrExchange::DtDialogPager::ListItems
protected

Constructor & Destructor Documentation

MAKVrExchange::DtDialogPager::DtDialogPager ( QWidget parent,
Qt::WindowFlags  f = Qt::Tool 
)

CTOR.

virtual MAKVrExchange::DtDialogPager::~DtDialogPager ( )
virtual

DTOR.

Member Function Documentation

virtual void MAKVrExchange::DtDialogPager::addPage ( QWidget page,
QIcon  icon,
QString  label,
bool  showTabs 
)
virtual

Add a page.

virtual void MAKVrExchange::DtDialogPager::hidePage ( const std::string &  name)
virtual

Keep a page hidden from view. By default all pages are shown.

virtual void MAKVrExchange::DtDialogPager::showPage ( const std::string &  name)
virtual

Unhide a page. By default all pages are shown.

virtual void MAKVrExchange::DtDialogPager::setCurrentPage ( const std::string &  name)
virtual

Set the current page by name.

virtual void MAKVrExchange::DtDialogPager::setCurrentPage ( int  index)
virtual

Set the current page by index.

void MAKVrExchange::DtDialogPager::closed ( )
signal
virtual void MAKVrExchange::DtDialogPager::on_myContentsWidget_currentItemChanged ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)
protectedvirtualslot

Internal Slots.

virtual void MAKVrExchange::DtDialogPager::on_myPagesWidget_currentChanged ( int  index)
protectedvirtualslot

Internal Slots.

virtual void MAKVrExchange::DtDialogPager::escPressed ( )
protectedvirtualslot

Internal Slots.

virtual void MAKVrExchange::DtDialogPager::buttonClicked ( QAbstractButton *  )
protectedvirtualslot

Internal Slots.

virtual void MAKVrExchange::DtDialogPager::enterPressed ( )
protectedvirtualslot

Internal Slots.

virtual void MAKVrExchange::DtDialogPager::applied ( )
protectedvirtualslot

Internal Slots.

void MAKVrExchange::DtDialogPager::setupGui ( )
protected

Sets up the dialog.

Non-virtual (Called from CTOR).

void MAKVrExchange::DtDialogPager::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

Member Data Documentation

QListWidget* MAKVrExchange::DtDialogPager::myContentsWidget
protected
ListItems MAKVrExchange::DtDialogPager::myContentItems
protected
QStackedWidget* MAKVrExchange::DtDialogPager::myPagesWidget
protected
QWidget* MAKVrExchange::DtDialogPager::myLastWidget
protected
QDialogButtonBox* MAKVrExchange::DtDialogPager::myButtonBox
protected
QSize MAKVrExchange::DtDialogPager::myMaxItemSize
protected

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

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)