40 #ifndef __OPENFLUID_UIMARKET_MARKETPACKWIDGET_HPP__ 41 #define __OPENFLUID_UIMARKET_MARKETPACKWIDGET_HPP__ 47 #include <QPushButton> 53 namespace openfluid {
namespace ui {
namespace market {
63 QLabel *mp_EmptyCartImage;
64 QLabel *mp_FullCartImage;
66 QLabel m_VersionLabel;
68 void setWidgetColor(QWidget *Widget);
86 static QString replaceByUnknownIfEmpty(
const QString& Str);
88 static QString replaceByNoneIfEmpty(
const QString& Str);
92 void onInstallModified();
104 QString
getID()
const {
return QString::fromStdString(m_MetaPackInfo.
ID); };
106 bool isInstall()
const {
return m_InstallToggle.isChecked(); };
108 void setInstall(
bool Install) { m_InstallToggle.setChecked(Install); };
118 virtual void updateDisplayedInfos();
QHBoxLayout m_MainHBox
Definition: MarketPackWidget.hpp:79
QPushButton m_InstallToggle
Definition: MarketPackWidget.hpp:81
void setInstall(bool Install)
Definition: MarketPackWidget.hpp:108
Definition: MarketInfos.hpp:123
std::string WareID_t
Definition: TypeDefs.hpp:50
QLabel m_LicenseLabel
Definition: MarketPackWidget.hpp:77
QString getID() const
Definition: MarketPackWidget.hpp:104
bool isInstall() const
Definition: MarketPackWidget.hpp:106
QVBoxLayout m_DetailsLeftVBox
Definition: MarketPackWidget.hpp:83
#define OPENFLUID_API
Definition: dllexport.hpp:87
QLabel m_IDLabel
Definition: MarketPackWidget.hpp:76
openfluid::ware::WareID_t ID
Definition: MarketInfos.hpp:130
Definition: MarketPackWidget.hpp:58
openfluid::market::PackageInfo::PackageType m_PackageType
Definition: MarketPackWidget.hpp:73
SelectionType
Definition: MarketInfos.hpp:128
openfluid::market::MetaPackageInfo m_MetaPackInfo
Definition: MarketPackWidget.hpp:74
QVBoxLayout m_DetailsRightVBox
Definition: MarketPackWidget.hpp:84
PackageType
Definition: MarketInfos.hpp:93
Definition: ApplicationException.hpp:47