File: README.md

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (24 lines) | stat: -rw-r--r-- 731 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Git example
-----------

This example shows a git repository browser. It shows the contents of
the master version of a git repository, using low-level git commands
to query the git repository.

It illustrates how to build a read-only custom abstract item model.

How to run
----------

See the README in the parent directory.

You can set the GITVIEW_REPOSITORY_PATH environment variable to indicate
a default repository location (which should be a bare repository or the
'.git' folder within a normal repository).

What it illustrates
-------------------

- how to specialize WAbstractItemModel to implement tree-like models
- the use of layout managers for a window-filling layout
- the use of WTreeView with a custom item model