Back to index

salome-gui  6.5.0
Defines | Functions | Variables
Style_Salome.cxx File Reference
#include "Style_Salome.h"
#include "Style_Tools.h"
#include "Style_Model.h"
#include <QApplication>
#include <QPainter>
#include <QMap>
#include <QPainterPath>
#include <QWidget>
#include <QComboBox>
#include <QStyleOptionFrame>
#include <QStyleOptionComplex>
#include <QStyleOptionSpinBox>
#include <QStyleOptionButton>
#include <QStyleOptionTab>
#include <QStyleOptionToolButton>
#include <QStyleOptionFocusRect>
#include <QStyleOption>
#include <QSize>
#include <QToolBar>
#include <QMenuBar>
#include <QToolButton>
#include <QTabWidget>
#include <QTabBar>
#include <QToolTip>
#include <QDockWidget>
#include <QTextEdit>
#include <QTreeView>
#include <QListView>
#include <QHeaderView>
#include <QRadioButton>
#include <QCheckBox>
#include <QPushButton>
#include <QAbstractSpinBox>
#include <QLineEdit>
#include <QScrollBar>
#include <QSlider>
#include <QMainWindow>
#include <QPixmapCache>
#include <limits.h>

Go to the source code of this file.

Defines

#define SHADOW   1
#define LINE_GR_MARGIN   10
#define HIGH_WDG_MARGIN   10
#define BUT_PERCENT_COL   125
#define BUT_PERCENT_ON   115
#define DELTA_H_TAB   1
#define DELTA_SLIDER   3
#define PTSARRLEN(x)   sizeof(x)/(sizeof(QPoint))

Functions

static bool checkDebugLevel (int level)

Variables

static const char *const hole_xpm []
static const char *const cross_xpm []
static const char *const maximize_xpm []
static const char *const normal_xpm []
static const char *const minimize_xpm []
int DEBUG_LEVEL = 0

Define Documentation

#define BUT_PERCENT_COL   125

Definition at line 69 of file Style_Salome.cxx.

#define BUT_PERCENT_ON   115

Definition at line 70 of file Style_Salome.cxx.

#define DELTA_H_TAB   1

Definition at line 72 of file Style_Salome.cxx.

#define DELTA_SLIDER   3

Definition at line 73 of file Style_Salome.cxx.

#define HIGH_WDG_MARGIN   10

Definition at line 67 of file Style_Salome.cxx.

#define LINE_GR_MARGIN   10

Definition at line 66 of file Style_Salome.cxx.

#define PTSARRLEN (   x)    sizeof(x)/(sizeof(QPoint))
#define SHADOW   1

Definition at line 65 of file Style_Salome.cxx.


Function Documentation

static bool checkDebugLevel ( int  level) [static]

Definition at line 170 of file Style_Salome.cxx.

{
  return DEBUG_LEVEL == level || DEBUG_LEVEL == -1;
}

Variable Documentation

const char* const cross_xpm[] [static]
Initial value:
 {
"12 12 4 1",
". c None",
"a c #000000",
"b c #FFFFFF",
"c c #666666",
"............",
"............",
"............",
".aaaa..aaaa.",
"..abbaabba..",
"...abbbba...",
"....abba....",
"...abbbba...",
"..abbaabba..",
".aaaa..aaaa.",
"............",
"............"
}

Definition at line 85 of file Style_Salome.cxx.

int DEBUG_LEVEL = 0

Definition at line 168 of file Style_Salome.cxx.

const char* const hole_xpm[] [static]
Initial value:
 {
"3 3 3 1",
". c None",
"a c #999999",
"b c #FFFFFF",
"aa.",
"aab",
".bb"
}

Definition at line 75 of file Style_Salome.cxx.

const char* const maximize_xpm[] [static]
Initial value:
 {
"12 12 4 1",
". c None",
"a c #000000",
"b c #FFFFFF",
"c c #666666",
"............",
".aaaaaaaaaa.",
".acccccccca.",
".acccccccca.",
".abbbbbbbba.",
".abbbbbbbba.",
".abbbbbbbba.",
".abbbbbbbba.",
".abbbbbbbba.",
".abbbbbbbba.",
".aaaaaaaaaa.",
"............"
}

Definition at line 105 of file Style_Salome.cxx.

const char* const minimize_xpm[] [static]
Initial value:
 {
"12 12 4 1",
". c None",
"a c #000000",
"b c #FFFFFF",
"c c #666666",
"............",
"............",
"............",
"............",
"............",
"............",
"............",
"............",
"aaaaaaaaaaaa",
"abbbbbbbbbba",
"aaaaaaaaaaaa",
"............"
}

Definition at line 145 of file Style_Salome.cxx.

const char* const normal_xpm[] [static]
Initial value:
 {
"12 12 4 1",
". c None",
"a c #000000",
"b c #FFFFFF",
"c c #666666",
"............",
"...aaaaaaaa.",
"...acccccca.",
"...abbbbbba.",
"...aaaaaaba.",
".aaaaaaaaba.",
".accccccaba.",
".abbbbbbaaa.",
".abbbbbba...",
".abbbbbba...",
".aaaaaaaa...",
"............"
}

Definition at line 125 of file Style_Salome.cxx.