VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, const QIcon &icon, const 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::list
< QListWidgetItem * > 
ListItems
typedef std::map< std::string,
QWidget * > 
PagesByNameMap

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

PagesByNameMap myPagesByNameMap
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::list<QListWidgetItem*> MAKVrExchange::DtDialogPager::ListItems
protected
typedef std::map<std::string,QWidget*> MAKVrExchange::DtDialogPager::PagesByNameMap
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,
const QIcon &  icon,
const QString &  label,
bool  showTabs 
)
virtual

Add a page.

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

Internal Slots.

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

Internal Slots.

void MAKVrExchange::DtDialogPager::closed ( )
signal
void MAKVrExchange::DtDialogPager::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

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

Internal Slots.

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

Internal Slots.

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::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::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::setupGui ( )
protected

Sets up the dialog.

Non-virtual (Called from CTOR).

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

Unhide a page. By default all pages are shown.

Member Data Documentation

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

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

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)