RandomNotes.wiki
author sheepyluva@gmail.com
Fri, 26 Apr 2013 09:59:08 +0000
changeset 312 6c0397400a9b
parent 8 55340ce0339a
child 504 fbc43fa808ff
permissions -rw-r--r--
Add Smaxx' nice lua API introduction from the hedgewars.org wiki
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     1
#summary little tidbits that await proper structuring
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     2
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     3
how to add a settings option
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     4
QStringList HWGame::setArguments() in game.cpp is the function that prepares the argument list
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     5
void GameUIConfig::SaveOptions() in gameuiconfig.cpp loads (or initializes) values and set the widgets to those values
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     6
PageOptions::PageOptions(QWidget* parent) :  AbstractPage(parent) is where you would add your widget