Version: 9.12.0
SalomePyQt.h File Reference
#include <Python.h>
#include <QObject>
#include <QString>
#include <QColor>
#include <LightApp_Application.h>
#include <SalomeApp_Application.h>
#include <LightApp_Preferences.h>
#include <Plot2d_ViewFrame.h>

Go to the source code of this file.

Classes

class  SALOME_Selection
 The class represents selection which can be used in Python. More...
 
class  UserDefinedContent
 The class represents base class for user defined widget that can be inserted to the Preferences dialog. More...
 
class  SalomePyQt
 The class provides utility functions which can be used in the Python to operate with the SALOME GUI. More...
 

Enumerations

enum  MenuName {
  File = 1 , View = 2 , Edit = 3 , Preferences = 4 ,
  Tools = 5 , Window = 6 , Help = 7
}
 
enum  {
  WT_ObjectBrowser = LightApp_Application::WT_ObjectBrowser , WT_PyConsole = LightApp_Application::WT_PyConsole , WT_LogWindow = LightApp_Application::WT_LogWindow , WT_InfoPanel = LightApp_Application::WT_InfoPanel ,
  WT_NoteBook = SalomeApp_Application::WT_NoteBook , WT_User = SalomeApp_Application::WT_User
}
 
enum  {
  PT_Auto = LightApp_Preferences::Auto , PT_Space = LightApp_Preferences::Space , PT_Bool = LightApp_Preferences::Bool , PT_Color = LightApp_Preferences::Color ,
  PT_String = LightApp_Preferences::String , PT_Selector = LightApp_Preferences::Selector , PT_DblSpin = LightApp_Preferences::DblSpin , PT_IntSpin = LightApp_Preferences::IntSpin ,
  PT_Double = LightApp_Preferences::Double , PT_Integer = LightApp_Preferences::Integer , PT_GroupBox = LightApp_Preferences::GroupBox , PT_Tab = LightApp_Preferences::Tab ,
  PT_Frame = LightApp_Preferences::Frame , PT_Font = LightApp_Preferences::Font , PT_DirList = LightApp_Preferences::DirList , PT_File = LightApp_Preferences::File ,
  PT_Slider = LightApp_Preferences::Slider , PT_Shortcut = LightApp_Preferences::Shortcut , PT_ShortcutTree = LightApp_Preferences::ShortcutTree , PT_BiColor = LightApp_Preferences::BiColor ,
  PT_Background = LightApp_Preferences::Background , PT_UserDefined = LightApp_Preferences::UserDefined
}
 
enum  Orientation { Horizontal = 0 , Vertical = 1 }
 Orientation. More...
 
enum  Action { MoveWidget = 0 , LeaveWidget = 1 , SplitAt = 2 }
 Action of splitting corresponding to QtxWorkstack::SplitType enumeration. More...
 
enum  ObjectType {
  MainTitle = Plot2d_ViewFrame::MainTitle , XTitle = Plot2d_ViewFrame::XTitle , YTitle = Plot2d_ViewFrame::YTitle , Y2Title = Plot2d_ViewFrame::Y2Title ,
  XAxis = Plot2d_ViewFrame::XAxis , YAxis = Plot2d_ViewFrame::YAxis , Y2Axis = Plot2d_ViewFrame::Y2Axis
}
 Type of titles in Plot3d View. More...
 
enum  VisibilityState { ShownState , HiddenState , UnpresentableState }
 
enum  Axis { yLeft = QwtPlot::yLeft , yRight = QwtPlot::yRight , xBottom = QwtPlot::xBottom , xTop = QwtPlot::xTop }
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
WT_ObjectBrowser 
WT_PyConsole 
WT_LogWindow 
WT_InfoPanel 
WT_NoteBook 
WT_User 

◆ anonymous enum

anonymous enum
Enumerator
PT_Auto 
PT_Space 
PT_Bool 
PT_Color 
PT_String 
PT_Selector 
PT_DblSpin 
PT_IntSpin 
PT_Double 
PT_Integer 
PT_GroupBox 
PT_Tab 
PT_Frame 
PT_Font 
PT_DirList 
PT_File 
PT_Slider 
PT_Shortcut 
PT_ShortcutTree 
PT_BiColor 
PT_Background 
PT_UserDefined 

◆ Action

enum Action

Action of splitting corresponding to QtxWorkstack::SplitType enumeration.

Enumerator
MoveWidget 

move specified widget to the new area, other views stay in the previous area

LeaveWidget 

specified widget stays in the old area, all other views are moved to the new area

SplitAt 

the view area is splitted in such a way, that specified view and all views which follow it, are moved to the new area

◆ Axis

enum Axis
Enumerator
yLeft 
yRight 
xBottom 
xTop 

◆ MenuName

enum MenuName
Enumerator
File 
View 
Edit 
Preferences 
Tools 
Window 
Help 

◆ ObjectType

enum ObjectType

Type of titles in Plot3d View.

Enumerator
MainTitle 
XTitle 
YTitle 
Y2Title 
XAxis 
YAxis 
Y2Axis 

◆ Orientation

Orientation.

Enumerator
Horizontal 

Horizontal orientation.

Vertical 

Vertical orientation.

◆ VisibilityState

Enumerator
ShownState 

Object is shown in viewer.

HiddenState 

Object is hidden in viewer.

UnpresentableState 

Unpresentable object