Signals | Public Member Functions | Protected Slots | Static Protected Member Functions | Protected Attributes | List of all members
openfluid::ui::market::MarketPackWidget Class Reference

#include <ui/market/MarketPackWidget.hpp>

Inheritance diagram for openfluid::ui::market::MarketPackWidget:
Inheritance graph
[legend]
Collaboration diagram for openfluid::ui::market::MarketPackWidget:
Collaboration graph
[legend]

Signals

void installModified (openfluid::ware::WareID_t)
 

Public Member Functions

 MarketPackWidget (const openfluid::market::PackageInfo::PackageType &Type, const openfluid::market::MetaPackageInfo &MetaPackInfo)
 
 ~MarketPackWidget ()
 
QString getID () const
 
bool isInstall () const
 
void setInstall (bool Install)
 
virtual openfluid::market::MetaPackageInfo::SelectionType getPackageFormat () const
 
virtual void updateDisplayedInfos ()
 

Protected Slots

void onInstallModified ()
 

Static Protected Member Functions

static QString replaceByUnknownIfEmpty (const QString &Str)
 
static QString replaceByNoneIfEmpty (const QString &Str)
 

Protected Attributes

openfluid::market::PackageInfo::PackageType m_PackageType
 
openfluid::market::MetaPackageInfo m_MetaPackInfo
 
QLabel m_IDLabel
 
QLabel m_LicenseLabel
 
QHBoxLayout m_MainHBox
 
QPushButton m_InstallToggle
 
QVBoxLayout m_DetailsLeftVBox
 
QVBoxLayout m_DetailsRightVBox
 

Constructor & Destructor Documentation

◆ MarketPackWidget()

openfluid::ui::market::MarketPackWidget::MarketPackWidget ( const openfluid::market::PackageInfo::PackageType Type,
const openfluid::market::MetaPackageInfo MetaPackInfo 
)

◆ ~MarketPackWidget()

openfluid::ui::market::MarketPackWidget::~MarketPackWidget ( )

Member Function Documentation

◆ getID()

QString openfluid::ui::market::MarketPackWidget::getID ( ) const
inline

◆ getPackageFormat()

virtual openfluid::market::MetaPackageInfo::SelectionType openfluid::ui::market::MarketPackWidget::getPackageFormat ( ) const
virtual
Returns
selected format in combobox

Reimplemented in openfluid::ui::market::MarketPackWidgetFormat.

◆ installModified

void openfluid::ui::market::MarketPackWidget::installModified ( openfluid::ware::WareID_t  )
signal

◆ isInstall()

bool openfluid::ui::market::MarketPackWidget::isInstall ( ) const
inline

◆ onInstallModified

void openfluid::ui::market::MarketPackWidget::onInstallModified ( )
protectedslot

◆ replaceByNoneIfEmpty()

static QString openfluid::ui::market::MarketPackWidget::replaceByNoneIfEmpty ( const QString &  Str)
staticprotected

◆ replaceByUnknownIfEmpty()

static QString openfluid::ui::market::MarketPackWidget::replaceByUnknownIfEmpty ( const QString &  Str)
staticprotected

◆ setInstall()

void openfluid::ui::market::MarketPackWidget::setInstall ( bool  Install)
inline

◆ updateDisplayedInfos()

virtual void openfluid::ui::market::MarketPackWidget::updateDisplayedInfos ( )
virtual

Creates tooltip for market pack widget

Reimplemented in openfluid::ui::market::MarketPackWidgetFormat.

Member Data Documentation

◆ m_DetailsLeftVBox

QVBoxLayout openfluid::ui::market::MarketPackWidget::m_DetailsLeftVBox
protected

◆ m_DetailsRightVBox

QVBoxLayout openfluid::ui::market::MarketPackWidget::m_DetailsRightVBox
protected

◆ m_IDLabel

QLabel openfluid::ui::market::MarketPackWidget::m_IDLabel
protected

◆ m_InstallToggle

QPushButton openfluid::ui::market::MarketPackWidget::m_InstallToggle
protected

◆ m_LicenseLabel

QLabel openfluid::ui::market::MarketPackWidget::m_LicenseLabel
protected

◆ m_MainHBox

QHBoxLayout openfluid::ui::market::MarketPackWidget::m_MainHBox
protected

◆ m_MetaPackInfo

openfluid::market::MetaPackageInfo openfluid::ui::market::MarketPackWidget::m_MetaPackInfo
protected

◆ m_PackageType

openfluid::market::PackageInfo::PackageType openfluid::ui::market::MarketPackWidget::m_PackageType
protected

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