Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxSplitDlg Class Reference

Used for arranging views(menu item "Window->Arrange Views") and for creating sub-views of current view(button "Create sub-views")

#include <QtxWorkstackAction.h>

Inheritance diagram for QtxSplitDlg:
Inheritance graph

Public Member Functions

 QtxSplitDlg (QWidget *=0, QtxWorkstack *=NULL, QtxSplitDlgMode=ArrangeViews)
 Constructor. More...
 
 ~QtxSplitDlg ()
 Destructor. More...
 
int getSplitMode ()
 Return current split mode. More...
 
QList< int > getViewsMode ()
 Return selected view modes. More...
 

Private Types

enum  ViewMode { XYZ, XY, XZ, YZ }
 

Private Slots

void onChangeIcons ()
 Called when number of views was changed and it's necessary to set others split icons. More...
 
void onSplitChanged (int)
 Called when user selects an icon for split. More...
 
void onComboBoxChanged (int)
 Called when user selects item of Combo Box. More...
 
void onPreviousViews ()
 Called when user taps previous button. More...
 
void onNextViews ()
 Called when user taps next button. More...
 
void onSynchronize ()
 Synchronize data and widgets. More...
 
void onCloseViews ()
 Called when check box "Close remaining views" is active. More...
 
void onStackViews ()
 Called when check box "Stack remaining views in the last area" is active. More...
 
void onApply ()
 Apply dialog. More...
 

Private Member Functions

QToolButtoncreateSplitButton (int, int)
 Create new QToolButton using icon of split mode. More...
 
void initialize ()
 Initialisation of widgets. More...
 
void valid ()
 Verification if all items necessary for dialog were selected. More...
 

Private Attributes

QStackedLayout * myStackedSplitLayout
 
QRadioButton * myButton2Views
 
QRadioButton * myButton3Views
 
QRadioButton * myButton4Views
 
QPushButton * myButtonApply
 
QPushButton * myButtonPrevious
 
QPushButton * myButtonNext
 
QList< QLabel * > myLabels
 
QList< QComboBox * > myComboBox
 
QListWidgetmyViewsList
 
QtxWorkstackmyWorkstack
 
QtxSplitDlgMode myDlgMode
 
int myViewsNB
 
int mySplitMode
 
int myNBSelectedViews
 
bool myIsCloseViews
 
QMap< QComboBox *, ViewModemyMapComboBoxMode
 
QMap< ViewMode, bool > myMapModeIsBusy
 

Member Enumeration Documentation

enum QtxSplitDlg::ViewMode
private
Enumerator
XYZ 
XY 
XZ 
YZ 

Constructor & Destructor Documentation

QtxSplitDlg::~QtxSplitDlg ( )

Member Function Documentation

QToolButton * QtxSplitDlg::createSplitButton ( int  theViewsNB,
int  theSplitMode 
)
private
int QtxSplitDlg::getSplitMode ( )

References mySplitMode.

QList< int > QtxSplitDlg::getViewsMode ( )
void QtxSplitDlg::onCloseViews ( )
privateslot

References myIsCloseViews.

void QtxSplitDlg::onComboBoxChanged ( int  theItem)
privateslot

References myComboBox, and myMapComboBoxMode.

void QtxSplitDlg::onNextViews ( )
privateslot
void QtxSplitDlg::onPreviousViews ( )
privateslot
void QtxSplitDlg::onSplitChanged ( int  theMode)
privateslot

References mySplitMode, and valid().

void QtxSplitDlg::onStackViews ( )
privateslot

References myIsCloseViews.

void QtxSplitDlg::onSynchronize ( )
privateslot
void QtxSplitDlg::valid ( )
private

Member Data Documentation

QRadioButton* QtxSplitDlg::myButton2Views
private
QRadioButton* QtxSplitDlg::myButton3Views
private
QRadioButton* QtxSplitDlg::myButton4Views
private
QPushButton* QtxSplitDlg::myButtonApply
private
QPushButton* QtxSplitDlg::myButtonNext
private
QPushButton* QtxSplitDlg::myButtonPrevious
private
QList<QComboBox*> QtxSplitDlg::myComboBox
private
QtxSplitDlgMode QtxSplitDlg::myDlgMode
private
bool QtxSplitDlg::myIsCloseViews
private
QList<QLabel*> QtxSplitDlg::myLabels
private
QMap<QComboBox*, ViewMode> QtxSplitDlg::myMapComboBoxMode
private
QMap<ViewMode, bool> QtxSplitDlg::myMapModeIsBusy
private
int QtxSplitDlg::myNBSelectedViews
private
int QtxSplitDlg::mySplitMode
private
QStackedLayout* QtxSplitDlg::myStackedSplitLayout
private
QListWidget* QtxSplitDlg::myViewsList
private
int QtxSplitDlg::myViewsNB
private
QtxWorkstack* QtxSplitDlg::myWorkstack
private

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