KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
KvsObject_layout.cpp File Reference
#include "kvi_debug.h"
#include "KviLocale.h"
#include "KvsObject_layout.h"
#include <QGridLayout>

Macros

#define _KVI_DEBUG_CHECK_RANGE_
 
#define align_num   (sizeof(align_tbl) / sizeof(align_tbl[0]))
 

Functions

 KVSO_CLASS_FUNCTION (layout, addWidget)
 
 KVSO_CLASS_FUNCTION (layout, addMultiCellWidget)
 
 KVSO_CLASS_FUNCTION (layout, setRowStretch)
 
 KVSO_CLASS_FUNCTION (layout, setColumnStretch)
 
 KVSO_CLASS_FUNCTION (layout, setMargin)
 
 KVSO_CLASS_FUNCTION (layout, setSpacing)
 
 KVSO_CLASS_FUNCTION (layout, addRowSpacing)
 
 KVSO_CLASS_FUNCTION (layout, addColSpacing)
 
 KVSO_CLASS_FUNCTION (layout, setResizeMode)
 
 KVSO_CLASS_FUNCTION (layout, setAlignment)
 

Variables

const int align_cod []
 
const char *const align_tbl []
 

Macro Definition Documentation

#define _KVI_DEBUG_CHECK_RANGE_
#define align_num   (sizeof(align_tbl) / sizeof(align_tbl[0]))

Referenced by KVSO_CLASS_FUNCTION().

Function Documentation

KVSO_CLASS_FUNCTION ( layout  ,
addWidget   
)
KVSO_CLASS_FUNCTION ( layout  ,
addMultiCellWidget   
)
KVSO_CLASS_FUNCTION ( layout  ,
setRowStretch   
)
KVSO_CLASS_FUNCTION ( layout  ,
setColumnStretch   
)
KVSO_CLASS_FUNCTION ( layout  ,
setMargin   
)
KVSO_CLASS_FUNCTION ( layout  ,
setSpacing   
)
KVSO_CLASS_FUNCTION ( layout  ,
addRowSpacing   
)
KVSO_CLASS_FUNCTION ( layout  ,
addColSpacing   
)
KVSO_CLASS_FUNCTION ( layout  ,
setResizeMode   
)
KVSO_CLASS_FUNCTION ( layout  ,
setAlignment   
)

Variable Documentation

const int align_cod[]
Initial value:
= {
Qt::AlignLeft,
Qt::AlignRight,
Qt::AlignHCenter,
Qt::AlignVCenter,
Qt::AlignCenter,
Qt::AlignTop,
Qt::AlignBottom,
}

Referenced by KVSO_CLASS_FUNCTION().

const char* const align_tbl[]
Initial value:
= {
"Left",
"Right",
"HCenter",
"VCenter",
"Center",
"Top",
"Bottom",
}

Referenced by KVSO_CLASS_FUNCTION().