33 class QTreeWidgetItem;
94 int max,
const QString &value = QString());
96 enum unit_activity act,
104 const int &food,
const int &sh,
106 const QString &tooltip = QString());
void showEvent(QShowEvent *event) override
Show event.
help_dialog(QWidget *parent=0)
Constructor for help dialog.
void history_forward()
Goes to next topic in history.
void set_topic(const help_item *item)
Changes the displayed topic.
void closeEvent(QCloseEvent *event) override
Close event.
void make_tree()
Create the help tree.
QHash< QTreeWidgetItem *, const help_item * > topics_map
void item_changed(QTreeWidgetItem *item, QTreeWidgetItem *prev)
Called when a tree item is activated.
void update_fonts()
Update fonts for help_wdg.
void hideEvent(QHideEvent *event) override
Hide event.
void update_buttons()
Update buttons (back and next)
QList< QTreeWidgetItem * > item_history
void history_back()
Backs in history to previous topic.
void popup_help_dialog_typed(const char *item, help_page_type htype)
Popup the help dialog to display help on the given string topic from the given section.
void update_help_fonts()
Updates fonts.
void popdown_help_dialog()
Close the help dialog.
struct unit_class * uclass