LibrePCB Developers Documentation
PartInformationDelegate::Data Struct Reference

#include <partinformationdelegate.h>

+ Collaboration diagram for PartInformationDelegate::Data:

Public Member Functions

QSize calcSizeHint (const QStyleOptionViewItem &option) const noexcept
 
QString getDisplayText (bool maxLen=false) const noexcept
 
bool getColors (QBrush &background, QPen &outline, QPen &text) const noexcept
 

Public Attributes

bool initialized = false
 
bool infoRequested = false
 
int progress = 0
 
PartInformationProvider::Part part
 
std::shared_ptr< const PartInformationProvider::PartInformationinfo
 
int priceQuantity = 1
 

Member Function Documentation

◆ calcSizeHint()

QSize calcSizeHint ( const QStyleOptionViewItem &  option) const
noexcept
+ Here is the caller graph for this function:

◆ getDisplayText()

QString getDisplayText ( bool  maxLen = false) const
noexcept
+ Here is the caller graph for this function:

◆ getColors()

bool getColors ( QBrush &  background,
QPen &  outline,
QPen &  text 
) const
noexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ initialized

bool initialized = false

◆ infoRequested

bool infoRequested = false

◆ progress

int progress = 0

◆ part

◆ info

std::shared_ptr<const PartInformationProvider::PartInformation> info

◆ priceQuantity

int priceQuantity = 1

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