BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
qdesigner_internal::PropertySheetPixmapValue Class Reference

Public Types

enum  PixmapSource { LanguageResourcePixmap , ResourcePixmap , FilePixmap }
 

Public Member Functions

 PropertySheetPixmapValue ()
 
 PropertySheetPixmapValue (const QString &path)
 
int compare (const PropertySheetPixmapValue &other) const
 
bool operator!= (const PropertySheetPixmapValue &other) const
 
bool operator< (const PropertySheetPixmapValue &other) const
 
bool operator== (const PropertySheetPixmapValue &other) const
 
QString path () const
 
PixmapSource pixmapSource (QDesignerFormEditorInterface *core) const
 
void setPath (const QString &path)
 

Static Public Member Functions

static PixmapSource getPixmapSource (QDesignerFormEditorInterface *core, const QString &path)
 

Private Attributes

QString m_path
 

Detailed Description

Definition at line 218 of file qdesigner_utils_p.h.

Member Enumeration Documentation

◆ PixmapSource

Constructor & Destructor Documentation

◆ PropertySheetPixmapValue() [1/2]

qdesigner_internal::PropertySheetPixmapValue::PropertySheetPixmapValue ( const QString &  path)

◆ PropertySheetPixmapValue() [2/2]

qdesigner_internal::PropertySheetPixmapValue::PropertySheetPixmapValue ( )

Member Function Documentation

◆ compare()

int qdesigner_internal::PropertySheetPixmapValue::compare ( const PropertySheetPixmapValue other) const

◆ getPixmapSource()

static PixmapSource qdesigner_internal::PropertySheetPixmapValue::getPixmapSource ( QDesignerFormEditorInterface *  core,
const QString &  path 
)
static

◆ operator!=()

bool qdesigner_internal::PropertySheetPixmapValue::operator!= ( const PropertySheetPixmapValue other) const
inline

Definition at line 224 of file qdesigner_utils_p.h.

224 { return compare(other) != 0; }
int compare(const PropertySheetPixmapValue &other) const

◆ operator<()

bool qdesigner_internal::PropertySheetPixmapValue::operator< ( const PropertySheetPixmapValue other) const
inline

Definition at line 225 of file qdesigner_utils_p.h.

225 { return compare(other) < 0; }

◆ operator==()

bool qdesigner_internal::PropertySheetPixmapValue::operator== ( const PropertySheetPixmapValue other) const
inline

Definition at line 223 of file qdesigner_utils_p.h.

223 { return compare(other) == 0; }

◆ path()

QString qdesigner_internal::PropertySheetPixmapValue::path ( ) const

◆ pixmapSource()

PixmapSource qdesigner_internal::PropertySheetPixmapValue::pixmapSource ( QDesignerFormEditorInterface *  core) const
inline

Definition at line 231 of file qdesigner_utils_p.h.

232  {
233  return getPixmapSource(core, m_path);
234  }
static PixmapSource getPixmapSource(QDesignerFormEditorInterface *core, const QString &path)

◆ setPath()

void qdesigner_internal::PropertySheetPixmapValue::setPath ( const QString &  path)

Member Data Documentation

◆ m_path

QString qdesigner_internal::PropertySheetPixmapValue::m_path
private

Definition at line 242 of file qdesigner_utils_p.h.


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