Logo Search packages:      
Sourcecode: tagua version File versions  Download package

MoveList::Widget Class Reference

#include <movelist_widget.h>

List of all members.


Detailed Description

The widget can be used to display a tree of moves.

This class is a widget that can be used to display a tree of moves

Definition at line 50 of file movelist_widget.h.


Public Member Functions

NotifiergetNotifier ()
int layoutStyle ()
void promoteVariation (const Index &ix, int v)
void remove (const Index &index)
void reset ()
void select (const Index &index)
void setComment (const Index &index, const QString &comment)
void setLayoutStyle (int x)
void setLoaderTheme (const ThemeInfo &theme)
void setMove (const Index &index, int turn, const QString &move, const QString &comment=QString())
void setMove (const Index &index, int turn, const DecoratedMove &move, const QString &comment=QString())
void setNotifier (Notifier *n, bool detach_prev=true)
void settingsChanged ()
void setVComment (const Index &index, int v, const QString &comment)
 Widget (QWidget *parent=NULL, Table *o=NULL)

Private Slots

void doLayout ()

Private Member Functions

bool eventFilter (QObject *obj, QEvent *event)
EntryPtr fetch (const Index &ix)
History * fetchRef (const Index &ix, int *idx=NULL)
void fixIndices (const Index &ix)
QPixmap getPixmap (const QString &s, bool selected=false)
void layout ()
int layoutHistory (History &array, int at_x, int at_y, int prev_turn, int mv_num, int sub_mv_num, bool visible)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void resizeEvent (QResizeEvent *event)
void setComment (EntryPtr e, int v, const QString &comment)
void startEditing (const Index &ix, int v)
void stopEditing ()

Private Attributes

class QTextEdit * comment_editor
Index curr_highlight
int curr_highlight_type
Index curr_selected
boost::weak_ptr< Entry > edited_comment
int edited_comment_variation
int entry_size
History history
bool layout_goto_selected
int layout_max_width
bool layout_must_relayout
bool layout_pending
int layout_style
int layout_time
bool layout_width_changed
QHash< QString, QPixmap > loaded_pixmaps
PixmapLoader m_loader
Settings * m_settings
Notifiernotifier
Tableowner_table

Friends

class Brace
class Comment
class Entry
class FancyItem
class Table
class Text

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index