|
QuasarAppLib 1.0.530.c9fba11
|


Go to the source code of this file.
Namespaces | |
| namespace | QuasarAppUtils |
| The QuasarAppUtils namespace contains the base functions for all applications of the QuasarApp group. All methods of the QuasarAppUtils classes are static. | |
| namespace | QuasarAppUtils::Help |
| Help namespace contains functions for printing help in to console. All Print functions automatically calc width of the console and aligns the text to fit the window. | |
Typedefs | |
| typedef QMultiMap< QString, QString > | QuasarAppUtils::Help::Options |
| Options this is list of key-descriptions pairs of help. The key is name of the available argument and description is description of the available argument. | |
| typedef QMultiMap< QString, Options > | QuasarAppUtils::Help::Section |
| Section This is list of the help Sections. The one section it is Title of the section and Help::Options list. | |
| typedef Section | QuasarAppUtils::Help::Charters |
| Charters is wrapper of the Section type. | |
Functions | |
| int | QuasarAppUtils::Help::width () |
| width This method return current width of the console window. | |
| void | QuasarAppUtils::Help::print (const Options &optionsList) |
| print This method print a one options list. | |
| void | QuasarAppUtils::Help::print (const Section &help) |
| print This method print all sections of the help. | |
| void | QuasarAppUtils::Help::setLineLength (int newLength) |
| setLineLength sets new length of the help line (width of the console window). If you set this into -1 then the window width will be selected automatically. | |