LibrePCB Developers Documentation
EditorCommandCategory Class Referencefinal

Category for librepcb::editor::EditorCommand. More...

#include <editorcommandcategory.h>

Inherits QObject.

+ Collaboration diagram for EditorCommandCategory:

Public Member Functions

 EditorCommandCategory ()=delete
 
 EditorCommandCategory (const EditorCommandCategory &other)=delete
 
 EditorCommandCategory (const QString &objectName, const char *text, bool configurable, QObject *parent=nullptr) noexcept
 
 ~EditorCommandCategory () noexcept
 
const char * getTextNoTr () const noexcept
 
const QString & getText () const noexcept
 
bool isConfigurable () const noexcept
 
void updateTranslations () noexcept
 
EditorCommandCategoryoperator= (const EditorCommandCategory &rhs)=delete
 

Private Attributes

const char * mTextNoTr
 
QString mText
 
bool mConfigurable
 

Detailed Description

Constructor & Destructor Documentation

◆ EditorCommandCategory() [1/3]

◆ EditorCommandCategory() [2/3]

EditorCommandCategory ( const EditorCommandCategory other)
delete

◆ EditorCommandCategory() [3/3]

EditorCommandCategory ( const QString &  objectName,
const char *  text,
bool  configurable,
QObject *  parent = nullptr 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ ~EditorCommandCategory()

~EditorCommandCategory ( )
inlinenoexcept

Member Function Documentation

◆ getTextNoTr()

const char * getTextNoTr ( ) const
inlinenoexcept

◆ getText()

const QString & getText ( ) const
inlinenoexcept

◆ isConfigurable()

bool isConfigurable ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ updateTranslations()

void updateTranslations ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator=()

EditorCommandCategory & operator= ( const EditorCommandCategory rhs)
delete

Member Data Documentation

◆ mTextNoTr

const char* mTextNoTr
private

◆ mText

QString mText
private

◆ mConfigurable

bool mConfigurable
private

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