Version: 8.3.0
SMESHGUI_MeshOrderDlg.cxx File Reference
#include "SMESHGUI_MeshOrderDlg.h"
#include <Qt>
#include <QFrame>
#include <QLabel>
#include <QBoxLayout>
#include <QSpacerItem>
#include <QToolButton>
#include <QListWidget>
#include <QListWidgetItem>
Include dependency graph for SMESHGUI_MeshOrderDlg.cxx:

Macros

#define SPACING   6
 
#define MARGIN   11
 

Enumerations

enum  MeshOrderItemType { MeshItem = QListWidgetItem::UserType, SeparatorItem }
 Enumeartion of list widget item types (mesh name or separator) More...
 

Functions

static void addSeparator (QListWidget *theList)
 add separator item More...
 
static void addMeshItem (QListWidget *theList, const QString &theName, const int theId)
 add sub-mesh item More...
 
static bool checkItem (QListWidgetItem *theItem)
 cehck that item exists and not a separator More...
 

Macro Definition Documentation

#define MARGIN   11
#define SPACING   6

Enumeration Type Documentation

Enumeartion of list widget item types (mesh name or separator)

Enumerator
MeshItem 
SeparatorItem 

Function Documentation

static void addMeshItem ( QListWidget *  theList,
const QString &  theName,
const int  theId 
)
static

add sub-mesh item

References MeshItem.

Referenced by SMESHGUI_MeshOrderBox::SetMeshes().

static void addSeparator ( QListWidget *  theList)
static

add separator item

References SeparatorItem.

Referenced by SMESHGUI_MeshOrderBox::SetMeshes().

static bool checkItem ( QListWidgetItem *  theItem)
static