It derives from QGraphicsView and displays the QGraphicsScene constructed by its parent
GraphEditor | ( | GraphWidget * | parent, | |
pigaleWindow * | mywindow | |||
) |
~GraphEditor | ( | ) | [inline] |
QSize sizeHint | ( | ) | const |
void setsize | ( | ) |
void clear | ( | ) |
void load | ( | bool | initgrid = true |
) |
void print | ( | QPrinter * | printer | ) |
void image | ( | QPrinter * | printer, | |
QString | suffix | |||
) |
void Normalise | ( | ) |
bool InitGrid | ( | Tgrid & | g | ) |
Tgrid ParamGrid | ( | int | nx | ) |
void DrawGrid | ( | const Tgrid & | grid | ) |
input: min_used_x, max_used_x, nxstep (id for y) compute xstep and the grid
void PrintSizeGrid | ( | ) |
void clearGrid | ( | ) |
void ToGrid | ( | tvertex & | v | ) |
void ToGrid | ( | QPoint & | p | ) |
void Zoom | ( | int | dir | ) |
void Spring | ( | ) |
void SpringPreservingMap | ( | bool | draw = true |
) |
int SpringJacquard | ( | ) |
int FindItem | ( | QPoint & | p, | |
EdgeItem *& | edge | |||
) |
int FindItem | ( | QPoint & | p, | |
ColorItem *& | coloritem | |||
) |
int FindItem | ( | QPoint & | p, | |
ThickItem *& | thickitem | |||
) |
void resizeEvent | ( | QResizeEvent * | e | ) |
void update | ( | int | compute | ) |
void showGrid | ( | bool | show | ) | [slot] |
void fitgridChanged | ( | bool | i | ) | [slot] |
void ForceToGrid | ( | ) | [slot] |
void UndoGrid | ( | ) | [slot] |
void sizegridChanged | ( | int | i | ) | [slot] |
void mousePressEvent | ( | QMouseEvent * | e | ) | [private] |
void mouseReleaseEvent | ( | QMouseEvent * | event | ) | [private] |
void mouseMoveEvent | ( | QMouseEvent * | e | ) | [private] |
void wheelEvent | ( | QWheelEvent * | event | ) | [private] |
void UpdateSizeGrid | ( | ) | [private] |
void keyPressEvent | ( | QKeyEvent * | k | ) | [private] |
GraphWidget* gwp [private] |
pigaleWindow* mywindow [private] |
QPoint start_position [private] |
bool DoNormalise [private] |
bool is_init [private] |
short color_node [private] |
short color_edge [private] |
int width_edge [private] |
double xepsilon [private] |
double yepsilon [private] |
double min_used_x [private] |
double max_used_x [private] |
double min_used_y [private] |
double max_used_y [private] |
double xminstep [private] |
double yminstep [private] |
double x_min [private] |
double x_max [private] |
double y_min [private] |
double y_max [private] |
double xstep [private] |
double ystep [private] |
double undoxstep [private] |
double undoystep [private] |
int key_pressed [private] |
bool IsGrid [private] |
double zoom [private] |
int nxstep [private] |
int nystep [private] |
bool GridDrawn [private] |
Tgrid current_grid [private] |
Tgrid graph_grid [private] |
bool ShowGrid [private] |
bool FitToGrid [private] |
bool ForceGrid [private] |
bool ForceGridOk [private] |
bool RedrawGrid [private] |
int FitSizeGrid [private] |
int OldFitSizeGrid [private] |
int SizeGrid [private] |