2 * Copyright (C) 2014 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 ListViewWithPageHeader {
29 width: parent.width - controls.width
31 delegate: OrganicGrid {
34 smallDelegateSize: Qt.size(90, 90)
35 bigDelegateSize: Qt.size(180, 180)
39 height: implicitHeight > 100 ? implicitHeight : 100
40 displayMarginBeginning: {
41 if (grid.y + grid.height <= 0) {
42 // Not visible (item at top of the list viewport)
44 } else if (grid.y >= lvwph.height) {
45 // Not visible (item at bottom of the list viewport)
48 return -Math.max(-grid.y, 0);
52 if (grid.y + grid.height <= 0) {
53 // Not visible (item at top of the list viewport)
55 } else if (grid.y >= lvwph.height) {
56 // Not visible (item at bottom of the list viewport)
59 return -Math.max(grid.height - lvwph.height + grid.y, 0)
81 anchors.right: parent.right
92 anchors.centerIn: parent
100 anchors.top: addButton.bottom
106 anchors.centerIn: parent
110 onClicked: root.remove()
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list