Freeciv-3.1: click_label Class Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Member Functions | Private Slots
click_label Class Reference

`#include <hudwidget.h>`

Inheritance diagram for click_label:

## Signals

void | left_clicked ()

## Public Member Functions

| click_label ()

## Protected Member Functions

void | mousePressEvent (QMouseEvent *e)

## Private Slots

void | on_clicked ()

## Detailed Description

Definition at line 140 of file hudwidget.h.

## Constructor & Destructor Documentation

## ◆ click_label()

click_label::click_label | ( |  | ) |

Custom label with extra mouse events

Definition at line 790 of file hudwidget.cpp.

## Member Function Documentation

## ◆ left_clicked

void click_label::left_clicked | ( |  | ) |

signal

Referenced by click_label(), and mousePressEvent().

## ◆ mousePressEvent()

void click_label::mousePressEvent | ( | QMouseEvent * | e | ) |

protected

Mouse event for click_label

Definition at line 798 of file hudwidget.cpp.

## ◆ on_clicked

void click_label::on_clicked | ( |  | ) |

privateslot

Centers on current unit

Definition at line 808 of file hudwidget.cpp.

Referenced by click_label().