|
|
@ -59,7 +59,7 @@ namespace ContentSelectorModel
|
|
|
|
QString description() const { return mDescription; }
|
|
|
|
QString description() const { return mDescription; }
|
|
|
|
QString toolTip() const
|
|
|
|
QString toolTip() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return sToolTip.arg(mAuthor)
|
|
|
|
return mTooltipTemlate.arg(mAuthor)
|
|
|
|
.arg(mVersion)
|
|
|
|
.arg(mVersion)
|
|
|
|
.arg(mModified.toString(Qt::ISODate))
|
|
|
|
.arg(mModified.toString(Qt::ISODate))
|
|
|
|
.arg(mPath)
|
|
|
|
.arg(mPath)
|
|
|
@ -72,9 +72,16 @@ namespace ContentSelectorModel
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
static int sPropertyCount;
|
|
|
|
static int sPropertyCount;
|
|
|
|
static QString sToolTip;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
|
|
|
|
QString mTooltipTemlate = tr(
|
|
|
|
|
|
|
|
"<b>Author:</b> %1<br/>"
|
|
|
|
|
|
|
|
"<b>Version:</b> %2<br/>"
|
|
|
|
|
|
|
|
"<b>Modified:</b> %3<br/>"
|
|
|
|
|
|
|
|
"<b>Path:</b><br/>%4<br/>"
|
|
|
|
|
|
|
|
"<br/><b>Description:</b><br/>%5<br/>"
|
|
|
|
|
|
|
|
"<br/><b>Dependencies: </b>%6<br/>");
|
|
|
|
|
|
|
|
|
|
|
|
QString mFileName;
|
|
|
|
QString mFileName;
|
|
|
|
QString mAuthor;
|
|
|
|
QString mAuthor;
|
|
|
|
QDateTime mModified;
|
|
|
|
QDateTime mModified;
|
|
|
|