Krita Source Code Documentation
Loading...
Searching...
No Matches
TabSizeModel Class Reference

#include <TabSizeModel.h>

+ Inheritance diagram for TabSizeModel:

Public Types

enum  TabSizeType {
  Absolute , Em , Ex , Cap ,
  Ch , Ic , Lh , Spaces
}
 

Public Member Functions

 LAGER_QT_CURSOR (qreal, value)
 
 LAGER_QT_CURSOR (TabSizeType, unit)
 
 TabSizeModel (lager::cursor< KoSvgText::TabSizeInfo > _data=lager::make_state(KoSvgText::TabSizeInfo(), lager::automatic_tag{}))
 

Public Attributes

lager::cursor< KoSvgText::TabSizeInfodata
 

Detailed Description

Definition at line 17 of file TabSizeModel.h.

Member Enumeration Documentation

◆ TabSizeType

Enumerator
Absolute 
Em 
Ex 
Cap 
Ch 
Ic 
Lh 
Spaces 

Definition at line 23 of file TabSizeModel.h.

Constructor & Destructor Documentation

◆ TabSizeModel()

TabSizeModel::TabSizeModel ( lager::cursor< KoSvgText::TabSizeInfo > _data = lager::make_state(KoSvgText::TabSizeInfo(), lager::automatic_tag{}))
explicit

Definition at line 87 of file TabSizeModel.cpp.

88 : data(_data)
89 , LAGER_QT(value) {data.zoom(getValue)}
LAGER_QT(value)
float value(const T *src, size_t ch)
lager::cursor< KoSvgText::TabSizeInfo > data

References data, and getValue.

Member Function Documentation

◆ LAGER_QT_CURSOR() [1/2]

TabSizeModel::LAGER_QT_CURSOR ( qreal ,
value  )

◆ LAGER_QT_CURSOR() [2/2]

TabSizeModel::LAGER_QT_CURSOR ( TabSizeType ,
unit  )

Member Data Documentation

◆ data

lager::cursor<KoSvgText::TabSizeInfo> TabSizeModel::data

Definition at line 35 of file TabSizeModel.h.


The documentation for this class was generated from the following files: