Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
70a1d1c
update history model, when a git reference was created
antis81 Jan 21, 2015
2e9f861
privatized appending history entries
antis81 Jan 21, 2015
65e183e
moved assertion to where it belongs
antis81 Jan 21, 2015
a962bdd
simplified readability of HistoryModel::scanInlineRefs()
antis81 Jan 21, 2015
ba08386
added some documentation
antis81 Jan 23, 2015
5b63ba7
Ref-Model: added method to lookup a RefScope item for a Git::Reference
antis81 Jan 23, 2015
83013ae
Ref-Model: added internal method to get a model index for a random Re…
antis81 Jan 23, 2015
c6884a4
Ref-Model: added internal methods to insert a Git::Reference into the…
antis81 Jan 23, 2015
1c6b526
Ref-Model: actually clear the reference tree in case of a model reset
antis81 Jan 23, 2015
7e5ab6f
Ref-Model: outsourced creation of references during model reset
antis81 Jan 23, 2015
db0acf8
Ref-Model: always create the RefScope items in a fixed order
antis81 Jan 23, 2015
868d3a4
Ref-Model: react to added references using RM::EventInterface
antis81 Jan 23, 2015
a63bc26
minor cleanup
antis81 Jan 27, 2015
9fefa66
RefsView: expand tree in initial state
antis81 Jan 27, 2015
9d4d7ac
Commit Dialog: Show errors during commit as warning message.
antis81 Jan 27, 2015
30984d5
History-Diff: Moved "diff to parent commits" to top.
antis81 Jan 27, 2015
a859d14
RefsView: added RefsViewDelegate
antis81 Jan 27, 2015
f3c5475
RefsView: Set item delegate for tree view.
antis81 Jan 27, 2015
0cd3621
RefsView: return the base color for RowBgGradientRole
antis81 Jan 27, 2015
b4d4bb6
RefsView: let the row background be drawn by the item delegate
antis81 Jan 27, 2015
5fbd2f0
RefItem: removed unused parameter
antis81 Jan 29, 2015
7e28aae
RefsView: first steps to migrate to RM::Ref
antis81 Jan 29, 2015
b97a957
updated license info
antis81 Jan 29, 2015
20740c5
fixup
antis81 Jan 29, 2015
bf613c8
History-Module: added "less than" comparator for "inline references"
antis81 Feb 3, 2015
a5a92b0
HistoryModel: outsourced internal update of "inline references"
antis81 Feb 3, 2015
30a99e0
HistoryModel: fixed comparison of "inline references" while refreshing
antis81 Feb 3, 2015
f2a848b
minor cleanup
antis81 Feb 3, 2015
9404f2c
HistoryModel: minor optimizations
antis81 Feb 3, 2015
b20401b
HistoryModel: sort "inline references"
antis81 Feb 3, 2015
3cb52b9
updated license info
antis81 Feb 3, 2015
fd594bd
HistoryModel: add an "inline reference" for a detached HEAD
antis81 Feb 3, 2015
dbcf889
HistoryModel: Use Qt5 QStringLiterals -> This breaks compatibility to…
antis81 Feb 3, 2015
6ae965b
HistoryModel: a stash is never "active"
antis81 Feb 3, 2015
c2c8107
HistoryModel: minor optimization
antis81 Feb 3, 2015
0f6d745
HistoryModel: react to symbolic reference changes
antis81 Feb 3, 2015
8f195ae
HistoryView: mark a detached HEAD in a red color
antis81 Feb 3, 2015
4341924
removed double comparison of mRefName
antis81 Feb 3, 2015
2de0af4
moved doxygen comments to cpp
antis81 Feb 4, 2015
c2be315
HistoryModel: fixed temporary copy of object id
antis81 Feb 4, 2015
ae2c333
HistoryModel: changed back stash status to "isCurrent", as it contain…
antis81 Feb 4, 2015
1e570fd
HistoryModel: react to refMoved signal
antis81 Feb 4, 2015
258b222
HistoryModel: replaced less than comparator with operator <()
antis81 Feb 5, 2015
e768451
replaced QLatin1Literal with QStringLiteral
antis81 Feb 5, 2015
746f4f6
removed obsolete slot "onRefLinkChanged", which is handled by "onRefM…
antis81 Feb 7, 2015
46ca393
Reference-Model: react to refMoved event
antis81 Feb 8, 2015
86cf9b6
Reference-View: removed workaround to update the view manually
antis81 Feb 8, 2015
07488e9
RepoManLogger: removed obsolete event "refLinkChanged"
antis81 Feb 8, 2015
e64afa2
History-Model: moved docs to source
antis81 Feb 8, 2015
351aac9
History-Model: refresh inline references on a removed reference
antis81 Feb 8, 2015
f3c1ccc
Refs-Model: removed unused code
antis81 Feb 8, 2015
eb29b6d
RefItem: added temporary helper methods
antis81 Feb 8, 2015
9666400
RefItem: removed obsolete method "setData"
antis81 Feb 8, 2015
5b79d6b
Refs-Model: added temporary helper method to find invalid references
antis81 Feb 8, 2015
2759c89
Refs-Model: react to deleted references
antis81 Feb 8, 2015
51912a0
Refs-View: We don't need to manually update the RefsView anymore - fi…
antis81 Feb 8, 2015
6ba4df2
minor: removed debug output
antis81 Feb 8, 2015
38c29c5
Refs-Model: no need to check "ref" and "invalidRefs"
antis81 Feb 8, 2015
2ba0564
Refs-Model: inlined inline methods
antis81 Feb 9, 2015
6fe8c88
RepoMan-Events: check, if the event-repo equals the model's repo
antis81 Feb 9, 2015
ada1c01
Refs-Model: made "scopeForRef" future proof
antis81 Feb 9, 2015
34ef425
minor: updated copyright info
antis81 Feb 9, 2015
01919c0
Remove RefsSortProxy
scunz Feb 10, 2015
5010442
Don't expose Model's internals
scunz Feb 10, 2015
a3ff74c
Move RefItem file
scunz Feb 10, 2015
842e079
Create RefRoot, so we can have pure virtual methods in RefItem.
scunz Feb 10, 2015
7b9222d
Don't use data() to transport the type
scunz Feb 10, 2015
e894218
Sort methods more logical
scunz Feb 10, 2015
cce685b
Remove totally unused "column" from RefItem::data()
scunz Feb 10, 2015
4e6ddc0
Make Headlines a bit taller
scunz Feb 11, 2015
b4e6146
Rewrite BranchesModel to make use of RepoMan
scunz Feb 11, 2015
17e5a24
Remove EditRole
scunz Feb 12, 2015
b000ec6
Fix regresion in RenameDlg
scunz Feb 12, 2015
e7140dc
Make RenameDialog more intuitive
scunz Feb 12, 2015
17592e0
Refresh Repositories
scunz Feb 12, 2015
3b8f681
Ref Rename Dialog doesn't need to depend on Model internals
scunz Feb 12, 2015
e56b87e
Now, remove the manual indentation to get the tree aligned exactly
scunz Feb 12, 2015
4651af0
Add missing spacer to Rename Ref dialog
scunz Feb 12, 2015
d1dac99
Keep Headlines disabled and not selectable
scunz Feb 14, 2015
949835e
Show current branch in bold
scunz Mar 16, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make Headlines a bit taller
  • Loading branch information
scunz committed Mar 21, 2015
commit 4e6ddc082d28ee764b2995dc3fde8facd588fa4f
11 changes: 11 additions & 0 deletions RefsViews/RefsViewDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,14 @@ void RefsViewDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opti
QStyledItemDelegate::paint( painter, option, index );
}


QSize RefsViewDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex& index) const
{
QSize s = QStyledItemDelegate::sizeHint(option, index);

if (!index.parent().isValid()) {
s.setHeight(25);
}

return s;
}
1 change: 1 addition & 0 deletions RefsViews/RefsViewDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class RefsViewDelegate : public QStyledItemDelegate

public:
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex& index) const;
};

#endif