Gerrit: Introduce bold marking of changes.

Owned changes: Mark using bold if approval != 0,1.
Changes for review: Mark using bold if review is missing.

Derive verbose user name from first query.

Change-Id: I0ba85c1c7fff088846261b3ba8c5dbaaf259db9a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-04-30 13:49:21 +02:00
parent 19a5cbe058
commit d681bc10c9
2 changed files with 52 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ public:
GerritPatchSet() : patchSetNumber(1) {}
QString approvalsToolTip() const;
bool hasApproval(const QString &userName) const;
int approvalLevel() const;
QString ref;
int patchSetNumber;
@@ -129,6 +131,7 @@ private:
const QSharedPointer<GerritParameters> m_parameters;
QueryContext *m_query;
QString m_userName;
};
} // namespace Internal