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

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

Member Function Documentation

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

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

void openfluid::ui::market::MarketPackWidget::installModified ( openfluid::ware::WareID_t  )
signal
bool openfluid::ui::market::MarketPackWidget::isInstall ( ) const
inline
void openfluid::ui::market::MarketPackWidget::onInstallModified ( )
protectedslot
static QString openfluid::ui::market::MarketPackWidget::replaceByNoneIfEmpty ( const QString &  Str)
staticprotected
static QString openfluid::ui::market::MarketPackWidget::replaceByUnknownIfEmpty ( const QString &  Str)
staticprotected
void openfluid::ui::market::MarketPackWidget::setInstall ( bool  Install)
inline
virtual void openfluid::ui::market::MarketPackWidget::updateDisplayedInfos ( )
virtual

Creates tooltip for market pack widget

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

Member Data Documentation

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

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