Freeciv-3.3
|
#include <messagewin.h>
Public Member Functions | |
info_tab (QWidget *parent) | |
void | max_chat_size () |
void | maximize_chat () |
void | restore_chat () |
Data Fields | |
QGridLayout * | layout |
messagewdg * | msgwdg |
chatwdg * | chtwdg |
bool | chat_maximized |
Data Fields inherited from fcwidget | |
bool | was_destroyed |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
int & | e_pos () |
Private Member Functions | |
void | update_menu () |
Private Attributes | |
QPoint | cursor |
QSize | last_size |
move_widget * | mw |
bool | hidden_state |
bool | resize_mode |
bool | resxy |
bool | resx |
bool | resy |
Definition at line 71 of file messagewin.h.
info_tab::info_tab | ( | QWidget * | parent | ) |
info_tab constructor
Definition at line 37 of file messagewin.cpp.
|
protected |
void info_tab::max_chat_size | ( | ) |
void info_tab::maximize_chat | ( | ) |
Maximizes size of chat
Definition at line 76 of file messagewin.cpp.
|
protected |
Called when mouse moved (mouse track is enabled). Used for resizing info_tab.
Definition at line 149 of file messagewin.cpp.
|
protected |
Checks if info_tab can be moved
Definition at line 87 of file messagewin.cpp.
|
protected |
Restores cursor when resizing is done
Definition at line 119 of file messagewin.cpp.
void info_tab::restore_chat | ( | ) |
Sets chat to default size of 3 lines
Definition at line 65 of file messagewin.cpp.
Referenced by mouseMoveEvent(), and fc_game_tab_widget::resizeEvent().
|
privatevirtual |
Inherited from abstract parent, does nothing here
Implements fcwidget.
Definition at line 207 of file messagewin.cpp.
bool info_tab::chat_maximized |
Definition at line 82 of file messagewin.h.
Referenced by maximize_chat(), and restore_chat().
chatwdg* info_tab::chtwdg |
Definition at line 79 of file messagewin.h.
Referenced by apply_font(), info_tab(), maximize_chat(), restore_chat(), and fc_client::switch_page().
|
private |
Definition at line 85 of file messagewin.h.
Referenced by mouseMoveEvent(), and mousePressEvent().
|
private |
Definition at line 88 of file messagewin.h.
|
private |
Definition at line 86 of file messagewin.h.
QGridLayout* info_tab::layout |
Definition at line 77 of file messagewin.h.
Referenced by info_tab().
messagewdg* info_tab::msgwdg |
Definition at line 78 of file messagewin.h.
Referenced by info_tab(), maximize_chat(), and restore_chat().
|
private |
Definition at line 87 of file messagewin.h.
Referenced by info_tab().
|
private |
Definition at line 89 of file messagewin.h.
Referenced by info_tab(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 91 of file messagewin.h.
Referenced by info_tab(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 90 of file messagewin.h.
Referenced by info_tab(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 92 of file messagewin.h.
Referenced by info_tab(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().