Krita Source Code Documentation
Loading...
Searching...
No Matches
AssistantEditorData Struct Reference

#include <kis_painting_assistants_decoration.h>

Public Attributes

QSize boundingSize = QSize(0, 0)
 
unsigned int buttoncount = 6
 
const int buttonPadding = 7
 
const int buttonSize = 24
 
bool deleteButtonActivated = true
 
QPointF deleteIconPosition = QPointF(0, 0)
 
const int dragDecorationWidth = 15
 
bool duplicateButtonActivated = true
 
QPointF duplicateIconPosition = QPointF(0, 0)
 
const int horizontalButtonLimit = 3
 
bool lockButtonActivated = true
 
QPointF lockedIconPosition = QPointF(0, 0)
 
const QPixmap m_iconDelete = KisIconUtils::loadIcon("deletelayer").pixmap(buttonSize, buttonSize)
 
const QPixmap m_iconDuplicate = KisIconUtils::loadIcon("duplicateitem").pixmap(buttonSize, buttonSize)
 
const QPixmap m_iconLockOff = KisIconUtils::loadIcon("layer-unlocked").pixmap(buttonSize, buttonSize)
 
const QPixmap m_iconLockOn = KisIconUtils::loadIcon("layer-locked").pixmap(buttonSize, buttonSize)
 
const QPixmap m_iconMove = KisIconUtils::loadIcon("transform-move").pixmap(buttonSize+10, buttonSize+10)
 
const QPixmap m_iconSnapOff = KisIconUtils::loadIcon("novisible").pixmap(buttonSize, buttonSize)
 
const QPixmap m_iconSnapOn = KisIconUtils::loadIcon("visible").pixmap(buttonSize, buttonSize)
 
bool moveButtonActivated = true
 
QPointF moveIconPosition = QPointF(0, 0)
 
bool snapButtonActivated = true
 
QPointF snapIconPosition = QPointF(0, 0)
 
bool widgetActivated = true
 
const int widgetOffset = 10
 

Detailed Description

Definition at line 27 of file kis_painting_assistants_decoration.h.

Member Data Documentation

◆ boundingSize

QSize AssistantEditorData::boundingSize = QSize(0, 0)

Definition at line 48 of file kis_painting_assistants_decoration.h.

◆ buttoncount

unsigned int AssistantEditorData::buttoncount = 6

Definition at line 29 of file kis_painting_assistants_decoration.h.

◆ buttonPadding

const int AssistantEditorData::buttonPadding = 7

Definition at line 41 of file kis_painting_assistants_decoration.h.

◆ buttonSize

const int AssistantEditorData::buttonSize = 24

Definition at line 31 of file kis_painting_assistants_decoration.h.

◆ deleteButtonActivated

bool AssistantEditorData::deleteButtonActivated = true

Definition at line 37 of file kis_painting_assistants_decoration.h.

◆ deleteIconPosition

QPointF AssistantEditorData::deleteIconPosition = QPointF(0, 0)

Definition at line 47 of file kis_painting_assistants_decoration.h.

◆ dragDecorationWidth

const int AssistantEditorData::dragDecorationWidth = 15

Definition at line 50 of file kis_painting_assistants_decoration.h.

◆ duplicateButtonActivated

bool AssistantEditorData::duplicateButtonActivated = true

Definition at line 36 of file kis_painting_assistants_decoration.h.

◆ duplicateIconPosition

QPointF AssistantEditorData::duplicateIconPosition = QPointF(0, 0)

Definition at line 46 of file kis_painting_assistants_decoration.h.

◆ horizontalButtonLimit

const int AssistantEditorData::horizontalButtonLimit = 3

Definition at line 60 of file kis_painting_assistants_decoration.h.

◆ lockButtonActivated

bool AssistantEditorData::lockButtonActivated = true

Definition at line 35 of file kis_painting_assistants_decoration.h.

◆ lockedIconPosition

QPointF AssistantEditorData::lockedIconPosition = QPointF(0, 0)

Definition at line 45 of file kis_painting_assistants_decoration.h.

◆ m_iconDelete

const QPixmap AssistantEditorData::m_iconDelete = KisIconUtils::loadIcon("deletelayer").pixmap(buttonSize, buttonSize)

Definition at line 58 of file kis_painting_assistants_decoration.h.

◆ m_iconDuplicate

const QPixmap AssistantEditorData::m_iconDuplicate = KisIconUtils::loadIcon("duplicateitem").pixmap(buttonSize, buttonSize)

Definition at line 57 of file kis_painting_assistants_decoration.h.

◆ m_iconLockOff

const QPixmap AssistantEditorData::m_iconLockOff = KisIconUtils::loadIcon("layer-unlocked").pixmap(buttonSize, buttonSize)

Definition at line 56 of file kis_painting_assistants_decoration.h.

◆ m_iconLockOn

const QPixmap AssistantEditorData::m_iconLockOn = KisIconUtils::loadIcon("layer-locked").pixmap(buttonSize, buttonSize)

Definition at line 55 of file kis_painting_assistants_decoration.h.

◆ m_iconMove

const QPixmap AssistantEditorData::m_iconMove = KisIconUtils::loadIcon("transform-move").pixmap(buttonSize+10, buttonSize+10)

Definition at line 52 of file kis_painting_assistants_decoration.h.

◆ m_iconSnapOff

const QPixmap AssistantEditorData::m_iconSnapOff = KisIconUtils::loadIcon("novisible").pixmap(buttonSize, buttonSize)

Definition at line 54 of file kis_painting_assistants_decoration.h.

◆ m_iconSnapOn

const QPixmap AssistantEditorData::m_iconSnapOn = KisIconUtils::loadIcon("visible").pixmap(buttonSize, buttonSize)

Definition at line 53 of file kis_painting_assistants_decoration.h.

◆ moveButtonActivated

bool AssistantEditorData::moveButtonActivated = true

Definition at line 33 of file kis_painting_assistants_decoration.h.

◆ moveIconPosition

QPointF AssistantEditorData::moveIconPosition = QPointF(0, 0)

Definition at line 43 of file kis_painting_assistants_decoration.h.

◆ snapButtonActivated

bool AssistantEditorData::snapButtonActivated = true

Definition at line 34 of file kis_painting_assistants_decoration.h.

◆ snapIconPosition

QPointF AssistantEditorData::snapIconPosition = QPointF(0, 0)

Definition at line 44 of file kis_painting_assistants_decoration.h.

◆ widgetActivated

bool AssistantEditorData::widgetActivated = true

Definition at line 38 of file kis_painting_assistants_decoration.h.

◆ widgetOffset

const int AssistantEditorData::widgetOffset = 10

Definition at line 39 of file kis_painting_assistants_decoration.h.


The documentation for this struct was generated from the following file: