#include <dialogsettings.h>

Inheritance diagram for DialogSettings:
Collaboration diagram for DialogSettings:

Public Slots

void getDataDir ()
 
void getBgColor ()
 DialogSettings::getBgColor Opens a QColorDialog for the user to select a new bg color. More...
 
void getBgImage ()
 DialogSettings::getBgImage. 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 getEdgeShape ()
 DialogSettings::getEdgeShape. More...
 
void getEdgeWeightNumbersVisibility (const bool &toggle)
 DialogSettings::getEdgeWeightNumbersVisibility. More...
 
void getEdgeLabelsVisibility (const bool &toggle)
 DialogSettings::getEdgeLabelsVisibility. More...
 

Signals

void setProgressBars (bool)
 
void setToolBar (bool)
 
void setStatusBar (bool)
 
void setAntialiasing (bool)
 
void setPrintLogo (bool)
 
void setDebugMsgs (bool)
 
void setBgColor (const QColor)
 
void setBgImage ()
 
void setRightPanel (bool)
 
void setLeftPanel (bool)
 
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 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_edgeWeightNumberColor
 

Constructor & Destructor Documentation

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

canvas options

window options

node options

edge options

dialog signals to slots

DialogSettings::~DialogSettings ( )

Member Function Documentation

void DialogSettings::getBgColor ( )
slot

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

void DialogSettings::getBgImage ( )
slot
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 edge color
void DialogSettings::getEdgeLabelsVisibility ( const bool &  toggle)
slot
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::setAntialiasing ( bool  )
signal
void DialogSettings::setBgColor ( const QColor  )
signal
void DialogSettings::setBgImage ( )
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::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::setProgressBars ( 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_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: