#include <guicommon/MarketPackWidget.hpp>
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 |
openfluid::guicommon::MarketPackWidget::MarketPackWidget | ( | const openfluid::market::PackageInfo::PackageType & | Type, |
const openfluid::market::MetaPackageInfo & | MetaPackInfo | ||
) |
QString openfluid::guicommon::MarketPackWidget::getID | ( | ) | const [inline] |
virtual openfluid::market::MetaPackageInfo::SelectionType openfluid::guicommon::MarketPackWidget::getPackageFormat | ( | ) | const [virtual] |
Reimplemented in openfluid::guicommon::MarketPackWidgetFormat.
bool openfluid::guicommon::MarketPackWidget::isInstall | ( | ) | const [inline] |
void openfluid::guicommon::MarketPackWidget::onInstallModified | ( | ) | [protected, slot] |
static QString openfluid::guicommon::MarketPackWidget::replaceByNoneIfEmpty | ( | const QString & | Str | ) | [static, protected] |
static QString openfluid::guicommon::MarketPackWidget::replaceByUnknownIfEmpty | ( | const QString & | Str | ) | [static, protected] |
void openfluid::guicommon::MarketPackWidget::setInstall | ( | bool | Install | ) | [inline] |
virtual void openfluid::guicommon::MarketPackWidget::updateDisplayedInfos | ( | ) | [virtual] |
Creates tooltip for market pack widget
Reimplemented in openfluid::guicommon::MarketPackWidgetFormat.
QVBoxLayout openfluid::guicommon::MarketPackWidget::m_DetailsLeftVBox [protected] |
QVBoxLayout openfluid::guicommon::MarketPackWidget::m_DetailsRightVBox [protected] |
QLabel openfluid::guicommon::MarketPackWidget::m_IDLabel [protected] |
QPushButton openfluid::guicommon::MarketPackWidget::m_InstallToggle [protected] |
QLabel openfluid::guicommon::MarketPackWidget::m_LicenseLabel [protected] |
QHBoxLayout openfluid::guicommon::MarketPackWidget::m_MainHBox [protected] |
openfluid::market::MetaPackageInfo openfluid::guicommon::MarketPackWidget::m_MetaPackInfo [protected] |
openfluid::market::PackageInfo::PackageType openfluid::guicommon::MarketPackWidget::m_PackageType [protected] |