[bt-devel] alternative GUI
Jaak Ristioja
Ristioja at gmail.com
Wed Jul 21 12:43:04 MST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Olaf!
On 21.07.2010 20:57, Olaf Radicke wrote:
> Pleas, lat me try develop a alternative GUI. The alternative GUI have oven
> namespace and don't touch the other code. The user have a choice. Only if
> start the programme with "--alter-gui" he behold the alternative GUI.
I reviewed your patch. Please understand that since your patch is in very early
development, we can't accept it in SVN. Personally I suggest, that you might want to clone
the git mirror of the SVN trunk from
http://gitorious.org/bibletime
for your current development. That mirror is automatically updated every 20 minutes from
the sourceforge SVN repository.
I have the following remarks about the patch you sent us:
1) Conditional compilation. I think the alternative GUI should only be compiled if
explicitly enabled by specifying some arguments for the "cmake" command, e.g. "-D
BT_ALTERGUI".
2) Source code formatting issues:
* Use m_ prefixes for class fields, so that we can use "m_fieldName"
instead of "this->fieldName".
* "// Intentionally empty" might be better a better comment than
"// pass". Personally, I prefer just to inline such methods, and
just type "{}" in the header files.
* connect(m_backButton, SIGNAL(clicked()),
this, SLOT(doNothing())); // Good use of space
* Use spaces instead of tabs, because tab size may vary for different
tools/IDE's etc.
* No newline at the end of C++ source files might result in a warning
for some compilers.
* No extra whitespace in source files after code on each line, empty
lines have no whitespace. Extra whitespace confuses diff and other
tools.
* Please don't start identifiers with underscore, e.g. "_ix". Use
more understandable camelCase names like "tabIndex". Types start
with capital letter MyClass, identifiers have lowercase first letter.
* Small spelling mistake: "menu", not "menue".
* Don't indent classes/structs inside namespaces, only inside other
classes, so we have more space to fit the code into the recommended
80 character columns.
3) Use QCoreApplication::arguments().contains("--alter-gui") instead.
4) Use qDebug() << "and friends instead of iostream";
5) Use <QList> instead of <list>
6) Source code file names are in lowercase.
7) Only English in source code.
Happy hacking!
Jaak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iQgcBAEBAgAGBQJMR03EAAoJEFqwhAoGc/hvN4tAAIAmlbID73jor/NAnoO5QIar
g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