The following rules are not used everywhere (yet), but are intended as guidelines for new code and eventually old code should be adapted as well.
- Files use Unix-style line endings ("\n").
- Class names start with a capital letter, object/variable names with a lower case letter.
- Methods and functions are named likeThis(), variables like_this and instance variables are prefixed with "d_".
- Property access methods use Qt style: property() and setProperty().
- Every file should be named exactly like the class inside and there should be only one class per file, with the exception of really short classes like LayerButton.
- For indentations, tabs are preferred because they allow everyone to choose the indentation depth for him/herself.