Back to index

salome-gui  6.5.0
Classes | Enumerations
SalomePyQt.h File Reference
#include <Python.h>
#include <QObject>
#include <QString>
#include <QColor>
#include <LightApp_Application.h>
#include <LightApp_Preferences.h>
This graph shows which files directly or indirectly include this file:

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_User = LightApp_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...

Enumeration Type Documentation

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 

Definition at line 87 of file SalomePyQt.h.

     { 
  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 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

Definition at line 113 of file SalomePyQt.h.

            {
  MoveWidget   = 0, 
  LeaveWidget  = 1, 
  SplitAt      = 2  
};
enum MenuName
Enumerator:
File 
View 
Edit 
Preferences 
Tools 
Window 
Help 

Definition at line 70 of file SalomePyQt.h.

              {
  File        = 1,
  View        = 2,
  Edit        = 3,
  Preferences = 4,
  Tools       = 5,
  Window      = 6,
  Help        = 7  
};

Orientation.

Enumerator:
Horizontal 

Horizontal orientation.

Vertical 

Vertical orientation.

Definition at line 107 of file SalomePyQt.h.

                 {
  Horizontal = 0, 
  Vertical   = 1  
};