#include <dialogsettings.h>

+ Inheritance diagram for DialogSettings:
+ Collaboration diagram for DialogSettings:

Public Slots

void getDataDir ()
 
void getCanvasBgColor ()
 DialogSettings::getCanvasBgColor Opens a QColorDialog for the user to select a new bg color. More...
 
void getCanvasBgImage ()
 DialogSettings::getCanvasBgImage. More...
 
void getCanvasUpdateMode (const QString &text)
 Gets Canvas Update Mode. More...
 
void getCanvasIndexMethod (const QString &text)
 Gets canvas Index Method. More...
 
void validateSettings ()
 DialogSettings::validateSettings Validates form data and signals saveSettings to MW. More...
 
void getNodeColor ()
 DialogSettings::getNodeColor. More...
 
void getNodeShape ()
 DialogSettings::getNodeShape. More...
 
void getNodeSize (int)
 DialogSettings::getNodeSize. More...
 
void getNodeNumbersVisibility (bool toggle)
 DialogSettings::getNodeNumbersVisibility. More...
 
void getNodeNumbersInside (bool toggle)
 DialogSettings::getNodeNumbersInside. More...
 
void getNodeNumberColor ()
 DialogSettings::getNodeNumberColor. More...
 
void getNodeNumberSize (const int)
 DialogSettings::getNodeNumberSize. More...
 
void getNodeNumberDistance (const int)
 DialogSettings::getNodeNumberDistance. More...
 
void getNodeLabelsVisibility (bool toggle)
 DialogSettings::getNodeLabelsVisibility. More...
 
void getNodeLabelColor ()
 DialogSettings::getNodeLabelColor. More...
 
void getNodeLabelSize (const int)
 DialogSettings::getNodeLabelSize. More...
 
void getNodeLabelDistance (const int)
 DialogSettings::getNodeLabelDistance. More...
 
void getEdgesVisibility (const bool &toggle)
 DialogSettings::getEdgesVisibility. More...
 
void getEdgeArrowsVisibility (const bool &toggle)
 DialogSettings::getEdgeArrowsVisibility. More...
 
void getEdgeColor ()
 DialogSettings::getEdgeColor. More...
 
void getEdgeColorNegative ()
 DialogSettings::getEdgeColorNegative. More...
 
void getEdgeColorZero ()
 DialogSettings::getEdgeColorZero. More...
 
void getEdgeShape ()
 DialogSettings::getEdgeShape. More...
 
void getEdgeOffsetFromNode (int offset)
 Changes the edge offset from source and target nodes. More...
 
void getEdgeWeightNumbersVisibility (const bool &toggle)
 DialogSettings::getEdgeWeightNumbersVisibility. More...
 
void getEdgeLabelsVisibility (const bool &toggle)
 DialogSettings::getEdgeLabelsVisibility. More...
 

Signals

void setProgressDialog (bool)
 
void setToolBar (bool)
 
void setStatusBar (bool)
 
void setPrintLogo (bool)
 
void setDebugMsgs (bool)
 
void setRightPanel (bool)
 
void setLeftPanel (bool)
 
void setCanvasBgColor (const QColor)
 
void setCanvasBgImage ()
 
void setCanvasAntialiasing (bool)
 
void setCanvasAntialiasingAutoAdjust (bool)
 
void setCanvasSmoothPixmapTransform (bool)
 
void setCanvasSavePainterState (bool)
 
void setCanvasCacheBackground (bool)
 
void setCanvasEdgeHighlighting (bool)
 
void setCanvasUpdateMode (const QString &text)
 
void setCanvasIndexMethod (const QString &text)
 
void setNodeColor (QColor)
 
void setNodeShape (const QString, const long int)
 
void setNodeSize (int, const bool &)
 
void setNodeNumbersVisibility (bool)
 
void setNodeNumbersInside (bool)
 
void setNodeNumberSize (const int v, const int &size, const bool prompt)
 
void setNodeNumberDistance (const int v, const int &)
 
void setNodeNumberColor (const QColor)
 
void setNodeLabelsVisibility (const bool &)
 
void setNodeLabelColor (const QColor)
 
void setNodeLabelSize (const int v, const int &)
 
void setNodeLabelDistance (const int v, const int &)
 
void setEdgesVisibility (const bool &toggle)
 
void setEdgeArrowsVisibility (const bool &toggle)
 
void setEdgeColor (const QColor, const int &)
 
void setEdgeShape (const QString, const long int)
 
void setEdgeOffsetFromNode (const int &offset, const int &v1=0, const int &v2=0)
 
void setEdgeWeightNumbersVisibility (const bool &toggle)
 
void setEdgeLabelsVisibility (const bool &toggle)
 
void saveSettings ()
 

Public Member Functions

 DialogSettings (QMap< QString, QString > &appSettings, QWidget *parent=0)
 
 ~DialogSettings ()
 

Private Attributes

QMap< QString, QString > & m_appSettings
 
Ui::DialogSettings * ui
 
QPixmap m_pixmap
 
QColor m_bgColor
 
QColor m_nodeColor
 
QColor m_nodeNumberColor
 
QColor m_nodeLabelColor
 
QColor m_edgeColor
 
QColor m_edgeColorNegative
 
QColor m_edgeColorZero
 
QColor m_edgeWeightNumberColor
 

Constructor & Destructor Documentation

DialogSettings::DialogSettings ( QMap< QString, QString > &  appSettings,
QWidget *  parent = 0 
)
explicit

window options

canvas options

node options

edge options

dialog signals to slots

DialogSettings::~DialogSettings ( )

Member Function Documentation

void DialogSettings::getCanvasBgColor ( )
slot

DialogSettings::getCanvasBgColor Opens a QColorDialog for the user to select a new bg color.

void DialogSettings::getCanvasBgImage ( )
slot
void DialogSettings::getCanvasIndexMethod ( const QString &  text)
slot

Gets canvas Index Method.

void DialogSettings::getCanvasUpdateMode ( const QString &  text)
slot

Gets Canvas Update Mode.

void DialogSettings::getDataDir ( )
slot
void DialogSettings::getEdgeArrowsVisibility ( const bool &  toggle)
slot
void DialogSettings::getEdgeColor ( )
slot

DialogSettings::getEdgeColor.

  • Opens a QColorDialog for the user to select a new edge color
void DialogSettings::getEdgeColorNegative ( )
slot

DialogSettings::getEdgeColorNegative.

  • Opens a QColorDialog for the user to select a new negative edge color
void DialogSettings::getEdgeColorZero ( )
slot

DialogSettings::getEdgeColorZero.

  • Opens a QColorDialog for the user to select a new zero edge color
void DialogSettings::getEdgeLabelsVisibility ( const bool &  toggle)
slot
void DialogSettings::getEdgeOffsetFromNode ( int  offset)
slot

Changes the edge offset from source and target nodes.

Parameters
size
void DialogSettings::getEdgeShape ( )
slot
void DialogSettings::getEdgesVisibility ( const bool &  toggle)
slot
void DialogSettings::getEdgeWeightNumbersVisibility ( const bool &  toggle)
slot
void DialogSettings::getNodeColor ( )
slot

DialogSettings::getNodeColor.

  • Opens a QColorDialog for the user to select a new node color
void DialogSettings::getNodeLabelColor ( )
slot

DialogSettings::getNodeLabelColor.

  • Opens a QColorDialog for the user to select a new node Label color
void DialogSettings::getNodeLabelDistance ( const int  distance)
slot
void DialogSettings::getNodeLabelSize ( const int  size)
slot
void DialogSettings::getNodeLabelsVisibility ( bool  toggle)
slot
void DialogSettings::getNodeNumberColor ( )
slot

DialogSettings::getNodeNumberColor.

  • Opens a QColorDialog for the user to select a new node number color
void DialogSettings::getNodeNumberDistance ( const int  distance)
slot
void DialogSettings::getNodeNumbersInside ( bool  toggle)
slot
void DialogSettings::getNodeNumberSize ( const int  size)
slot
void DialogSettings::getNodeNumbersVisibility ( bool  toggle)
slot
void DialogSettings::getNodeShape ( )
slot
void DialogSettings::getNodeSize ( int  size)
slot

DialogSettings::getNodeSize.

Parameters
size
void DialogSettings::saveSettings ( )
signal
void DialogSettings::setCanvasAntialiasing ( bool  )
signal
void DialogSettings::setCanvasAntialiasingAutoAdjust ( bool  )
signal
void DialogSettings::setCanvasBgColor ( const QColor  )
signal
void DialogSettings::setCanvasBgImage ( )
signal
void DialogSettings::setCanvasCacheBackground ( bool  )
signal
void DialogSettings::setCanvasEdgeHighlighting ( bool  )
signal
void DialogSettings::setCanvasIndexMethod ( const QString &  text)
signal
void DialogSettings::setCanvasSavePainterState ( bool  )
signal
void DialogSettings::setCanvasSmoothPixmapTransform ( bool  )
signal
void DialogSettings::setCanvasUpdateMode ( const QString &  text)
signal
void DialogSettings::setDebugMsgs ( bool  )
signal
void DialogSettings::setEdgeArrowsVisibility ( const bool &  toggle)
signal
void DialogSettings::setEdgeColor ( const QColor  ,
const int &   
)
signal
void DialogSettings::setEdgeLabelsVisibility ( const bool &  toggle)
signal
void DialogSettings::setEdgeOffsetFromNode ( const int &  offset,
const int &  v1 = 0,
const int &  v2 = 0 
)
signal
void DialogSettings::setEdgeShape ( const QString  ,
const long  int 
)
signal
void DialogSettings::setEdgesVisibility ( const bool &  toggle)
signal
void DialogSettings::setEdgeWeightNumbersVisibility ( const bool &  toggle)
signal
void DialogSettings::setLeftPanel ( bool  )
signal
void DialogSettings::setNodeColor ( QColor  )
signal
void DialogSettings::setNodeLabelColor ( const QColor  )
signal
void DialogSettings::setNodeLabelDistance ( const int  v,
const int &   
)
signal
void DialogSettings::setNodeLabelSize ( const int  v,
const int &   
)
signal
void DialogSettings::setNodeLabelsVisibility ( const bool &  )
signal
void DialogSettings::setNodeNumberColor ( const QColor  )
signal
void DialogSettings::setNodeNumberDistance ( const int  v,
const int &   
)
signal
void DialogSettings::setNodeNumbersInside ( bool  )
signal
void DialogSettings::setNodeNumberSize ( const int  v,
const int &  size,
const bool  prompt 
)
signal
void DialogSettings::setNodeNumbersVisibility ( bool  )
signal
void DialogSettings::setNodeShape ( const QString  ,
const long  int 
)
signal
void DialogSettings::setNodeSize ( int  ,
const bool &   
)
signal
void DialogSettings::setPrintLogo ( bool  )
signal
void DialogSettings::setProgressDialog ( bool  )
signal
void DialogSettings::setRightPanel ( bool  )
signal
void DialogSettings::setStatusBar ( bool  )
signal
void DialogSettings::setToolBar ( bool  )
signal
void DialogSettings::validateSettings ( )
slot

DialogSettings::validateSettings Validates form data and signals saveSettings to MW.

Member Data Documentation

QMap<QString, QString>& DialogSettings::m_appSettings
private
QColor DialogSettings::m_bgColor
private
QColor DialogSettings::m_edgeColor
private
QColor DialogSettings::m_edgeColorNegative
private
QColor DialogSettings::m_edgeColorZero
private
QColor DialogSettings::m_edgeWeightNumberColor
private
QColor DialogSettings::m_nodeColor
private
QColor DialogSettings::m_nodeLabelColor
private
QColor DialogSettings::m_nodeNumberColor
private
QPixmap DialogSettings::m_pixmap
private
Ui::DialogSettings* DialogSettings::ui
private

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