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