Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdesigner_internal::QDesignerResourceBuilder Class Reference
+ Inheritance diagram for qdesigner_internal::QDesignerResourceBuilder:
+ Collaboration diagram for qdesigner_internal::QDesignerResourceBuilder:

Public Member Functions

 QDesignerResourceBuilder (QDesignerFormEditorInterface *core, DesignerPixmapCache *pixmapCache, DesignerIconCache *iconCache)
 
void setPixmapCache (DesignerPixmapCache *pixmapCache)
 
void setIconCache (DesignerIconCache *iconCache)
 
bool isSaveRelative () const
 
void setSaveRelative (bool relative)
 
QStringList usedQrcFiles () const
 
QStringList loadedQrcFiles () const
 
QVariant loadResource (const QDir &workingDirectory, const DomProperty *icon) const override
 
QVariant toNativeValue (const QVariant &value) const override
 
DomPropertysaveResource (const QDir &workingDirectory, const QVariant &value) const override
 
bool isResourceType (const QVariant &value) const override
 
 QDesignerResourceBuilder (QDesignerFormEditorInterface *core, DesignerPixmapCache *pixmapCache, DesignerIconCache *iconCache)
 
void setPixmapCache (DesignerPixmapCache *pixmapCache)
 
void setIconCache (DesignerIconCache *iconCache)
 
bool isSaveRelative () const
 
void setSaveRelative (bool relative)
 
QStringList usedQrcFiles () const
 
QStringList loadedQrcFiles () const
 
QVariant loadResource (const QDir &workingDirectory, const DomProperty *icon) const override
 
QVariant toNativeValue (const QVariant &value) const override
 
DomPropertysaveResource (const QDir &workingDirectory, const QVariant &value) const override
 
bool isResourceType (const QVariant &value) const override
 
- Public Member Functions inherited from QResourceBuilder
 QResourceBuilder ()
 
virtual ~QResourceBuilder ()
 
virtual bool isResourceProperty (const DomProperty *p) const
 

Additional Inherited Members

- Public Types inherited from QResourceBuilder
enum  IconStateFlags {
  NormalOff = 0x1 , NormalOn = 0x2 , DisabledOff = 0x4 , DisabledOn = 0x8 ,
  ActiveOff = 0x10 , ActiveOn = 0x20 , SelectedOff = 0x40 , SelectedOn = 0x80
}
 
- Static Public Member Functions inherited from QResourceBuilder
static const QStringListthemeIconNames ()
 
static int themeIconIndex (QStringView name)
 
static QString fullyQualifiedThemeIconName (int i)
 
static int iconStateFlags (const DomResourceIcon *resIcon)
 

Detailed Description

Definition at line 133 of file qdesigner_resource.cpp.

Constructor & Destructor Documentation

◆ QDesignerResourceBuilder() [1/2]

qdesigner_internal::QDesignerResourceBuilder::QDesignerResourceBuilder ( QDesignerFormEditorInterface * core,
DesignerPixmapCache * pixmapCache,
DesignerIconCache * iconCache )

Definition at line 165 of file qdesigner_resource.cpp.

◆ QDesignerResourceBuilder() [2/2]

qdesigner_internal::QDesignerResourceBuilder::QDesignerResourceBuilder ( QDesignerFormEditorInterface * core,
DesignerPixmapCache * pixmapCache,
DesignerIconCache * iconCache )

Member Function Documentation

◆ isResourceType() [1/2]

bool qdesigner_internal::QDesignerResourceBuilder::isResourceType ( const QVariant & value) const
overridevirtual

Reimplemented from QResourceBuilder.

Definition at line 347 of file qdesigner_resource.cpp.

◆ isResourceType() [2/2]

bool qdesigner_internal::QDesignerResourceBuilder::isResourceType ( const QVariant & value) const
overridevirtual

Reimplemented from QResourceBuilder.

◆ isSaveRelative() [1/2]

bool qdesigner_internal::QDesignerResourceBuilder::isSaveRelative ( ) const
inline

Definition at line 140 of file qdesigner_resource.cpp.

Referenced by qdesigner_internal::QDesignerResource::saveRelative().

+ Here is the caller graph for this function:

◆ isSaveRelative() [2/2]

bool qdesigner_internal::QDesignerResourceBuilder::isSaveRelative ( ) const
inline

Definition at line 140 of file qdesigner_resource.cpp.

◆ loadedQrcFiles() [1/2]

QStringList qdesigner_internal::QDesignerResourceBuilder::loadedQrcFiles ( ) const
inline

Definition at line 144 of file qdesigner_resource.cpp.

◆ loadedQrcFiles() [2/2]

QStringList qdesigner_internal::QDesignerResourceBuilder::loadedQrcFiles ( ) const
inline

Definition at line 144 of file qdesigner_resource.cpp.

◆ loadResource() [1/2]

QVariant qdesigner_internal::QDesignerResourceBuilder::loadResource ( const QDir & workingDirectory,
const DomProperty * icon ) const
overridevirtual

Reimplemented from QResourceBuilder.

Definition at line 183 of file qdesigner_resource.cpp.

References QDesignerLanguageExtension::isLanguageResource().

+ Here is the call graph for this function:

◆ loadResource() [2/2]

QVariant qdesigner_internal::QDesignerResourceBuilder::loadResource ( const QDir & workingDirectory,
const DomProperty * icon ) const
overridevirtual

Reimplemented from QResourceBuilder.

◆ saveResource() [1/2]

DomProperty * qdesigner_internal::QDesignerResourceBuilder::saveResource ( const QDir & workingDirectory,
const QVariant & value ) const
overridevirtual

Reimplemented from QResourceBuilder.

Definition at line 260 of file qdesigner_resource.cpp.

◆ saveResource() [2/2]

DomProperty * qdesigner_internal::QDesignerResourceBuilder::saveResource ( const QDir & workingDirectory,
const QVariant & value ) const
overridevirtual

Reimplemented from QResourceBuilder.

◆ setIconCache() [1/2]

void qdesigner_internal::QDesignerResourceBuilder::setIconCache ( DesignerIconCache * iconCache)
inline

Definition at line 139 of file qdesigner_resource.cpp.

◆ setIconCache() [2/2]

void qdesigner_internal::QDesignerResourceBuilder::setIconCache ( DesignerIconCache * iconCache)
inline

Definition at line 139 of file qdesigner_resource.cpp.

◆ setPixmapCache() [1/2]

void qdesigner_internal::QDesignerResourceBuilder::setPixmapCache ( DesignerPixmapCache * pixmapCache)
inline

Definition at line 138 of file qdesigner_resource.cpp.

◆ setPixmapCache() [2/2]

void qdesigner_internal::QDesignerResourceBuilder::setPixmapCache ( DesignerPixmapCache * pixmapCache)
inline

Definition at line 138 of file qdesigner_resource.cpp.

◆ setSaveRelative() [1/2]

void qdesigner_internal::QDesignerResourceBuilder::setSaveRelative ( bool relative)
inline

Definition at line 141 of file qdesigner_resource.cpp.

Referenced by qdesigner_internal::QDesignerResource::setSaveRelative().

+ Here is the caller graph for this function:

◆ setSaveRelative() [2/2]

void qdesigner_internal::QDesignerResourceBuilder::setSaveRelative ( bool relative)
inline

Definition at line 141 of file qdesigner_resource.cpp.

◆ toNativeValue() [1/2]

QVariant qdesigner_internal::QDesignerResourceBuilder::toNativeValue ( const QVariant & value) const
overridevirtual

Reimplemented from QResourceBuilder.

Definition at line 248 of file qdesigner_resource.cpp.

◆ toNativeValue() [2/2]

QVariant qdesigner_internal::QDesignerResourceBuilder::toNativeValue ( const QVariant & value) const
overridevirtual

Reimplemented from QResourceBuilder.

◆ usedQrcFiles() [1/2]

QStringList qdesigner_internal::QDesignerResourceBuilder::usedQrcFiles ( ) const
inline

Definition at line 142 of file qdesigner_resource.cpp.

◆ usedQrcFiles() [2/2]

QStringList qdesigner_internal::QDesignerResourceBuilder::usedQrcFiles ( ) const
inline

Definition at line 142 of file qdesigner_resource.cpp.


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