SALOME style prefences dialog box class. More...
#include <Style_PrefDlg.h>

Data Structures | |
| class | PaletteEditor |
| SALOME style palette editor widget. More... | |
Public Types | |
| enum | PlacePolicy { Position, Expand, Uniform } |
Buttons alignment type. More... | |
| enum | ButtonArea { TopArea, BottomArea, LeftArea, RightArea } |
Buttons area. More... | |
| enum | ButtonPosition { Left, Right, Center, Top = Left, Bottom = Right } |
Button position. More... | |
| enum | ButtonFlags { None = 0x00000000, OK = 0x00000001, Apply = 0x00000002, Cancel = 0x00000004, Yes = 0x00000008, No = 0x00000010, Close = 0x00000020, Help = 0x00000040, OKCancel = OK | Cancel, YesNo = Yes | No, Standard = OK | Cancel | Help, All = Standard | YesNo | Apply | Close } |
Button ID flags. More... | |
| enum | DialogFlags { Accept = 0x000001, Reject = 0x000002, AlignOnce = 0x000004, SetFocus = 0x000008 } |
Dialog box flags. More... | |
Public Slots | |
| void | update () |
| Update dialog box. | |
| virtual void | setVisible (bool) |
| Show/hide dialog box, set keyboard focus to the dialog. | |
Signals | |
| void | styleChanged () |
| void | dlgButton (int) |
| Emitted when the user button is clicked. | |
| void | dlgParamChanged () |
| This signal can be used in successor classes to signalize about some dialog parameter changing. | |
| void | dlgHelp () |
| Emitted when the "Help" button is clicked. | |
| void | dlgApply () |
| Emitted when the "Apply" button is clicked. | |
| void | dlgOk () |
| Emitted when the "OK" button is clicked. | |
| void | dlgNo () |
| Emitted when the "No" button is clicked. | |
| void | dlgYes () |
| Emitted when the "Yes" button is clicked. | |
| void | dlgClose () |
| Emitted when the "Close" button is clicked. | |
| void | dlgCancel () |
| Emitted when the "Cancel" button is clicked. | |
Public Member Functions | |
| Style_PrefDlg (QWidget *=0) | |
| Constructor. | |
| ~Style_PrefDlg () | |
| Destructor. | |
| void | accept () |
| Called when "OK" button is clicked. | |
| void | setDialogFlags (const int) |
| Set specified dialog box flags. | |
| void | clearDialogFlags (const int) |
| Clear specified the dialog flags. | |
| bool | testDialogFlags (const int) const |
| Test specified dialog flags. | |
| void | setButtonFlags (const int) |
| Add specified control button(s) to the dialog box. | |
| void | clearButtonFlags (const int) |
| Remove specified control button(s) from the dialog box. | |
| bool | testButtonFlags (const int) const |
| Test specified buttons. | |
| int | buttonPosition (const int) const |
| Get specified control button position. | |
| void | setButtonPosition (const int, const int=-1) |
| Set the specified control button(s) position. | |
| void | setPlacePosition (const int, const int) |
| Set button position for all buttons in specified area. | |
| int | placePolicy (const int) const |
| Get buttons layouting policy for the specified area. | |
| void | setPlacePolicy (const int, const int) |
| set buttons layouting policy for the specified area. | |
| void | setButtonPlace (const int, const int) |
| Move specified button(s) into specified area. | |
| QString | buttonText (const int) |
| Get specified button's text. | |
| void | setButtonText (const int, const QString &text) |
| Set specified button's text. | |
| void | setButtonFocus (const int) |
| Sets the keyboard focus to the specified button. | |
| bool | hasButtonFocus (const int) const |
| Check if specified button has keyboard focus. | |
| bool | isButtonEnabled (const int) const |
| Get "enabled" status of the specified button(s). | |
| void | setButtonEnabled (const bool, const int) |
| Enable/disable specified button(s). | |
| bool | isBorderEnabled (const int) const |
| Check if border is enabled. | |
| void | setBorderEnabled (const bool, const int) |
| Show/hide border for the specified button area. | |
| void | removeButton (const int) |
| Remove user button. | |
| int | insertButton (const QString &, const int=BottomArea) |
| Add user button to the dialog box. | |
| QIntList | userButtonIds () const |
| Get all user button IDs. | |
| QAbstractButton * | userButton (const int) const |
| Get user button by the specified id. | |
| uint | setAlignment (uint align) |
| Sets alignment policy. | |
Static Public Member Functions | |
| static void | setUnits (QLabel *, const QString &) |
| Set measure units to the specified label. | |
Protected Types | |
| typedef QMap< int, QAbstractButton * > | ButtonMap |
| button map | |
Protected Slots | |
| virtual void | reject () |
| Reject the dialog box. | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *) |
| Process key press event. | |
| int | buttonPosition (QAbstractButton *) const |
| Get position of specified button. | |
| QFrame * | mainFrame () const |
| Get dialog box main frame widget. | |
| virtual bool | acceptData () const |
| Check if data entered by the user is valid. | |
| virtual bool | rejectData () const |
| Check if dialog box can be cancelled. | |
| virtual QAbstractButton * | createButton (QWidget *) |
| Create new user button. | |
| QAbstractButton * | button (const int) const |
| Get button by the specified ID. | |
| ButtonMap | buttons (const int=All) const |
| Get buttons by the specified IDs. | |
| int | buttonId (const QAbstractButton *) const |
| Get specified button's identifier. | |
| virtual void | showEvent (QShowEvent *) |
| Align this dialog according to the parent widget and alignment policy before the dialog box is shown. | |
| virtual void | hideEvent (QHideEvent *) |
| Process all existing events when dialog box is hidden. | |
| virtual void | closeEvent (QCloseEvent *) |
| Called when user closes dialog box. | |
| virtual void | childEvent (QChildEvent *) |
| Update dialog box layout when the size grip is added. | |
Private Types | |
| enum | { Current, Default, Global, User } |
| enum | { TypeRole = Qt::UserRole + 123, NameRole } |
Private Slots | |
| void | onApply () |
| Called when "Apply" button is pressed. | |
| void | onHelp () |
| Called when "Help" button is pressed. | |
| void | onStyleChanged () |
| Called when user selects any theme item in the themes list. | |
| void | onLinesType () |
| Called when lines type is changed. | |
| void | onChanged () |
| Called when any style parameter is changed by the user. | |
| void | onItemChanged (QListWidgetItem *) |
| Called when user theme is renamed by the user. | |
| void | onEffectChanged (QAbstractButton *) |
| Called when widget effect is changed. | |
Private Member Functions | |
| Style_ResourceMgr * | resourceMgr () |
| Get SALOME themes resource manager. | |
| void | fromModel (Style_Model *) |
| Initialize dialog box fields from SALOME style model. | |
| void | toModel (Style_Model *) const |
| Save values from dialog box fields to SALOME style model. | |
| QString | findUniqueName (const QString &, QListWidgetItem *=0, bool=false) |
| Find unique name for the theme name. | |
Private Attributes | |
| Style_ResourceMgr * | myResMgr |
| QCheckBox * | myStyleCheck |
| QListWidget * | myStylesList |
| QTabWidget * | myStylesTab |
| PaletteEditor * | myPaletteEditor |
| QtxFontEdit * | myFontEdit |
| QComboBox * | myLinesCombo |
| QSlider * | myLinesTransparency |
| QtxDoubleSpinBox * | myEditRound |
| QtxDoubleSpinBox * | myButtonRound |
| QtxDoubleSpinBox * | myFrameRound |
| QtxDoubleSpinBox * | mySliderRound |
| QCheckBox * | myAntiAliasing |
| QSpinBox * | myHorHandleDelta |
| QSpinBox * | myVerHandleDelta |
| QSpinBox * | mySplitterLength |
| QSpinBox * | mySliderSize |
| QRadioButton * | myEffectNone |
| QRadioButton * | myEffectHighlight |
| QRadioButton * | myEffectAutoRaise |
| QRadioButton * | myCurrentEffect |
The dialog box lists all SALOME style themes available via the application and allows user to create own schemas.
typedef QMap<int, QAbstractButton*> QtxDialog.ButtonMap [protected, inherited] |
enum QtxDialog::PlacePolicy [inherited] |
enum QtxDialog::ButtonArea [inherited] |
enum QtxDialog::ButtonPosition [inherited] |
enum QtxDialog::ButtonFlags [inherited] |
enum QtxDialog::DialogFlags [inherited] |
| Style_PrefDlg::Style_PrefDlg | ( | QWidget * | parent = 0 | ) |
| parent | parent widget |
References QtxDialog.AlignOnce, QtxDialog.Close, Current, Default, QtxDialog.dlgApply(), QtxDialog.dlgHelp(), Global, Style_ResourceMgr.Global, Horizontal, Style_Model.Horizontal, Style_Model.Inclined, Style_Salome.isActive(), main(), QtxDialog.mainFrame(), MARGIN, myAntiAliasing, myButtonRound, myCurrentEffect, myEditRound, myEffectAutoRaise, myEffectHighlight, myEffectNone, myFontEdit, myFrameRound, myHorHandleDelta, myLinesCombo, myLinesTransparency, myPaletteEditor, mySliderRound, mySliderSize, mySplitterLength, myStyleCheck, myStylesList, myStylesTab, myVerHandleDelta, NameRole, Style_Model.NoLines, onApply(), onChanged(), onEffectChanged(), onHelp(), onItemChanged(), onLinesType(), onStyleChanged(), resourceMgr(), QtxDialog.Right, QtxDialog.setButtonPosition(), QtxDialog.setDialogFlags(), SPACING, styleChanged(), Style_ResourceMgr.styles(), TypeRole, User, and Style_ResourceMgr.User.
| Style_PrefDlg::~Style_PrefDlg | ( | ) |
| void Style_PrefDlg::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
| e | key event |
Reimplemented from QtxDialog.
References myStylesList, NameRole, QtxResourceMgr.remove(), resourceMgr(), QtxResourceMgr.save(), TypeRole, User, and QtxDialog.Yes.
| Style_ResourceMgr * Style_PrefDlg::resourceMgr | ( | ) | [private] |
References myResMgr.
| void Style_PrefDlg::fromModel | ( | Style_Model * | model | ) | [private] |
| model | style model |
References Style_Model.antialiasing(), Style_Model.applicationFont(), Style_Model.AutoRaiseEffect, Style_Model.ButtonRadius, Style_Model.color(), Style_Model.EditRadius, Style_Model.FrameRadius, Style_Model.handleDelta(), Style_Model.HighlightEffect, Horizontal, Style_Model.isAutoPalette(), Style_Model.LastColor, Style_Model.linesTransparency(), Style_Model.linesType(), myAntiAliasing, myButtonRound, myEditRound, myEffectAutoRaise, myEffectHighlight, myEffectNone, myFontEdit, myFrameRound, myHorHandleDelta, myLinesCombo, myLinesTransparency, myPaletteEditor, mySliderRound, mySliderSize, mySplitterLength, myVerHandleDelta, Style_Model.NoRole, Style_PrefDlg.PaletteEditor.setAuto(), Style_PrefDlg.PaletteEditor.setColor(), QtxFontEdit.setCurrentFont(), Style_Model.SliderRadius, Style_Model.sliderSize(), Style_Model.splitHandleLength(), Vertical, Style_Model.widgetEffect(), Style_Model.widgetRounding(), and Style_Model.WindowText.
| void Style_PrefDlg::toModel | ( | Style_Model * | model | ) | const [private] |
| model | style model |
References Style_Model.AutoRaiseEffect, Style_Model.Button, Style_Model.ButtonRadius, Style_PrefDlg.PaletteEditor.color(), QtxFontEdit.currentFont(), Style_Model.EditRadius, Style_Model.FrameRadius, Style_Model.HighlightEffect, Horizontal, Style_PrefDlg.PaletteEditor.isAuto(), Style_Model.LastColor, myAntiAliasing, myButtonRound, myEditRound, myEffectAutoRaise, myEffectHighlight, myFontEdit, myFrameRound, myHorHandleDelta, myLinesCombo, myLinesTransparency, myPaletteEditor, mySliderRound, mySliderSize, mySplitterLength, myVerHandleDelta, Style_Model.NoEffect, Style_Model.NoRole, Style_Model.setAntialiasing(), Style_Model.setApplicationFont(), Style_Model.setAutoPalette(), Style_Model.setColor(), Style_Model.setHandleDelta(), Style_Model.setLinesTransparency(), Style_Model.setLinesType(), Style_Model.setSliderSize(), Style_Model.setSplitHandleLength(), Style_Model.setWidgetEffect(), Style_Model.setWidgetRounding(), Style_Model.SliderRadius, Vertical, and Style_Model.WindowText.
| QString Style_PrefDlg::findUniqueName | ( | const QString & | name, |
| QListWidgetItem * | item = 0, |
||
| bool | addSuffix = false |
||
| ) | [private] |
| name | theme name template |
| item | if not 0, used to be ignored when browsing through items list |
| addSuffix | if true, the integrer suffix is always added to the theme name (otherwise suffix is added only if item name is not unique) |
References myStylesList.
| void Style_PrefDlg.styleChanged | ( | ) | [signal] |
| void Style_PrefDlg::onApply | ( | ) | [private, slot] |
| void Style_PrefDlg::onHelp | ( | ) | [private, slot] |
| void Style_PrefDlg::onStyleChanged | ( | ) | [private, slot] |
References Current, Default, fromModel(), Style_Model.fromResources(), Global, Style_Salome.model(), myStylesList, NameRole, onLinesType(), resourceMgr(), TypeRole, and User.
| void Style_PrefDlg::onLinesType | ( | ) | [private, slot] |
References myLinesCombo, myLinesTransparency, Style_Model.NoLines, and styleChanged().
| void Style_PrefDlg::onChanged | ( | ) | [private, slot] |
References Current, findUniqueName(), fromModel(), Style_Salome.model(), myStylesList, NameRole, QtxResourceMgr.remove(), resourceMgr(), Style_Model.save(), toModel(), TypeRole, and User.
| void Style_PrefDlg::onItemChanged | ( | QListWidgetItem * | item | ) | [private, slot] |
References findUniqueName(), myStylesList, and onChanged().
| void Style_PrefDlg::onEffectChanged | ( | QAbstractButton * | rb | ) | [private, slot] |
References myCurrentEffect, and styleChanged().
| void QtxDialog::setDialogFlags | ( | const int | f | ) | [inherited] |
| f | dialog box flags (QtxDialog.DialogFlags) |
References QtxDialog.myDialogFlags.
| void QtxDialog::clearDialogFlags | ( | const int | f | ) | [inherited] |
| f | dialog box flags (QtxDialog.DialogFlags) |
References QtxDialog.myDialogFlags.
| bool QtxDialog::testDialogFlags | ( | const int | f | ) | const [inherited] |
true if specified dialog box falgs are set References QtxDialog.myDialogFlags.
| void QtxDialog::setButtonFlags | ( | const int | f | ) | [inherited] |
| f | ORed buttons flags (Qtx.ButtonFlags) |
References QtxDialog.myButtonFlags, and QtxDialog.update().
| void QtxDialog::clearButtonFlags | ( | const int | f | ) | [inherited] |
| f | ORed buttons flags (Qtx.ButtonFlags) |
References QtxDialog.myButtonFlags, and QtxDialog.update().
| bool QtxDialog::testButtonFlags | ( | const int | f | ) | const [inherited] |
true if specified control buttons are used in the dialog box References QtxDialog.myButtonFlags.
| int QtxDialog::buttonPosition | ( | const int | id | ) | const [inherited] |
| id | control button ID (QtxDialog.ButtonFlags) |
References QtxDialog.myPosition.
| int QtxDialog::buttonPosition | ( | QAbstractButton * | b | ) | const [protected, inherited] |
| b | button |
References QtxDialog.buttonId(), and QtxDialog.buttonPosition().
| void QtxDialog::setButtonPosition | ( | const int | pos, |
| const int | id = -1 |
||
| ) | [inherited] |
| id | control button(s) ID (QtxDialog.ButtonFlags) |
| pos | button(s) position (QtxDialog.ButtonPosition) |
References QtxDialog.button(), QtxDialog.buttons(), QtxDialog.myArea, and QtxDialog.myPosition.
| void QtxDialog::setPlacePosition | ( | const int | pos, |
| const int | area | ||
| ) | [inherited] |
| pos | button(s) position (QtxDialog.ButtonPosition) |
| area | buttons area (QtxDialog.ButtonArea) |
References QtxDialog.Area.contains(), QtxDialog.Area.layoutButtons(), QtxDialog.myArea, QtxDialog.myButton, and QtxDialog.myPosition.
| int QtxDialog::placePolicy | ( | const int | area | ) | const [inherited] |
| area | buttons area (QtxDialog.ButtonArea) |
References QtxDialog.myArea.
| void QtxDialog::setPlacePolicy | ( | const int | policy, |
| const int | area | ||
| ) | [inherited] |
| policy | buttons layouting policy (QtxDialog.PlacePolicy) |
| area | buttons area (QtxDialog.ButtonArea) |
References QtxDialog.myArea.
| void QtxDialog::setButtonPlace | ( | const int | area, |
| const int | id | ||
| ) | [inherited] |
| area | buttons area (QtxDialog.ButtonArea) |
| id | control button(s) ID (QtxDialog.ButtonFlags) |
References QtxDialog.buttons(), QtxDialog.Area.insertButton(), QtxDialog.myArea, and QtxDialog.Area.removeButton().
| QString QtxDialog::buttonText | ( | const int | id | ) | [inherited] |
| id | control button ID (QtxDialog.ButtonFlags) |
References QtxDialog.button().
| void QtxDialog::setButtonText | ( | const int | id, |
| const QString & | text | ||
| ) | [inherited] |
| id | control button ID (QtxDialog.ButtonFlags) |
| text | button's text |
References QtxDialog.adjustButtons(), and QtxDialog.button().
| void QtxDialog::setButtonFocus | ( | const int | id | ) | [inherited] |
| id | control button ID (QtxDialog.ButtonFlags) |
References QtxDialog.button().
| bool QtxDialog::hasButtonFocus | ( | const int | id | ) | const [inherited] |
| id | control button ID (QtxDialog.ButtonFlags) |
true if specified button has keyboard focus References QtxDialog.button().
| bool QtxDialog::isButtonEnabled | ( | const int | id | ) | const [inherited] |
| id | control button(s) ID (QtxDialog.ButtonFlags) |
true if all specified buttons are enabled. References QtxDialog.buttons().
| void QtxDialog::setButtonEnabled | ( | const bool | on, |
| const int | id | ||
| ) | [inherited] |
| on | enable button(s) flag |
| id | control button(s) ID (QtxDialog.ButtonFlags) |
References QtxDialog.buttons().
| bool QtxDialog::isBorderEnabled | ( | const int | area | ) | const [inherited] |
| area | buttons area (QtxDialog.ButtonArea) |
true if border is enabled for specified button area. References QtxDialog.myArea.
| void QtxDialog::setBorderEnabled | ( | const bool | on, |
| const int | area | ||
| ) | [inherited] |
Border is a line which separate main frame and control buttons.
| area | buttons area (QtxDialog.ButtonArea) |
| on | enable border flag |
References QtxDialog.isBorderEnabled(), and QtxDialog.myArea.
| void QtxDialog::removeButton | ( | const int | id | ) | [inherited] |
If id is -1, all user buttons are removed.
| id | user button ID |
References QtxDialog.myArea, QtxDialog.myButton, QtxDialog.myPosition, and QtxDialog.update().
| int QtxDialog::insertButton | ( | const QString & | text, |
| const int | area = BottomArea |
||
| ) | [inherited] |
The button is inserted to the specified dialog box area. if the button is added successfully, the unique identificator of the added button is returned, otherwise -1 is returned.
| text | text of the added button |
| area | buttons area (QtxDialog.ButtonArea) |
References QtxDialog.createButton(), QtxDialog.Area.insertButton(), QtxDialog.Left, QtxDialog.myArea, QtxDialog.myButton, QtxDialog.myPosition, QtxDialog.onButton(), QtxDialog.onDestroyed(), and QtxDialog.update().
| QIntList QtxDialog::userButtonIds | ( | ) | const [inherited] |
References QtxDialog.myButton.
| QAbstractButton * QtxDialog::userButton | ( | const int | id | ) | const [inherited] |
| id | user button ID |
References QtxDialog.myButton.
| uint QtxDialog::setAlignment | ( | uint | align | ) | [inherited] |
Use the function before the the dialog is first time shown. If dialog flag AlignOnce is set then alignment is performed only once, otherwise the dialog is aligned each time when it is shown. Dialog box is aligned relatively to its parent. By default, dialog box is aligned to the center of the parent widget (usually desktop or another dialog box).
| align | alignment flag(s) (Qtx.AlignmentFlags) |
References QtxDialog.myAlignment.
| void QtxDialog::setUnits | ( | QLabel * | aLabel, |
| const QString & | aUnits | ||
| ) | [static, inherited] |
In the dialog box label the measure units are closed in braces. If measure units do not exist they will be added.
For example:
// create label "Radius" QLabel* aLabel = new QLabel( "Radius", mainFrame() ); // set measure units to "mm" setUnits( aLabel, "mm" ) // => aLabel contains 'Radius (mm)' // set measure units to "cm" setUnits( aLabel, "cm" ) // => aLabel contains 'Radius (cm)' // create label "Radius" with initially not set measure units QLabel* aLabel = new QLabel( "Radius ():", mainFrame() ); // set measure units to "mm" setUnits( aLabel, "mm" ) // => aLabel contains 'Radius (mm):' // set measure units to "cm" setUnits( aLabel, "cm" ) // => aLabel contains 'Radius (cm):'
| aLabel | label widget |
| aUnits | measure units |
| void QtxDialog::dlgButton | ( | int | id | ) | [signal, inherited] |
| id | user button identificator |
| void QtxDialog::dlgParamChanged | ( | ) | [signal, inherited] |
| void QtxDialog::dlgHelp | ( | ) | [signal, inherited] |
| void QtxDialog::dlgApply | ( | ) | [signal, inherited] |
| void QtxDialog::dlgOk | ( | ) | [signal, inherited] |
| void QtxDialog::dlgNo | ( | ) | [signal, inherited] |
| void QtxDialog::dlgYes | ( | ) | [signal, inherited] |
| void QtxDialog::dlgClose | ( | ) | [signal, inherited] |
| void QtxDialog::dlgCancel | ( | ) | [signal, inherited] |
| void QtxDialog::update | ( | ) | [slot, inherited] |
References QtxDialog.adjustButtons(), QtxDialog.myArea, QtxDialog.myButton, and QtxDialog.testButtonFlags().
| void QtxDialog::setVisible | ( | bool | on | ) | [virtual, slot, inherited] |
Re-implemented from Qt.
| on | show/hide flag |
Reimplemented in LightApp_PreferencesDlg, and QtxPathDialog.
References QtxDialog.myInited, QtxDialog.SetFocus, and QtxDialog.testDialogFlags().
| void QtxDialog::reject | ( | ) | [protected, virtual, slot, inherited] |
This method is used when any reject button is pressed (usually "Close", "Cancel", "No", etc).
If dialog flag QtxDialog.Reject is set, this function invokes rejectData() method, which should in this case return true to allow further processing.
If rejectData() returns false, this function just returns.
If rejectData() returns true, the Rejected result is set and signal according to the pressed control button is emitted. Then the default implementation of reject() method is called (which hides the dialog box and, depending on the dialog box flags, can close and destroy it).
Reimplemented in LightApp_PreferencesDlg.
References QtxDialog.button(), QtxDialog.Cancel, QtxDialog.Close, QtxDialog.emitSignal(), QtxDialog.mySender, QtxDialog.No, QtxDialog.Reject, QtxDialog.rejectData(), QtxDialog.testButtonFlags(), and QtxDialog.testDialogFlags().
| QFrame * QtxDialog::mainFrame | ( | ) | const [protected, inherited] |
Main frame is an internal widget which should contains all elements of dialog box except control buttons.
References QtxDialog.myMainFrame.
| bool QtxDialog::acceptData | ( | ) | const [protected, virtual, inherited] |
This method can be re-implemented in the successor class if it requires to check user input consistency. Default implementation returns true.
This method is called if dialog flag QtxDialog.Accept is set. If this method returns true, then dialog will be accepted and closed.
true if user input is valid Reimplemented in QtxPathDialog.
| bool QtxDialog::rejectData | ( | ) | const [protected, virtual, inherited] |
This method can be re-implemented in the successor class if it requires to check possibility to cancel dialog box safely. Default implementation returns true.
This method is called if dialog flag QtxDialog.Reject is set. If this method returns true, then dialog will be rejected and closed.
true if dialog box can be cancelled | QAbstractButton * QtxDialog::createButton | ( | QWidget * | parent | ) | [protected, virtual, inherited] |
This method is invoked from method insertButton().
| parent | parent widget |
| QAbstractButton * QtxDialog::button | ( | const int | f | ) | const [protected, inherited] |
| f | control button ID (QtxDialog.ButtonFlags) |
References QtxDialog.myButton.
| QtxDialog::ButtonMap QtxDialog::buttons | ( | const int | f = All | ) | const [protected, inherited] |
| f | control button(s) ID(s) (QtxDialog.ButtonFlags) |
References QtxDialog.myButton.
| int QtxDialog::buttonId | ( | const QAbstractButton * | b | ) | const [protected, inherited] |
| void QtxDialog::showEvent | ( | QShowEvent * | e | ) | [protected, virtual, inherited] |
Re-implemented from Qt.
| e | show event |
References QtxDialog.AlignOnce, Qtx.alignWidget(), QtxDialog.myAlignment, QtxDialog.myInited, and QtxDialog.testDialogFlags().
| void QtxDialog::hideEvent | ( | QHideEvent * | e | ) | [protected, virtual, inherited] |
Re-implemented from Qt.
| e | hide event |
| void QtxDialog::closeEvent | ( | QCloseEvent * | ) | [protected, virtual, inherited] |
| void QtxDialog::childEvent | ( | QChildEvent * | e | ) | [protected, virtual, inherited] |
Style_ResourceMgr* Style_PrefDlg.myResMgr [private] |
QCheckBox* Style_PrefDlg.myStyleCheck [private] |
QListWidget* Style_PrefDlg.myStylesList [private] |
QTabWidget* Style_PrefDlg.myStylesTab [private] |
PaletteEditor* Style_PrefDlg.myPaletteEditor [private] |
QtxFontEdit* Style_PrefDlg.myFontEdit [private] |
QComboBox* Style_PrefDlg.myLinesCombo [private] |
QSlider* Style_PrefDlg.myLinesTransparency [private] |
QtxDoubleSpinBox* Style_PrefDlg.myEditRound [private] |
QtxDoubleSpinBox* Style_PrefDlg.myButtonRound [private] |
QtxDoubleSpinBox* Style_PrefDlg.myFrameRound [private] |
QtxDoubleSpinBox* Style_PrefDlg.mySliderRound [private] |
QCheckBox* Style_PrefDlg.myAntiAliasing [private] |
QSpinBox* Style_PrefDlg.myHorHandleDelta [private] |
QSpinBox* Style_PrefDlg.myVerHandleDelta [private] |
QSpinBox* Style_PrefDlg.mySplitterLength [private] |
QSpinBox* Style_PrefDlg.mySliderSize [private] |
QRadioButton* Style_PrefDlg.myEffectNone [private] |
QRadioButton* Style_PrefDlg.myEffectHighlight [private] |
QRadioButton* Style_PrefDlg.myEffectAutoRaise [private] |
QRadioButton* Style_PrefDlg.myCurrentEffect [private] |