40 #ifndef __OPENFLUID_UIMARKET_MARKETPACKWIDGET_HPP__ 41 #define __OPENFLUID_UIMARKET_MARKETPACKWIDGET_HPP__ 47 #include <QPushButton> 53 namespace openfluid {
namespace ui {
namespace market {
61 QLabel *mp_EmptyCartImage;
62 QLabel *mp_FullCartImage;
64 QLabel m_VersionLabel;
66 void setWidgetColor(QWidget *Widget);
84 static QString replaceByUnknownIfEmpty(
const QString& Str);
86 static QString replaceByNoneIfEmpty(
const QString& Str);
90 void onInstallModified();
102 QString
getID()
const {
return QString::fromStdString(m_MetaPackInfo.
ID); };
104 bool isInstall()
const {
return m_InstallToggle.isChecked(); };
106 void setInstall(
bool Install) { m_InstallToggle.setChecked(Install); };
116 virtual void updateDisplayedInfos();
QLabel m_LicenseLabel
Definition: MarketPackWidget.hpp:75
openfluid::market::PackageInfo::PackageType m_PackageType
Definition: MarketPackWidget.hpp:71
#define OPENFLUID_API
Definition: dllexport.hpp:86
QHBoxLayout m_MainHBox
Definition: MarketPackWidget.hpp:77
Definition: MarketPackWidget.hpp:56
Definition: ApplicationException.hpp:47
std::string WareID_t
Definition: TypeDefs.hpp:49
Definition: MarketInfos.hpp:121
openfluid::ware::WareID_t ID
Definition: MarketInfos.hpp:128
openfluid::market::MetaPackageInfo m_MetaPackInfo
Definition: MarketPackWidget.hpp:72
QPushButton m_InstallToggle
Definition: MarketPackWidget.hpp:79
bool isInstall() const
Definition: MarketPackWidget.hpp:104
QVBoxLayout m_DetailsRightVBox
Definition: MarketPackWidget.hpp:82
void setInstall(bool Install)
Definition: MarketPackWidget.hpp:106
PackageType
Definition: MarketInfos.hpp:91
QString getID() const
Definition: MarketPackWidget.hpp:102
QLabel m_IDLabel
Definition: MarketPackWidget.hpp:74
SelectionType
Definition: MarketInfos.hpp:126
QVBoxLayout m_DetailsLeftVBox
Definition: MarketPackWidget.hpp:81