41 #ifndef __MARKETPACKWIDGET_HPP__
42 #define __MARKETPACKWIDGET_HPP__
48 #include <QPushButton>
54 namespace openfluid {
namespace ui {
namespace market {
64 QLabel *mp_EmptyCartImage;
65 QLabel *mp_FullCartImage;
67 QLabel m_VersionLabel;
69 void setWidgetColor(QWidget *Widget);
87 static QString replaceByUnknownIfEmpty(
const QString& Str);
89 static QString replaceByNoneIfEmpty(
const QString& Str);
93 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();
void setInstall(bool Install)
Definition: MarketPackWidget.hpp:108
SelectionType
Definition: MarketInfos.hpp:129
QString getID() const
Definition: MarketPackWidget.hpp:104
QPushButton m_InstallToggle
Definition: MarketPackWidget.hpp:82
QLabel m_LicenseLabel
Definition: MarketPackWidget.hpp:78
PackageType
Definition: MarketInfos.hpp:94
Definition: MarketInfos.hpp:124
Definition: MarketPackWidget.hpp:59
std::string WareID_t
Definition: WareSignature.hpp:86
openfluid::market::PackageInfo::PackageType m_PackageType
Definition: MarketPackWidget.hpp:74
bool isInstall() const
Definition: MarketPackWidget.hpp:106
QLabel m_IDLabel
Definition: MarketPackWidget.hpp:77
QHBoxLayout m_MainHBox
Definition: MarketPackWidget.hpp:80
openfluid::market::MetaPackageInfo m_MetaPackInfo
Definition: MarketPackWidget.hpp:75
QVBoxLayout m_DetailsLeftVBox
Definition: MarketPackWidget.hpp:84
QVBoxLayout m_DetailsRightVBox
Definition: MarketPackWidget.hpp:85
#define DLLEXPORT
Definition: dllexport.hpp:51