Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  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_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
}
 
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
Enumerator
WT_ObjectBrowser 
WT_PyConsole 
WT_LogWindow 
WT_NoteBook 
WT_User 
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 
enum Action
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

enum Axis
Enumerator
yLeft 
yRight 
xBottom 
xTop 
enum MenuName
Enumerator
File 
View 
Edit 
Preferences 
Tools 
Window 
Help 
enum ObjectType
Enumerator
MainTitle 
XTitle 
YTitle 
Y2Title 
XAxis 
YAxis 
Y2Axis 
Enumerator
Horizontal 

Horizontal orientation.

Vertical 

Vertical orientation.

Enumerator
ShownState 

Object is shown in viewer.

HiddenState 

Object is hidden in viewer.

UnpresentableState 

Unpresentable object.