Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-qt/optiondlg.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Structures | Functions
optiondlg.h File Reference
`#include "optiondlg_g.h"`
`#include <QDialog>`
`#include <QMap>`
`#include "dialogs.h"`

Go to the source code of this file.

## Data Structures

struct | option_dialog

## Functions

QString | split_text (QString text, bool cut)
QString | cut_helptext (QString text)
void | option_dialog_popup (QString name, const struct option_set *poptset, bool client)

## Function Documentation

## ◆ cut_helptext()

QString cut_helptext | ( | QString | text | ) |

Remove some text from given text(help text) to show as tooltip

Definition at line 105 of file optiondlg.cpp.

## ◆ option_dialog_popup()

void option_dialog_popup | ( | QString | name,
|  | const struct option_set * | poptset,
|  | bool | client_set
| ) |  |

Popup the option dialog for the option set.

Definition at line 788 of file optiondlg.cpp.

## ◆ split_text()

QString split_text | ( | QString | text,
|  | bool | cut
| ) |  |

Splits long text to 80 characters

Definition at line 62 of file optiondlg.cpp.