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();
QVBoxLayout m_DetailsLeftVBox
Definition: MarketPackWidget.hpp:81
Definition: ApplicationException.hpp:47
bool isInstall() const
Definition: MarketPackWidget.hpp:104
PackageType
Definition: MarketInfos.hpp:91
SelectionType
Definition: MarketInfos.hpp:126
QString getID() const
Definition: MarketPackWidget.hpp:102
QHBoxLayout m_MainHBox
Definition: MarketPackWidget.hpp:77
openfluid::market::PackageInfo::PackageType m_PackageType
Definition: MarketPackWidget.hpp:71
QLabel m_IDLabel
Definition: MarketPackWidget.hpp:74
void setInstall(bool Install)
Definition: MarketPackWidget.hpp:106
QPushButton m_InstallToggle
Definition: MarketPackWidget.hpp:79
QVBoxLayout m_DetailsRightVBox
Definition: MarketPackWidget.hpp:82
Definition: MarketPackWidget.hpp:56
Definition: MarketInfos.hpp:121
QLabel m_LicenseLabel
Definition: MarketPackWidget.hpp:75
openfluid::market::MetaPackageInfo m_MetaPackInfo
Definition: MarketPackWidget.hpp:72
openfluid::ware::WareID_t ID
Definition: MarketInfos.hpp:128
#define OPENFLUID_API
Definition: dllexport.hpp:86
std::string WareID_t
Definition: TypeDefs.hpp:49