Code Documentation 3.1
Social Network Visualizer
Loading...
Searching...
No Matches
MainWindow Class Reference

The base window of SocNetV contains all widgets and functionality. More...

#include <mainwindow.h>

Inheritance diagram for MainWindow:
Collaboration diagram for MainWindow:

Public Slots

void slotNetworkNew ()
 Starts a new network (closing the current one).
 
void slotNetworkFileChoose (QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
 Chooses a network file to load.
 
void slotNetworkFileDialogFileSelected (const QString &fileName)
 Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
 
void slotNetworkFileDialogFilterSelected (const QString &filter)
 Called when user the selects a file filter (i.e. GraphML) in the fileDialog.
 
void slotNetworkFileDialogRejected ()
 Displays a status message when the user aborts the file dialog.
 
void slotNetworkFileRecentUpdateActions ()
 Updates the Recent Files QActions in the menu.
 
bool slotNetworkFilePreview (const QString &, const int &)
 Opens the preview dialog with the selected file contents.
 
void slotNetworkFileLoad (const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
 Loads the given network file.
 
void slotNetworkFileLoaded (const int &type, const QString &fName=QString(), const QString &netName=QString(), const int &totalNodes=0, const int &totalEdges=0, const qreal &density=0, const qint64 &elapsedTime=0, const QString &message=QString())
 Informs the user (and the MW) about the type of the network loaded.
 
void slotNetworkFileLoadRecent ()
 Loads a selected file entry from the "Recent Files" menu.
 
void slotNetworkSavedStatus (const int &status)
 Updates the 'save' status of the network.
 
void slotNetworkFileView ()
 Displays the file of the loaded network.
 
void slotNetworkImportGraphML ()
 Imports a network from a GraphML formatted file.
 
void slotNetworkImportPajek ()
 Imports a network from a Pajek-like formatted file.
 
void slotNetworkImportAdjacency ()
 Imports a network from a Adjacency matrix formatted file.
 
void slotNetworkImportGraphviz ()
 Imports a network from a Dot (GraphViz) formatted file.
 
void slotNetworkImportGML ()
 Imports a network from a GML formatted file.
 
void slotNetworkImportUcinet ()
 Imports a network from a UCINET formatted file.
 
void slotNetworkImportEdgeList ()
 Imports a network from a simple List or weighted List formatted file.
 
void slotNetworkImportTwoModeSM ()
 Imports a network from a two mode sociomatrix formatted file.
 
void slotNetworkChanged (const bool &directed, const int &vertices, const int &edges, const qreal &density, const bool &needsSaving=true)
 Refreshes LCD values and toggles the networkSave icon, when the network has been modified.
 
void slotNetworkSave (const int &fileFormat=-1)
 Saves the network to a file.
 
void slotNetworkSaveAs ()
 Prompts the user to save the network in a new file. Always uses the GraphML format and extension.
 
bool slotNetworkClose ()
 Closes the current network, saving it if needed.
 
void slotNetworkPrint ()
 Sends the active network to the printer.
 
void slotNetworkViewSociomatrix ()
 Displays the adjacency matrix of the network.
 
void slotNetworkViewSociomatrixPlotText ()
 Displays a text-only plot of the network adjacency matrix.
 
void slotNetworkExportImageDialog ()
 Opens the Export to Image Dialog.
 
void slotNetworkExportImage (const QString &filename, const QByteArray &format, const int &quality, const int &compression)
 Exports the network to an image file.
 
void slotNetworkExportPDFDialog ()
 Opens the Export to PDF Dialog.
 
void slotNetworkExportPDF (QString &pdfName, const QPageLayout::Orientation &orientation, const int &dpi, const QPrinter::PrinterMode printerMode, const QPageSize &pageSize)
 Exports the visible part of the network to a PDF Document.
 
void slotNetworkExportPajek ()
 Exports the network to a Pajek-formatted file Calls the relevant Graph method.
 
void slotNetworkExportSM ()
 Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.
 
bool slotNetworkExportDL ()
 TODO Exports the network to a DL-formatted file.
 
bool slotNetworkExportGW ()
 
bool slotNetworkExportList ()
 
void slotNetworkTextEditor ()
 Opens the embedded text editor.
 
void slotNetworkDataSetSelect ()
 Displays the dataset selection dialog.
 
void slotNetworkDataSetRecreate (const QString)
 Recreates famous and widely used data sets in network analysis studies.
 
void slotNetworkRandomErdosRenyiDialog ()
 Shows a dialog to create an Erdos-Renyi random network.
 
void slotNetworkRandomErdosRenyi (const int N, const QString model, const int edges, const qreal eprob, const QString mode, const bool diag)
 Creates an Erdos-Renyi random symmetric network.
 
void slotNetworkRandomRegularDialog ()
 Shows a dialog to create a d-regular random network.
 
void slotNetworkRandomRegular (const int &newNodes, const int &degree, const QString &mode, const bool &diag)
 Creates a pseudo-random d-regular network where every node has the same degree.
 
void slotNetworkRandomGaussian ()
 
void slotNetworkRandomScaleFreeDialog ()
 Shows a dialog to create a scale-free random network.
 
void slotNetworkRandomScaleFree (const int &newNodes, const int &power, const int &initialNodes, const int &edgesPerStep, const qreal &zeroAppeal, const QString &mode)
 Creates a scale-free random network.
 
void slotNetworkRandomSmallWorldDialog ()
 Shows a dialog to create a small-world random network.
 
void slotNetworkRandomSmallWorld (const int &newNodes, const int &degree, const qreal &beta, const QString &mode, const bool &diag)
 Creates a small-world random network.
 
void slotNetworkRandomRingLattice ()
 Creates a ring lattice network.
 
void slotNetworkRandomLatticeDialog ()
 Shows a dialog to create a "random" lattice network.
 
void slotNetworkRandomLattice (const int &newNodes, const int &length, const int &dimension, const int &nei, const QString &mode, const bool &circular)
 Creates a 'random' lattice network, i.e. a connected network where every node has the same degree and is connected with its neighborhood.
 
void slotNetworkWebCrawlerDialog ()
 Shows the web crawler dialog.
 
void slotNetworkWebCrawler (const QUrl &startUrl, const QStringList &urlPatternsIncluded, const QStringList &urlPatternsExcluded, const QStringList &linkClasses, const int &maxNodes, const int &maxLinksPerPage, const bool &intLinks, const bool &childLinks, const bool &parentLinks, const bool &selfLinks, const bool &extLinks, const bool &extLinksCrawl, const bool &socialLinks, const bool &delayedRequests)
 Starts the web crawler with the user options.
 
void slotNetworkManagerRequest (const QUrl &url, const NetworkRequestType &requestType)
 Makes a network request to the given url.
 
void slotEditDragModeSelection (bool)
 Toggles the interactive/selection mouse drag mode.
 
void slotEditDragModeScroll (bool)
 Toggles the non-interactive scrollhand drag mode.
 
void slotEditRelationsClear ()
 Clears the relations combo.
 
void slotEditRelationAddPrompt ()
 Prompts the user to enter the name of a new relation.
 
void slotEditRelationAdd (const QString &newRelationName)
 Adds a new relation to the relations combo.
 
void slotEditRelationChange (const int &relIndex=RAND_MAX)
 Changes the editRelations combo box index to relIndex.
 
void slotEditRelationRename ()
 Prompts the user to enter a new name for the current relation.
 
void slotEditOpenContextMenu (const QPointF &mPos)
 Popups a context menu with options when the user right-clicks on the canvas.
 
void slotEditSelectionChanged (const int &selNodes, const int &selEdges)
 Updates the UI (LCDs and Actions) after a change in the user-selected nodes/edges.
 
void slotEditNodeSelectAll ()
 Selects all nodes.
 
void slotEditNodeSelectNone ()
 Selects no nodes.
 
void slotEditNodeInfoStatusBar (const int &number, const QPointF &p, const QString &label, const int &inDegree, const int &outDegree)
 Displays information about the given node on the statusbar.
 
void slotEditNodePosition (const int &nodeNumber, const int &x, const int &y)
 Automatically runs, when the user moves a node on the canvas, to update new vertex coordinates in Graph, and show a status message.
 
void slotEditNodeAdd ()
 Adds a new random node.
 
void slotEditNodeFindDialog ()
 Opens the Find Node dialog.
 
void slotEditNodeFind (const QStringList &nodeList, const QString &searchType, const QString &indexStr=QString())
 Finds one or more nodes, according to their number, label or centrality score.
 
void slotEditNodeRemove ()
 Handles requests to delete a node and the attached objects (edges, etc).
 
void slotEditNodeOpenContextMenu ()
 MainWindow::slotEditNodeOpenContextMenu Called from GW when the user has right-clicked on a node Opens a node context menu with some options when the user right-clicks on a node.
 
void slotEditNodePropertiesDialog ()
 Opens the Node Properties dialog for the selected nodes. If no nodes are selected, prompts the user for a node number.
 
void slotEditNodeProperties (const QString &label, const int &size, const QString &value, const QColor &color, const QString &shape, const QString &iconPath)
 Applies new (user-defined) values to all selected nodes Called on exit from DialogNodeEdit.
 
void slotEditNodeSelectedToClique ()
 Creates a complete subgraph (clique) from selected nodes.
 
void slotEditNodeSelectedToStar ()
 Creates a star subgraph from selected nodes. User must choose a central node.
 
void slotEditNodeSelectedToCycle ()
 Creates a cycle subgraph from selected nodes.
 
void slotEditNodeSelectedToLine ()
 Creates a line subgraph from selected nodes.
 
void slotEditNodeColorAll (QColor color=QColor())
 Changes the color of all nodes to parameter color.
 
void slotEditNodeSizeAll (int newSize=0, const bool &normalized=false)
 Changes the size of nodes to newSize.
 
void slotEditNodeShape (const int &vertex=0, QString shape=QString(), QString nodeIconPath=QString())
 Change the shape of a node or all nodes. If shape == null, prompts the user a list of available node shapes to select. Then changes the shape of all nodes/vertices accordingly. If vertex is non-zero, changes the shape of that node only. Called when user clicks on Edit->Node > Change all nodes shapes Called from DialogSettings when the user has selected a new default node shape.
 
void slotEditNodeNumberSize (int v1=0, int newSize=0, const bool prompt=true)
 Changes the size of one or all node numbers. Called from Edit menu option and DialogSettings if newSize=0, asks the user to enter a new node number font size if v1=0, it changes all node numbers.
 
void slotEditNodeNumberDistance (int v1=0, int newSize=0)
 Changes the distance of one or all node numbers from their nodes. Called from Edit menu option and DialogSettings if newDistance=0, asks the user to enter a new node number distance if v1=0, it changes all node number distances.
 
void slotEditNodeNumbersColor (const int &v1=0, QColor color=QColor())
 Changes the text color of all node numbers Called from Edit menu option and Settings dialog. If color is invalid, asks the user to enter a new node number color.
 
void slotEditNodeLabelSize (const int v1=0, int newSize=0)
 Changes the size of one or all node Labels. Called from Edit menu option and DialogSettings if newSize=0, asks the user to enter a new node Label font size if v1=0, it changes all node Labels.
 
void slotEditNodeLabelsColor (QColor color=QColor())
 Changes the color of all node labels. Asks the user to enter a new node label color.
 
void slotEditNodeLabelDistance (int v1=0, int newSize=0)
 MainWindow::slotEditNodeLabelDistance Changes the distance of one or all node label from their nodes. Called from Edit menu option and DialogSettings if newDistance=0, asks the user to enter a new node label distance if v1=0, it changes all node label distances.
 
void slotEditEdgeClicked (const MyEdge &edge=MyEdge(), const bool &openMenu=false)
 Displays information about the clicked edge on the statusbar.
 
void slotEditEdgeOpenContextMenu (const QString &str="")
 Popups a context menu with edge-related options Called when the user right-clicks on an edge.
 
void slotEditEdgeAdd ()
 Opens dialogs for the user to specify the source and the target node of a new edge.
 
void slotEditEdgeCreate (const int &source, const int &target, const qreal &weight=1)
 Handles UI requests to create new edges, when the user clicks the menu item or doubles-clicks two nodes.
 
void slotEditEdgeRemove ()
 Removes a clicked edge. Otherwise asks the user to specify one edge.
 
void slotEditEdgeLabel ()
 Changes the label of an edge.
 
void slotEditEdgeColor ()
 Changes the color of the clicked edge. If no edge is clicked, then it asks the user to specify one.
 
void slotEditEdgeWeight ()
 Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
 
void slotEditEdgeColorAll (QColor color=QColor(), const int threshold=RAND_MAX)
 Changes the color of all edges weighted below threshold to parameter color.
 
void slotEditEdgeMode (const int &mode)
 Toggles between directed (mode=0) and undirected edges (mode=1)
 
void slotEditEdgeSymmetrizeAll ()
 Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B, then a new arc from Node B to Node is created of the same weight. Thus, all arcs become reciprocal and the network becomes symmetric with a symmetric adjacency matrix.
 
void slotEditEdgeSymmetrizeStrongTies ()
 MainWindow::slotEditEdgeSymmetrizeStrongTies.
 
void slotEditEdgeSymmetrizeCocitation ()
 Adds a new cocitation symmetric relation to the network.
 
void slotEditEdgeUndirectedAll (const bool &toggle)
 Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
 
void slotEditEdgeDichotomizationDialog ()
 Opens up the edge dichotomization dialog.
 
void slotEditEdgeDichotomization (const qreal threshold)
 Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge dichotomization according to threshold value.
 
void slotFilterNodes ()
 
void slotEditFilterNodesIsolates (bool checked)
 Toggles the status of all isolated vertices.
 
void slotEditFilterEdgesByWeightDialog ()
 Shows a dialog where the user can specify how to filter edges by their weight.
 
void slotEditFilterEdgesUnilateral (bool checked)
 Toggles the status of all unilateral edges.
 
void slotEditTransformNodes2Edges ()
 
void slotLayoutRandom ()
 Calls Graph::layoutRandom to reposition all nodes on a random layout.
 
void slotLayoutRadialRandom ()
 Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
 
void slotLayoutRadialByProminenceIndex ()
 Runs when the user selects a radial layout menu option.
 
void slotLayoutRadialByProminenceIndex (QString prominenceIndexName)
 Applies a radial layout on the social network, where each node is placed on concentric circles according to their index score.
 
void slotLayoutLevelByProminenceIndex ()
 Runs when the user selects a radial layout menu option.
 
void slotLayoutLevelByProminenceIndex (QString prominenceIndexName)
 Applies a level layout on the social network, where each node is placed on different top-down levels according to their index score.
 
void slotLayoutNodeSizeByProminenceIndex ()
 Runs when the user selects a color layout menu option.
 
void slotLayoutNodeSizeByProminenceIndex (QString prominenceIndexName)
 Applies a node size layout on the social network, where the size of each of node is analogous to their index score.
 
void slotLayoutNodeColorByProminenceIndex ()
 Runs when the user selects a color layout menu option.
 
void slotLayoutNodeColorByProminenceIndex (QString prominenceIndexName)
 Applies a color layout on the social network. Changes the colors of all nodes according to their index score.
 
void slotLayoutSpringEmbedder ()
 Calls Graph::layoutForceDirectedSpringEmbedder to embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.
 
void slotLayoutFruchterman ()
 Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repelling-attracting forces to the network. Called from menu or toolbox.
 
void slotLayoutKamadaKawai ()
 Layouts the network according to the Kamada-Kawai FDP model.
 
void slotLayoutColorationStrongStructural ()
 
void slotLayoutColorationRegular ()
 
void slotLayoutGuides (const bool &toggle)
 Shows or hides (clears) layout guides.
 
void askAboutEdgeWeights (const bool userTriggered=false)
 If the network has weighted / valued edges, it asks the user if the app should consider weights or not.
 
void slotAnalyzeReciprocity ()
 
void slotAnalyzeSymmetryCheck ()
 
void slotAnalyzeMatrixAdjacencyInverse ()
 Writes the adjacency matrix inverse.
 
void slotAnalyzeMatrixAdjacencyTranspose ()
 Writes the transpose adjacency matrix.
 
void slotAnalyzeMatrixAdjacencyCocitation ()
 Writes the cocitation matrix.
 
void slotAnalyzeMatrixDegree ()
 Writes the degree matrix of the graph.
 
void slotAnalyzeMatrixLaplacian ()
 Writes the Laplacian matrix of the graph.
 
void slotAnalyzeClusteringCoefficient ()
 Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file, and displays it.
 
void slotAnalyzeMatrixDistances ()
 Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
 
void slotAnalyzeMatrixGeodesics ()
 Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes in the loaded network), then displays it.
 
void slotAnalyzeDistance ()
 Handles requests to compute the graph/geodesic distance between two user-specified nodes.
 
void slotAnalyzeDistanceAverage ()
 Displays the average shortest path length (average graph distance)
 
void slotAnalyzeDiameter ()
 Displays the network diameter (largest geodesic)
 
void slotAnalyzeEccentricity ()
 
void slotAnalyzeWalksLength ()
 
void slotAnalyzeWalksTotal ()
 Calls Graph:: writeWalksTotalMatrixPlainText() to calculate and print the total number of walks of any length , between each pair of nodes.
 
void slotAnalyzeReachabilityMatrix ()
 
void slotAnalyzeConnectedness ()
 Reports the network connectedness.
 
void slotAnalyzeCentralityDegree ()
 
void slotAnalyzeCentralityCloseness ()
 
void slotAnalyzeCentralityClosenessIR ()
 MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) indices into a file, then displays it.
 
void slotAnalyzeCentralityBetweenness ()
 
void slotAnalyzeCentralityInformation ()
 MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file, then displays it.
 
void slotAnalyzeCentralityEigenvector ()
 Writes Eigenvector Centralities into a file, then displays it.
 
void slotAnalyzeCentralityStress ()
 MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
 
void slotAnalyzeCentralityPower ()
 MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file, then displays it.
 
void slotAnalyzeCentralityEccentricity ()
 MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file, then displays it.
 
void slotAnalyzePrestigeDegree ()
 
void slotAnalyzePrestigePageRank ()
 
void slotAnalyzePrestigeProximity ()
 MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file, then displays them.
 
void slotAnalyzeProminenceDistributionChartUpdate (QAbstractSeries *series, QAbstractAxis *axisX, const qreal &min, const qreal &max, QAbstractAxis *axisY=Q_NULLPTR, const qreal &minF=0, const qreal &maxF=0)
 Updates the prominence distribution miniChart Called from Graph after computing the prominence index distribution.
 
void slotAnalyzeCommunitiesCliqueCensus ()
 Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
 
void slotAnalyzeCommunitiesTriadCensus ()
 
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog ()
 Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
 
void slotAnalyzeStrEquivalenceClusteringHierarchical (const QString &matrix, const QString &varLocation, const QString &metric, const QString &method, const bool &diagonal=false, const bool &diagram=false)
 Called from DialogClusteringHierarchical with user choices. Calls Graph::writeClusteringHierarchical() to compute and write HCA and displays the report.
 
void slotAnalyzeStrEquivalenceDissimilaritiesDialog ()
 Displays the DialogDissimilarities dialog.
 
void slotAnalyzeStrEquivalenceDissimilaritiesTieProfile (const QString &metric, const QString &varLocation, const bool &diagonal)
 Invokes calculation of pair-wise tie profile dissimilarities of the network, then displays it.
 
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog ()
 Displays the DialogSimilarityMatches dialog.
 
void slotAnalyzeStrEquivalenceSimilarityByMeasure (const QString &matrix, const QString &varLocation, const QString &measure, const bool &diagonal)
 Calls Graph::writeMatrixSimilarityMatching() to write a similarity matrix according to given measure into a file, and displays it.
 
void slotAnalyzeStrEquivalencePearsonDialog ()
 Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
 
void slotAnalyzeStrEquivalencePearson (const QString &matrix, const QString &varLocation, const bool &diagonal=false)
 Calls Graph::writeMatrixSimilarityPearson() to write Pearson Correlation Coefficients into a file, and displays it.
 
void slotOpenSettingsDialog ()
 Opens the Settings dialog.
 
void slotOptionsNodeNumbersVisibility (bool toggle)
 MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside ones)
 
void slotOptionsNodeNumbersInside (bool toggle)
 MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
 
void slotOptionsNodeLabelsVisibility (bool toggle)
 MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
 
void slotOptionsEdgesVisibility (bool toggle)
 MainWindow::slotOptionsEdgesVisibility.
 
void slotOptionsEdgeOffsetFromNode (const int &offset, const int &v1=0, const int &v2=0)
 Changes the distance of edge arrows from nodes Called from Edit menu option and DialogSettings if offset=0, asks the user to enter a new offset if v1=0 and v2=0, it changes all edges.
 
void slotOptionsEdgeLabelsVisibility (bool toggle)
 MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
 
void slotOptionsEdgeWeightNumbersVisibility (bool toggle)
 Turns on/off displaying edge weight numbers.
 
void slotOptionsEdgeWeightsDuringComputation (bool)
 Toggles edge weights during computations.
 
void slotOptionsEdgeThicknessPerWeight (bool toggle)
 MainWindow::slotOptionsEdgeThicknessPerWeight.
 
void slotOptionsEdgesBezier (bool toggle)
 
void slotOptionsEdgeArrowsVisibility (bool toggle)
 Turns on/off the arrows of edges.
 
void slotOptionsSaveZeroWeightEdges (bool toggle)
 Turns on/off saving zero-edge edge weights (only for GraphML at the moment)
 
void slotOptionsEmbedLogoExporting (bool toggle)
 MainWindow::slotOptionsEmbedLogoExporting.
 
void slotOptionsProgressDialogVisibility (bool toggle)
 Turns progress dialogs on or off.
 
void slotOptionsWindowToolbarVisibility (bool toggle)
 Turns Toolbar on or off.
 
void slotOptionsWindowStatusbarVisibility (bool toggle)
 Turns window statusbar on or off.
 
void slotOptionsWindowLeftPanelVisibility (bool toggle)
 Toggles left panel.
 
void slotOptionsWindowRightPanelVisibility (bool toggle)
 Toggles right panel.
 
void slotOptionsWindowFullScreen (bool toggle)
 Toggles full screen mode (F11)
 
void slotOptionsDebugMessages (bool toggle)
 Turns debugging messages on or off.
 
void slotOptionsBackgroundColor (QColor color=QColor())
 Called from Options menu and Settings dialog.
 
void slotOptionsBackgroundImageSelect (bool toggle)
 Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an image file Called from app menu option.
 
void slotOptionsBackgroundImage ()
 Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog and.
 
void slotOptionsCanvasOpenGL (const bool &toggle=false)
 Turns opengl on or off.
 
void slotOptionsCanvasAntialiasing (bool toggle)
 Turns antialiasing on or off.
 
void slotOptionsCanvasAntialiasingAutoAdjust (const bool &toggle=false)
 Turns antialiasing auto-adjustment on or off.
 
void slotOptionsCanvasSmoothPixmapTransform (const bool &toggle=false)
 Turns smooth pixmap transformations on or off.
 
void slotOptionsCanvasSavePainterState (const bool &toggle=false)
 Turns saving painter state on or off.
 
void slotOptionsCanvasCacheBackground (const bool &toggle=false)
 Turns caching of canvas background on or off.
 
void slotOptionsCanvasEdgeHighlighting (const bool &toggle=false)
 Turns selected edge highlighting.
 
void slotOptionsCanvasUpdateMode (const QString &mode)
 Sets canvas update mode.
 
void slotOptionsCanvasIndexMethod (const QString &method)
 Changes the indexing method of the graphics scene.
 
void slotHelpTips ()
 
void slotHelp ()
 Opens the system web browser to load the online Manual.
 
void slotHelpCheckUpdateDialog ()
 On user demand, makes a network request to SocNetV website to download the latest version text file.
 
void slotHelpCheckUpdateParse ()
 Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
 
void slotHelpCreateTips ()
 
void slotHelpSystemInfo ()
 Shows a dialog with system information for bug reporting purposes.
 
void slotHelpAbout ()
 
void slotAboutQt ()
 
void slotHelpMessageToUserInfo (const QString text=QString())
 Helper function to display a popup with useful info.
 
void slotHelpMessageToUserError (const QString text=QString())
 Helper function to display a popup with an error message.
 
int slotHelpMessageToUser (const int type=0, const QString statusMsg=QString(), const QString text=QString(), const QString info=QString(), QMessageBox::StandardButtons buttons=QMessageBox::NoButton, QMessageBox::StandardButton defBtn=QMessageBox::Ok, const QString btn1=QString(), const QString btn2=QString())
 Displays a popup with the given text/info and a status message.
 
void slotNetworkManagerSslErrors (QNetworkReply *reply, const QList< QSslError > &errors)
 Shows a message box to the user when the Network Manager encounters any SSL error.
 
void slotNetworkManagerReplyError (const QNetworkReply::NetworkError &code)
 Shows a message box to the user when a NetworkReply encounters errors.
 
void statusMessage (const QString)
 Shows a message in the status bar, with the given duration.
 
void toolBoxNetworkAutoCreateSelectChanged (const int &selectedIndex)
 Called when user selects something in the Network Auto Create selectbox of the toolbox.
 
void toolBoxEditNodeSubgraphSelectChanged (const int &selectedIndex)
 Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
 
void toolBoxEditEdgeTransformSelectChanged (const int &selectedIndex)
 Called when user selects something in the Edge Transform selectbox of the toolbox.
 
void toolBoxAnalysisMatricesSelectChanged (const int &selectedIndex)
 Called when user selects something in the Matrices selectbox of the toolbox.
 
void toolBoxAnalysisCohesionSelectChanged (const int &selectedIndex)
 Called when user selects something in the Cohesion selectbox of the toolbox to compute basic graph theoretic / network properties.
 
void toolBoxAnalysisStrEquivalenceSelectChanged (const int &selectedIndex)
 Called when the user selects something in the Structural Equivalence selectbox of the toolbox.
 
void toolBoxAnalysisProminenceSelectChanged (const int &selectedIndex)
 Called when user selects something in the Prominence selectbox of the toolbox.
 
void toolBoxAnalysisCommunitiesSelectChanged (const int &selectedIndex)
 Called when the user selects something in the Communities selectbox of the toolbox.
 
void toolBoxLayoutByIndexApplyBtnPressed ()
 Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.
 
void toolBoxLayoutForceDirectedApplyBtnPressed ()
 Called when the user selects a model in the Layout by Force Directed selectbox of left panel.
 
void slotProgressBoxCreate (const int &max=0, const QString &msg="Please wait...")
 Creates a Qt Progress Dialog if max = 0, then max becomes equal to active vertices*.
 
void slotProgressBoxDestroy (const int &max=0)
 Destroys the first in queue Progress dialog.
 

Signals

void signalRelationAddAndChange (const QString &relName, const bool &changeRelation=true)
 
void signalSetReportsDataDir (const QString &dataDir)
 

Public Member Functions

 MainWindow (const QString &m_fileName=QString(), const bool &forceProgress=false, const bool &maximized=false, const bool &fullscreen=false, const int &debugLevel=0)
 Constructs the MainWindow (MW) object.
 
 ~MainWindow ()
 Deletes variables on MW closing.
 
void slotStyleSheetDefault (const bool checked)
 Toggles the use of our own Qt StyleSheet.
 
void slotStyleSheetByName (const QString &sheetFileName)
 Loads a custom Qt StyleSheet (.qss file)
 
void polishProgressDialog (QProgressDialog *dialog)
 Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750, QTBUG-70357. QProgressDialog too small and too narrow to fit the text of its label.
 
void initGraph ()
 Initializes the Graph.
 
void terminateThreads (const QString &reason)
 Terminates any remaining threads.
 
void initView ()
 Initializes our graphics widget, the canvas where we draw networks.
 
void initActions ()
 Initializes all QActions of the application.
 
void initMenuBar ()
 Populates the menu bar with our menu items.
 
void initToolBar ()
 Initializes the toolbar.
 
void initPanels ()
 Creates docked panels for instant access to main app functionalities and displaying statistics.
 
void initWindowLayout ()
 Initializes the application window layout.
 
void initSignalSlots ()
 Connects signals & slots between various parts of the app.
 
QMap< QString, QString > initSettings (const int &debugLevel=0, const bool &forceProgress=false)
 Reads user-defined settings (or uses defaults) and initializes some app settings.
 
void initNetworkAvailableTextCodecs ()
 Setup a list of all text codecs supported by OS.
 
void saveSettings ()
 Saves default (or user-defined) app settings.
 
void initApp ()
 Initializes the default app parameters.
 
void initComboBoxes ()
 Initializes combo boxes in the MW.
 
void setLastPath (const QString &filePath)
 Sets the last path used by user to open/save a network and adds the file to recent files...
 
QString getLastPath ()
 Returns the last path used by user to open/save something.
 
void createFortuneCookies ()
 
int activeEdges ()
 
int activeNodes ()
 

Protected Member Functions

void resizeEvent (QResizeEvent *e)
 Called whenever the app window is resized.
 
void closeEvent (QCloseEvent *ce)
 Called when the application closes. Asks to write any unsaved network data.
 

Private Types

enum  { MaxRecentFiles = 5 }
 

Private Attributes

QThread graphThread
 
int progressCounter
 
int fileType
 
int nodesEstimatedSize
 
int edgesPerNodeEstimatedSize
 
int maxRandomlyCreatedNodes
 
int fortuneCookiesCounter
 
int initZoomIndex
 
int maxZoomIndex
 
bool inverseWeights
 
bool askedAboutWeights
 
QString fileName
 
QString previous_fileName
 
QString fileNameNoPath
 
QString progressMsg
 
QString initTextCodecName
 
QString userSelectedCodecName
 
QString settingsFilePath
 
QString settingsDir
 
QStringList fortuneCookie
 
QStringList tempFileNameNoPath
 
QStringList tips
 
QStringList prominenceIndexList
 
QStringList recentFiles
 
QStringList iconPathList
 
QStringList nodeShapeList
 
QMap< QString, QString > appSettings
 
QList< QTextCodec * > codecs
 
QList< TextEditor * > m_textEditors
 
QStack< QProgressDialog * > progressDialogs
 
QPrinter * printer
 
QPrinter * printerPDF
 
QNetworkAccessManager * networkManager
 
QGraphicsScene * scene
 
GraphicsWidgetgraphicsWidget
 
GraphactiveGraph
 
ChartminiChart
 
DialogWebCrawler * m_WebCrawlerDialog
 
DialogDataSetSelect * m_datasetSelectDialog
 
DialogExportPDF * m_dialogExportPDF
 
DialogExportImage * m_dialogExportImage
 
DialogNodeEdit * m_nodeEditDialog
 
DialogNodeFind * m_nodeFindDialog
 
DialogEdgeDichotomization * m_edgeDichotomizationDialog
 
DialogFilterEdgesByWeight * m_DialogEdgeFilterByWeight
 
DialogRandErdosRenyi * m_randErdosRenyiDialog
 
DialogRandSmallWorld * m_randSmallWorldDialog
 
DialogRandScaleFree * m_randScaleFreeDialog
 
DialogRandRegular * m_randRegularDialog
 
DialogRandLattice * m_randLatticeDialog
 
DialogSimilarityPearson * m_dialogSimilarityPearson
 
DialogSimilarityMatches * m_dialogSimilarityMatches
 
DialogDissimilarities * m_dialogdissimilarities
 
DialogClusteringHierarchical * m_dialogClusteringHierarchical
 
DialogSettings * m_settingsDialog
 
DialogSystemInfo * m_systemInfoDialog
 
DialogPreviewFile * m_dialogPreviewFile
 
QToolBar * toolBar
 
QGroupBox * leftPanel
 
QGroupBox * rightPanel
 
QComboBox * editRelationChangeCombo
 
QMenu * importSubMenu
 
QMenu * exportSubMenu
 
QMenu * editMenu
 
QMenu * analysisMenu
 
QMenu * helpMenu
 
QMenu * optionsMenu
 
QMenu * colorOptionsMenu
 
QMenu * edgeOptionsMenu
 
QMenu * nodeOptionsMenu
 
QMenu * editNodeMenu
 
QMenu * editEdgeMenu
 
QMenu * centrlMenu
 
QMenu * viewOptionsMenu
 
QMenu * layoutMenu
 
QMenu * cohesionMenu
 
QMenu * strEquivalenceMenu
 
QMenu * communitiesMenu
 
QMenu * connectivityMenu
 
QMenu * matrixMenu
 
QMenu * networkMenu
 
QMenu * randomNetworkMenu
 
QMenu * filterMenu
 
QMenu * recentFilesSubMenu
 
QMenu * randomLayoutMenu
 
QMenu * layoutRadialProminenceMenu
 
QMenu * layoutLevelProminenceMenu
 
QMenu * layoutForceDirectedMenu
 
QMenu * layoutNodeSizeProminenceMenu
 
QMenu * layoutNodeColorProminenceMenu
 
QMenu * colorationMenu
 
QComboBox * toolBoxNetworkAutoCreateSelect
 
QComboBox * toolBoxEditNodeSubgraphSelect
 
QComboBox * toolBoxEditEdgeModeSelect
 
QComboBox * toolBoxEditEdgeTransformSelect
 
QComboBox * toolBoxAnalysisCohesionSelect
 
QComboBox * toolBoxAnalysisStrEquivalenceSelect
 
QComboBox * toolBoxAnalysisProminenceSelect
 
QComboBox * toolBoxAnalysisCommunitiesSelect
 
QComboBox * toolBoxAnalysisMatricesSelect
 
QComboBox * toolBoxLayoutByIndexSelect
 
QComboBox * toolBoxLayoutByIndexTypeSelect
 
QComboBox * toolBoxLayoutForceDirectedSelect
 
QPushButton * toolBoxLayoutByIndexApplyButton
 
QPushButton * toolBoxLayoutForceDirectedApplyButton
 
QAction * zoomInAct
 
QAction * zoomOutAct
 
QAction * editRotateRightAct
 
QAction * editRotateLeftAct
 
QAction * editResetSlidersAct
 
QToolButton * zoomInBtn
 
QToolButton * zoomOutBtn
 
QToolButton * rotateLeftBtn
 
QToolButton * rotateRightBtn
 
QToolButton * resetSlidersBtn
 
QSlider * zoomSlider
 
QSlider * rotateSlider
 
QAction * networkNewAct
 
QAction * networkOpenAct
 
QAction * networkSaveAct
 
QAction * networkSaveAsAct
 
QAction * networkCloseAct
 
QAction * networkPrintAct
 
QAction * networkQuitAct
 
QAction * networkExportImageAct
 
QAction * networkExportPajek
 
QAction * networkExportPDFAct
 
QAction * networkExportDLAct
 
QAction * networkExportGWAct
 
QAction * networkExportSMAct
 
QAction * networkExportListAct
 
QAction * networkImportPajekAct
 
QAction * networkImportGMLAct
 
QAction * networkImportAdjAct
 
QAction * networkImportListAct
 
QAction * networkImportGraphvizAct
 
QAction * networkImportUcinetAct
 
QAction * networkImportTwoModeSM
 
QAction * networkViewFileAct
 
QAction * openTextEditorAct
 
QAction * networkViewSociomatrixAct
 
QAction * networkDataSetSelectAct
 
QAction * networkViewSociomatrixPlotAct
 
QAction * networkRandomErdosRenyiAct
 
QAction * networkRandomGaussianAct
 
QAction * networkRandomLatticeRingAct
 
QAction * networkRandomScaleFreeAct
 
QAction * networkRandomSmallWorldAct
 
QAction * networkRandomRegularSameDegreeAct
 
QAction * networkRandomLatticeAct
 
QAction * networkWebCrawlerAct
 
QAction * editMouseModeScrollAct
 
QAction * editMouseModeInteractiveAct
 
QAction * editNodeSelectNoneAct
 
QAction * editNodeSelectAllAct
 
QAction * editNodeSelectedToStarAct
 
QAction * editNodeSelectedToCycleAct
 
QAction * editNodeSelectedToLineAct
 
QAction * editNodeSelectedToCliqueAct
 
QAction * editNodeFindAct
 
QAction * editNodeAddAct
 
QAction * editNodeRemoveAct
 
QAction * editNodePropertiesAct
 
QAction * editEdgeAddAct
 
QAction * editEdgeRemoveAct
 
QAction * editNodeNumbersSizeAct
 
QAction * editNodeLabelsSizeAct
 
QAction * editNodeSizeAllAct
 
QAction * editNodeShapeAll
 
QAction * editEdgeLabelAct
 
QAction * editEdgeColorAct
 
QAction * editEdgeWeightAct
 
QAction * filterNodesAct
 
QAction * editFilterNodesIsolatesAct
 
QAction * editFilterEdgesByWeightAct
 
QAction * editFilterEdgesUnilateralAct
 
QAction * transformNodes2EdgesAct
 
QAction * editEdgeSymmetrizeAllAct
 
QAction * editEdgeSymmetrizeStrongTiesAct
 
QAction * editEdgeUndirectedAllAct
 
QAction * editEdgeDichotomizeAct
 
QAction * editNodeColorAll
 
QAction * editEdgeColorAllAct
 
QAction * editNodeNumbersColorAct
 
QAction * editNodeLabelsColorAct
 
QAction * editEdgesCocitationAct
 
QAction * optionsNodeNumbersVisibilityAct
 
QAction * optionsNodeLabelsVisibilityAct
 
QAction * optionsNodeNumbersInsideAct
 
QAction * optionsEdgeThicknessPerWeightAct
 
QAction * optionsEdgeWeightNumbersAct
 
QAction * optionsEdgesVisibilityAct
 
QAction * optionsEdgeArrowsAct
 
QAction * drawEdgesBezier
 
QAction * optionsEdgeWeightConsiderAct
 
QAction * optionsEdgeLabelsAct
 
QAction * backgroundImageAct
 
QAction * changeBackColorAct
 
QAction * fullScreenModeAct
 
QAction * openSettingsAct
 
QAction * helpAboutApp
 
QAction * helpAboutQt
 
QAction * helpApp
 
QAction * tipsApp
 
QAction * helpSystemInfoAct
 
QAction * helpCheckUpdatesApp
 
QAction * netDensity
 
QAction * analyzeGraphReciprocityAct
 
QAction * analyzeGraphSymmetryAct
 
QAction * analyzeGraphDistanceAct
 
QAction * averGraphDistanceAct
 
QAction * analyzeMatrixDistancesGeodesicAct
 
QAction * analyzeMatrixGeodesicsAct
 
QAction * analyzeGraphDiameterAct
 
QAction * analyzeGraphEccentricityAct
 
QAction * analyzeStrEquivalenceTieProfileDissimilaritiesAct
 
QAction * analyzeGraphWalksAct
 
QAction * analyzeGraphWalksTotalAct
 
QAction * analyzeMatrixReachabilityAct
 
QAction * analyzeGraphConnectednessAct
 
QAction * analyzeCommunitiesCliquesAct
 
QAction * clusteringCoefAct
 
QAction * analyzeCommunitiesTriadCensusAct
 
QAction * analyzeMatrixAdjTransposeAct
 
QAction * analyzeMatrixAdjInvertAct
 
QAction * analyzeMatrixAdjCocitationAct
 
QAction * analyzeMatrixDegreeAct
 
QAction * analyzeMatrixLaplacianAct
 
QAction * analyzeStrEquivalenceClusteringHierarchicalAct
 
QAction * analyzeStrEquivalencePearsonAct
 
QAction * analyzeStrEquivalenceMatchesAct
 
QAction * cDegreeAct
 
QAction * cInDegreeAct
 
QAction * cClosenessAct
 
QAction * cInfluenceRangeClosenessAct
 
QAction * cBetweennessAct
 
QAction * cInformationAct
 
QAction * cEigenvectorAct
 
QAction * cPageRankAct
 
QAction * cStressAct
 
QAction * cPowerAct
 
QAction * cEccentAct
 
QAction * cProximityPrestigeAct
 
QAction * layoutRandomAct
 
QAction * layoutRandomRadialAct
 
QAction * layoutGuidesAct
 
QAction * layoutRadialProminence_DC_Act
 
QAction * layoutRadialProminence_DP_Act
 
QAction * layoutRadialProminence_CC_Act
 
QAction * layoutRadialProminence_SC_Act
 
QAction * layoutRadialProminence_EC_Act
 
QAction * layoutRadialProminence_PC_Act
 
QAction * layoutRadialProminence_BC_Act
 
QAction * layoutRadialProminence_IC_Act
 
QAction * layoutRadialProminence_EVC_Act
 
QAction * layoutRadialProminence_IRCC_Act
 
QAction * layoutRadialProminence_PRP_Act
 
QAction * layoutRadialProminence_PP_Act
 
QAction * layoutLevelProminence_DC_Act
 
QAction * layoutLevelProminence_DP_Act
 
QAction * layoutLevelProminence_CC_Act
 
QAction * layoutLevelProminence_SC_Act
 
QAction * layoutLevelProminence_EC_Act
 
QAction * layoutLevelProminence_PC_Act
 
QAction * layoutLevelProminence_BC_Act
 
QAction * layoutLevelProminence_IC_Act
 
QAction * layoutLevelProminence_EVC_Act
 
QAction * layoutLevelProminence_IRCC_Act
 
QAction * layoutLevelProminence_PRP_Act
 
QAction * layoutLevelProminence_PP_Act
 
QAction * layoutNodeSizeProminence_DC_Act
 
QAction * layoutNodeSizeProminence_DP_Act
 
QAction * layoutNodeSizeProminence_CC_Act
 
QAction * layoutNodeSizeProminence_SC_Act
 
QAction * layoutNodeSizeProminence_EC_Act
 
QAction * layoutNodeSizeProminence_PC_Act
 
QAction * layoutNodeSizeProminence_BC_Act
 
QAction * layoutNodeSizeProminence_IC_Act
 
QAction * layoutNodeSizeProminence_EVC_Act
 
QAction * layoutNodeSizeProminence_IRCC_Act
 
QAction * layoutNodeSizeProminence_PRP_Act
 
QAction * layoutNodeSizeProminence_PP_Act
 
QAction * layoutNodeColorProminence_DC_Act
 
QAction * layoutNodeColorProminence_DP_Act
 
QAction * layoutNodeColorProminence_CC_Act
 
QAction * layoutNodeColorProminence_SC_Act
 
QAction * layoutNodeColorProminence_EC_Act
 
QAction * layoutNodeColorProminence_PC_Act
 
QAction * layoutNodeColorProminence_BC_Act
 
QAction * layoutNodeColorProminence_IC_Act
 
QAction * layoutNodeColorProminence_EVC_Act
 
QAction * layoutNodeColorProminence_IRCC_Act
 
QAction * layoutNodeColorProminence_PRP_Act
 
QAction * layoutNodeColorProminence_PP_Act
 
QAction * strongColorationAct
 
QAction * regularColorationAct
 
QAction * layoutFDP_Eades_Act
 
QAction * layoutFDP_FR_Act
 
QAction * layoutFDP_KamadaKawai_Act
 
QAction * editRelationNextAct
 
QAction * editRelationPreviousAct
 
QAction * editRelationAddAct
 
QAction * editRelationRenameAct
 
QAction * recentFileActs [MaxRecentFiles]
 
QLabel * rightPanelNetworkTypeLCD
 
QLabel * rightPanelEdgesLabel
 
QLabel * rightPanelClickedNodeHeaderLabel
 
QLabel * rightPanelNodesLCD
 
QLabel * rightPanelEdgesLCD
 
QLabel * rightPanelDensityLCD
 
QLabel * rightPanelClickedNodeLCD
 
QLabel * rightPanelClickedNodeInDegreeLCD
 
QLabel * rightPanelClickedNodeOutDegreeLCD
 
QLabel * rightPanelSelectedNodesLCD
 
QLabel * rightPanelSelectedEdgesLCD
 
QLabel * rightPanelSelectedEdgesLabel
 
QLabel * rightPanelClickedEdgeNameLabel
 
QLabel * rightPanelClickedEdgeNameLCD
 
QLabel * rightPanelClickedEdgeWeightLabel
 
QLabel * rightPanelClickedEdgeWeightLCD
 
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
 
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
 

Detailed Description

The base window of SocNetV contains all widgets and functionality.

It sets up the main window and provides a menubar, toolbar and statusbar. For the main view, an instance of class GraphicsWidget is created which creates a graphics widget.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MaxRecentFiles 

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( const QString &  m_fileName = QString(),
const bool &  forceProgress = false,
const bool &  maximized = false,
const bool &  fullscreen = false,
const int &  debugLevel = 0 
)

Constructs the MainWindow (MW) object.

Parameters
m_fileName
forceProgress
maximized
fullscreen
debugLevel

◆ ~MainWindow()

MainWindow::~MainWindow ( )

Deletes variables on MW closing.

Member Function Documentation

◆ activeEdges()

int MainWindow::activeEdges ( )

Returns the amount of enabled/active edges on the scene.

◆ activeNodes()

int MainWindow::activeNodes ( )

Returns the number of active nodes on the scene.

◆ askAboutEdgeWeights

void MainWindow::askAboutEdgeWeights ( const bool  userTriggered = false)
slot

If the network has weighted / valued edges, it asks the user if the app should consider weights or not.

◆ closeEvent()

void MainWindow::closeEvent ( QCloseEvent *  ce)
protected

Called when the application closes. Asks to write any unsaved network data.

Parameters
ce

◆ createFortuneCookies()

void MainWindow::createFortuneCookies ( )

Creates the fortune cookies displayed on the above message.

◆ getLastPath()

QString MainWindow::getLastPath ( )

Returns the last path used by user to open/save something.

◆ initActions()

void MainWindow::initActions ( )

Initializes all QActions of the application.

Take a breath, the listing below is HUGE.

Network menu actions

Edit menu actions

Layout menu actions

Analysis menu actions

Options menu actions

Help menu actions

◆ initApp()

void MainWindow::initApp ( )

Initializes the default app parameters.

Used on app start and when erasing a network to start a new one

Clear previous network data and reset user-selected settings

Clear graphicsWidget and reset settings and transformations

Clear Chart

Clear LCDs

Clear toolbox and menu checkboxes

◆ initComboBoxes()

void MainWindow::initComboBoxes ( )

Initializes combo boxes in the MW.

◆ initGraph()

void MainWindow::initGraph ( )

Initializes the Graph.

◆ initMenuBar()

void MainWindow::initMenuBar ( )

Populates the menu bar with our menu items.

NETWORK MENU

◆ initNetworkAvailableTextCodecs()

void MainWindow::initNetworkAvailableTextCodecs ( )

Setup a list of all text codecs supported by OS.

◆ initPanels()

void MainWindow::initPanels ( )

Creates docked panels for instant access to main app functionalities and displaying statistics.

◆ initSettings()

QMap< QString, QString > MainWindow::initSettings ( const int &  debugLevel = 0,
const bool &  forceProgress = false 
)

Reads user-defined settings (or uses defaults) and initializes some app settings.

◆ initSignalSlots()

void MainWindow::initSignalSlots ( )

Connects signals & slots between various parts of the app.

Signal/slots between:

◆ initToolBar()

void MainWindow::initToolBar ( )

Initializes the toolbar.

◆ initView()

void MainWindow::initView ( )

Initializes our graphics widget, the canvas where we draw networks.

The widget is a QGraphicsView, with a scene, and is the 'main' widget of the application.

◆ initWindowLayout()

void MainWindow::initWindowLayout ( )

Initializes the application window layout.

Creates helper widgets and sets the main layout of the MainWindow

◆ polishProgressDialog()

void MainWindow::polishProgressDialog ( QProgressDialog *  dialog)

Fixes known bugs in QProgressDialog class. i.e. Workaround for macOS-only Qt bug: QTBUG-65750, QTBUG-70357. QProgressDialog too small and too narrow to fit the text of its label.

Parameters
dialog

◆ resizeEvent()

void MainWindow::resizeEvent ( QResizeEvent *  e)
protected

Called whenever the app window is resized.

◆ saveSettings()

void MainWindow::saveSettings ( )

Saves default (or user-defined) app settings.

◆ setLastPath()

void MainWindow::setLastPath ( const QString &  filePath)

Sets the last path used by user to open/save a network and adds the file to recent files...

Parameters
filePath

◆ signalRelationAddAndChange

void MainWindow::signalRelationAddAndChange ( const QString &  relName,
const bool &  changeRelation = true 
)
signal

◆ signalSetReportsDataDir

void MainWindow::signalSetReportsDataDir ( const QString &  dataDir)
signal

◆ slotAboutQt

void MainWindow::slotAboutQt ( )
slot

Displays a short message about the Qt Toolbox.

◆ slotAnalyzeCentralityBetweenness

void MainWindow::slotAnalyzeCentralityBetweenness ( )
slot

Writes Betweenness Centralities into a file, then displays it.

◆ slotAnalyzeCentralityCloseness

void MainWindow::slotAnalyzeCentralityCloseness ( )
slot

Writes Closeness Centralities into a file, then displays it.

◆ slotAnalyzeCentralityClosenessIR

void MainWindow::slotAnalyzeCentralityClosenessIR ( )
slot

MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) indices into a file, then displays it.

◆ slotAnalyzeCentralityDegree

void MainWindow::slotAnalyzeCentralityDegree ( )
slot

Writes Out-Degree Centralities into a file, then displays it.

◆ slotAnalyzeCentralityEccentricity

void MainWindow::slotAnalyzeCentralityEccentricity ( )
slot

MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file, then displays it.

◆ slotAnalyzeCentralityEigenvector

void MainWindow::slotAnalyzeCentralityEigenvector ( )
slot

Writes Eigenvector Centralities into a file, then displays it.

◆ slotAnalyzeCentralityInformation

void MainWindow::slotAnalyzeCentralityInformation ( )
slot

MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file, then displays it.

◆ slotAnalyzeCentralityPower

void MainWindow::slotAnalyzeCentralityPower ( )
slot

MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file, then displays it.

◆ slotAnalyzeCentralityStress

void MainWindow::slotAnalyzeCentralityStress ( )
slot

MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.

◆ slotAnalyzeClusteringCoefficient

void MainWindow::slotAnalyzeClusteringCoefficient ( )
slot

Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file, and displays it.

◆ slotAnalyzeCommunitiesCliqueCensus

void MainWindow::slotAnalyzeCommunitiesCliqueCensus ( )
slot

Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.

◆ slotAnalyzeCommunitiesTriadCensus

void MainWindow::slotAnalyzeCommunitiesTriadCensus ( )
slot

Calls Graph to compute and write a triad census into a file, then displays it.

◆ slotAnalyzeConnectedness

void MainWindow::slotAnalyzeConnectedness ( )
slot

Reports the network connectedness.

◆ slotAnalyzeDiameter

void MainWindow::slotAnalyzeDiameter ( )
slot

Displays the network diameter (largest geodesic)

◆ slotAnalyzeDistance

void MainWindow::slotAnalyzeDistance ( )
slot

Handles requests to compute the graph/geodesic distance between two user-specified nodes.

The geodesic distance of two nodes is the length of the shortest path between them.

◆ slotAnalyzeDistanceAverage

void MainWindow::slotAnalyzeDistanceAverage ( )
slot

Displays the average shortest path length (average graph distance)

◆ slotAnalyzeEccentricity

void MainWindow::slotAnalyzeEccentricity ( )
slot

Writes Eccentricity indices into a file, then displays it.

◆ slotAnalyzeMatrixAdjacencyCocitation

void MainWindow::slotAnalyzeMatrixAdjacencyCocitation ( )
slot

Writes the cocitation matrix.

◆ slotAnalyzeMatrixAdjacencyInverse

void MainWindow::slotAnalyzeMatrixAdjacencyInverse ( )
slot

Writes the adjacency matrix inverse.

◆ slotAnalyzeMatrixAdjacencyTranspose

void MainWindow::slotAnalyzeMatrixAdjacencyTranspose ( )
slot

Writes the transpose adjacency matrix.

◆ slotAnalyzeMatrixDegree

void MainWindow::slotAnalyzeMatrixDegree ( )
slot

Writes the degree matrix of the graph.

◆ slotAnalyzeMatrixDistances

void MainWindow::slotAnalyzeMatrixDistances ( )
slot

Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.

◆ slotAnalyzeMatrixGeodesics

void MainWindow::slotAnalyzeMatrixGeodesics ( )
slot

Invokes calculation of the geodedics matrix (the number of shortest paths between each pair of nodes in the loaded network), then displays it.

◆ slotAnalyzeMatrixLaplacian

void MainWindow::slotAnalyzeMatrixLaplacian ( )
slot

Writes the Laplacian matrix of the graph.

◆ slotAnalyzePrestigeDegree

void MainWindow::slotAnalyzePrestigeDegree ( )
slot

Writes Degree Prestige indices (In-Degree Centralities) into a file, then displays it.

◆ slotAnalyzePrestigePageRank

void MainWindow::slotAnalyzePrestigePageRank ( )
slot

Writes PageRank Prestige indices into a file, then displays it.

◆ slotAnalyzePrestigeProximity

void MainWindow::slotAnalyzePrestigeProximity ( )
slot

MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file, then displays them.

◆ slotAnalyzeProminenceDistributionChartUpdate

void MainWindow::slotAnalyzeProminenceDistributionChartUpdate ( QAbstractSeries *  series,
QAbstractAxis *  axisX,
const qreal &  min,
const qreal &  max,
QAbstractAxis *  axisY = Q_NULLPTR,
const qreal &  minF = 0,
const qreal &  maxF = 0 
)
slot

Updates the prominence distribution miniChart Called from Graph after computing the prominence index distribution.

Parameters
series
axisX
min
max

◆ slotAnalyzeReachabilityMatrix

void MainWindow::slotAnalyzeReachabilityMatrix ( )
slot

Calls Graph:: writeReachabilityMatrixPlainText() to calculate and print the Reachability Matrix of the network.

◆ slotAnalyzeReciprocity

void MainWindow::slotAnalyzeReciprocity ( )
slot

Displays the arc and dyad reciprocity of the network

◆ slotAnalyzeStrEquivalenceClusteringHierarchical

void MainWindow::slotAnalyzeStrEquivalenceClusteringHierarchical ( const QString &  matrix,
const QString &  varLocation,
const QString &  metric,
const QString &  method,
const bool &  diagonal = false,
const bool &  diagram = false 
)
slot

Called from DialogClusteringHierarchical with user choices. Calls Graph::writeClusteringHierarchical() to compute and write HCA and displays the report.

Parameters
matrix
similarityMeasure
linkageCriterion
diagonal

◆ slotAnalyzeStrEquivalenceClusteringHierarchicalDialog

void MainWindow::slotAnalyzeStrEquivalenceClusteringHierarchicalDialog ( )
slot

Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.

◆ slotAnalyzeStrEquivalenceDissimilaritiesDialog

void MainWindow::slotAnalyzeStrEquivalenceDissimilaritiesDialog ( )
slot

Displays the DialogDissimilarities dialog.

◆ slotAnalyzeStrEquivalenceDissimilaritiesTieProfile

void MainWindow::slotAnalyzeStrEquivalenceDissimilaritiesTieProfile ( const QString &  metric,
const QString &  varLocation,
const bool &  diagonal 
)
slot

Invokes calculation of pair-wise tie profile dissimilarities of the network, then displays it.

Parameters
metric
varLocation
diagonal

◆ slotAnalyzeStrEquivalencePearson

void MainWindow::slotAnalyzeStrEquivalencePearson ( const QString &  matrix,
const QString &  varLocation,
const bool &  diagonal = false 
)
slot

Calls Graph::writeMatrixSimilarityPearson() to write Pearson Correlation Coefficients into a file, and displays it.

◆ slotAnalyzeStrEquivalencePearsonDialog

void MainWindow::slotAnalyzeStrEquivalencePearsonDialog ( )
slot

Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.

◆ slotAnalyzeStrEquivalenceSimilarityByMeasure

void MainWindow::slotAnalyzeStrEquivalenceSimilarityByMeasure ( const QString &  matrix,
const QString &  varLocation,
const QString &  measure,
const bool &  diagonal 
)
slot

Calls Graph::writeMatrixSimilarityMatching() to write a similarity matrix according to given measure into a file, and displays it.

◆ slotAnalyzeStrEquivalenceSimilarityMeasureDialog

void MainWindow::slotAnalyzeStrEquivalenceSimilarityMeasureDialog ( )
slot

Displays the DialogSimilarityMatches dialog.

◆ slotAnalyzeSymmetryCheck

void MainWindow::slotAnalyzeSymmetryCheck ( )
slot

Displays a box informing the user about the symmetry or not of the adjacency matrix

◆ slotAnalyzeWalksLength

void MainWindow::slotAnalyzeWalksLength ( )
slot

Calls Graph:: writeWalksOfLengthMatrixPlainText() to calculate and print the number of walks of a given length , between each pair of nodes.

◆ slotAnalyzeWalksTotal

void MainWindow::slotAnalyzeWalksTotal ( )
slot

Calls Graph:: writeWalksTotalMatrixPlainText() to calculate and print the total number of walks of any length , between each pair of nodes.

◆ slotEditDragModeScroll

void MainWindow::slotEditDragModeScroll ( bool  checked)
slot

Toggles the non-interactive scrollhand drag mode.

Parameters
checked

◆ slotEditDragModeSelection

void MainWindow::slotEditDragModeSelection ( bool  checked)
slot

Toggles the interactive/selection mouse drag mode.

Parameters
checked

◆ slotEditEdgeAdd

void MainWindow::slotEditEdgeAdd ( )
slot

Opens dialogs for the user to specify the source and the target node of a new edge.

Called when user clicks on the MW button/menu item "Add edge"

◆ slotEditEdgeClicked

void MainWindow::slotEditEdgeClicked ( const MyEdge edge = MyEdge(),
const bool &  openMenu = false 
)
slot

Displays information about the clicked edge on the statusbar.

Called by Graph when the user clicks on an edge or when we need to init the LCDs (i.e. clearing the graph).

Parameters
edge
openMenu

◆ slotEditEdgeColor

void MainWindow::slotEditEdgeColor ( )
slot

Changes the color of the clicked edge. If no edge is clicked, then it asks the user to specify one.

◆ slotEditEdgeColorAll

void MainWindow::slotEditEdgeColorAll ( QColor  color = QColor(),
const int  threshold = RAND_MAX 
)
slot

Changes the color of all edges weighted below threshold to parameter color.

If color is not valid, it opens a QColorDialog If threshold == RAND_MAX it changes the color of all edges.

Parameters
color= QColor()
threshold= RAND_MAX

◆ slotEditEdgeCreate

void MainWindow::slotEditEdgeCreate ( const int &  source,
const int &  target,
const qreal &  weight = 1 
)
slot

Handles UI requests to create new edges, when the user clicks the menu item or doubles-clicks two nodes.

Parameters
source
target
weight

◆ slotEditEdgeDichotomization

void MainWindow::slotEditEdgeDichotomization ( const qreal  threshold)
slot

Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge dichotomization according to threshold value.

◆ slotEditEdgeDichotomizationDialog

void MainWindow::slotEditEdgeDichotomizationDialog ( )
slot

Opens up the edge dichotomization dialog.

◆ slotEditEdgeLabel

void MainWindow::slotEditEdgeLabel ( )
slot

Changes the label of an edge.

◆ slotEditEdgeMode

void MainWindow::slotEditEdgeMode ( const int &  mode)
slot

Toggles between directed (mode=0) and undirected edges (mode=1)

Parameters
mode

◆ slotEditEdgeOpenContextMenu

void MainWindow::slotEditEdgeOpenContextMenu ( const QString &  str = "")
slot

Popups a context menu with edge-related options Called when the user right-clicks on an edge.

Parameters
str

◆ slotEditEdgeRemove

void MainWindow::slotEditEdgeRemove ( )
slot

Removes a clicked edge. Otherwise asks the user to specify one edge.

◆ slotEditEdgeSymmetrizeAll

void MainWindow::slotEditEdgeSymmetrizeAll ( )
slot

Symmetrizes the ties between every two connected nodes. If there is an arc from Node A to Node B, then a new arc from Node B to Node is created of the same weight. Thus, all arcs become reciprocal and the network becomes symmetric with a symmetric adjacency matrix.

◆ slotEditEdgeSymmetrizeCocitation

void MainWindow::slotEditEdgeSymmetrizeCocitation ( )
slot

Adds a new cocitation symmetric relation to the network.

In the new relation, there are ties only between pairs of nodes who were cocited by others.

◆ slotEditEdgeSymmetrizeStrongTies

void MainWindow::slotEditEdgeSymmetrizeStrongTies ( )
slot

◆ slotEditEdgeUndirectedAll

void MainWindow::slotEditEdgeUndirectedAll ( const bool &  toggle)
slot

Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.

◆ slotEditEdgeWeight

void MainWindow::slotEditEdgeWeight ( )
slot

Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.

◆ slotEditFilterEdgesByWeightDialog

void MainWindow::slotEditFilterEdgesByWeightDialog ( )
slot

Shows a dialog where the user can specify how to filter edges by their weight.

All edges weighted more (or less) than the specified weight will be disabled.

◆ slotEditFilterEdgesUnilateral

void MainWindow::slotEditFilterEdgesUnilateral ( bool  checked)
slot

Toggles the status of all unilateral edges.

Parameters
checked

◆ slotEditFilterNodesIsolates

void MainWindow::slotEditFilterNodesIsolates ( bool  checked)
slot

Toggles the status of all isolated vertices.

Parameters
checked

◆ slotEditNodeAdd

void MainWindow::slotEditNodeAdd ( )
slot

Adds a new random node.

Called when the "Add Node" btn is clicked

◆ slotEditNodeColorAll

void MainWindow::slotEditNodeColorAll ( QColor  color = QColor())
slot

Changes the color of all nodes to parameter color.

If the color is invalid, opens a QColorDialog to select a new node color for all nodes.

Parameters
color

◆ slotEditNodeFind

void MainWindow::slotEditNodeFind ( const QStringList &  nodeList,
const QString &  searchType,
const QString &  indexStr = QString() 
)
slot

Finds one or more nodes, according to their number, label or centrality score.

Parameters
list
searchType
indexStr

◆ slotEditNodeFindDialog

void MainWindow::slotEditNodeFindDialog ( )
slot

Opens the Find Node dialog.

◆ slotEditNodeInfoStatusBar

void MainWindow::slotEditNodeInfoStatusBar ( const int &  number,
const QPointF &  p,
const QString &  label,
const int &  inDegree,
const int &  outDegree 
)
slot

Displays information about the given node on the statusbar.

Usually called by Graph, after the user clicks on a node.

Parameters
number
p
label
inDegree
outDegree

◆ slotEditNodeLabelDistance

void MainWindow::slotEditNodeLabelDistance ( int  v1 = 0,
int  newDistance = 0 
)
slot

MainWindow::slotEditNodeLabelDistance Changes the distance of one or all node label from their nodes. Called from Edit menu option and DialogSettings if newDistance=0, asks the user to enter a new node label distance if v1=0, it changes all node label distances.

Parameters
v1
newDistance

◆ slotEditNodeLabelsColor

void MainWindow::slotEditNodeLabelsColor ( QColor  color = QColor())
slot

Changes the color of all node labels. Asks the user to enter a new node label color.

◆ slotEditNodeLabelSize

void MainWindow::slotEditNodeLabelSize ( const int  v1 = 0,
int  newSize = 0 
)
slot

Changes the size of one or all node Labels. Called from Edit menu option and DialogSettings if newSize=0, asks the user to enter a new node Label font size if v1=0, it changes all node Labels.

Parameters
v1
newSize

◆ slotEditNodeNumberDistance

void MainWindow::slotEditNodeNumberDistance ( int  v1 = 0,
int  newDistance = 0 
)
slot

Changes the distance of one or all node numbers from their nodes. Called from Edit menu option and DialogSettings if newDistance=0, asks the user to enter a new node number distance if v1=0, it changes all node number distances.

Parameters
v1
newDistance

◆ slotEditNodeNumbersColor

void MainWindow::slotEditNodeNumbersColor ( const int &  v1 = 0,
QColor  color = QColor() 
)
slot

Changes the text color of all node numbers Called from Edit menu option and Settings dialog. If color is invalid, asks the user to enter a new node number color.

Parameters
color

◆ slotEditNodeNumberSize

void MainWindow::slotEditNodeNumberSize ( int  v1 = 0,
int  newSize = 0,
const bool  prompt = true 
)
slot

Changes the size of one or all node numbers. Called from Edit menu option and DialogSettings if newSize=0, asks the user to enter a new node number font size if v1=0, it changes all node numbers.

Parameters
v1
newSize

◆ slotEditNodeOpenContextMenu

void MainWindow::slotEditNodeOpenContextMenu ( )
slot

MainWindow::slotEditNodeOpenContextMenu Called from GW when the user has right-clicked on a node Opens a node context menu with some options when the user right-clicks on a node.

◆ slotEditNodePosition

void MainWindow::slotEditNodePosition ( const int &  nodeNumber,
const int &  x,
const int &  y 
)
slot

Automatically runs, when the user moves a node on the canvas, to update new vertex coordinates in Graph, and show a status message.

Called from GraphicsWidget

Parameters
nodeNumber
x
y

◆ slotEditNodeProperties

void MainWindow::slotEditNodeProperties ( const QString &  label,
const int &  size,
const QString &  value,
const QColor &  color,
const QString &  shape,
const QString &  iconPath 
)
slot

Applies new (user-defined) values to all selected nodes Called on exit from DialogNodeEdit.

Parameters
label
size
value
color
shape

◆ slotEditNodePropertiesDialog

void MainWindow::slotEditNodePropertiesDialog ( )
slot

Opens the Node Properties dialog for the selected nodes. If no nodes are selected, prompts the user for a node number.

◆ slotEditNodeRemove

void MainWindow::slotEditNodeRemove ( )
slot

Handles requests to delete a node and the attached objects (edges, etc).

If the user has clicked on a node, it deletes it Else it asks for a nodeNumber to remove.

◆ slotEditNodeSelectAll

void MainWindow::slotEditNodeSelectAll ( )
slot

Selects all nodes.

◆ slotEditNodeSelectedToClique

void MainWindow::slotEditNodeSelectedToClique ( )
slot

Creates a complete subgraph (clique) from selected nodes.

◆ slotEditNodeSelectedToCycle

void MainWindow::slotEditNodeSelectedToCycle ( )
slot

Creates a cycle subgraph from selected nodes.

◆ slotEditNodeSelectedToLine

void MainWindow::slotEditNodeSelectedToLine ( )
slot

Creates a line subgraph from selected nodes.

◆ slotEditNodeSelectedToStar

void MainWindow::slotEditNodeSelectedToStar ( )
slot

Creates a star subgraph from selected nodes. User must choose a central node.

◆ slotEditNodeSelectNone

void MainWindow::slotEditNodeSelectNone ( )
slot

Selects no nodes.

◆ slotEditNodeShape

void MainWindow::slotEditNodeShape ( const int &  vertex = 0,
QString  shape = QString(),
QString  nodeIconPath = QString() 
)
slot

Change the shape of a node or all nodes. If shape == null, prompts the user a list of available node shapes to select. Then changes the shape of all nodes/vertices accordingly. If vertex is non-zero, changes the shape of that node only. Called when user clicks on Edit->Node > Change all nodes shapes Called from DialogSettings when the user has selected a new default node shape.

Parameters
shape
vertex

◆ slotEditNodeSizeAll

void MainWindow::slotEditNodeSizeAll ( int  newSize = 0,
const bool &  normalized = false 
)
slot

Changes the size of nodes to newSize.

If newSize = 0 asks the user a new size for all nodes If normalized = true, changes node sizes according to their amount

Parameters
newSize
normalized

◆ slotEditOpenContextMenu

void MainWindow::slotEditOpenContextMenu ( const QPointF &  mPos)
slot

Popups a context menu with options when the user right-clicks on the canvas.

Parameters
mPos

◆ slotEditRelationAdd

void MainWindow::slotEditRelationAdd ( const QString &  newRelationName)
slot

Adds a new relation to the relations combo.

Called from Graph when the network file parser or another Graph method demands a new relation to be added to the UI combo.

Parameters
newRelationName

◆ slotEditRelationAddPrompt

void MainWindow::slotEditRelationAddPrompt ( )
slot

Prompts the user to enter the name of a new relation.

On success, emits signal to Graph to change to the new relation.

◆ slotEditRelationChange

void MainWindow::slotEditRelationChange ( const int &  relIndex = RAND_MAX)
slot

Changes the editRelations combo box index to relIndex.

If relIndex==RAND_MAX the index is set to the last relation index

Parameters
relIndex

◆ slotEditRelationRename

void MainWindow::slotEditRelationRename ( )
slot

Prompts the user to enter a new name for the current relation.

◆ slotEditRelationsClear

void MainWindow::slotEditRelationsClear ( )
slot

Clears the relations combo.

◆ slotEditSelectionChanged

void MainWindow::slotEditSelectionChanged ( const int &  selNodes,
const int &  selEdges 
)
slot

Updates the UI (LCDs and Actions) after a change in the user-selected nodes/edges.

Parameters
nodes
edges

◆ slotEditTransformNodes2Edges

void MainWindow::slotEditTransformNodes2Edges ( )
slot

Transforms all nodes to edges TODO slotEditTransformNodes2Edges

◆ slotFilterNodes

void MainWindow::slotFilterNodes ( )
slot

Filters Nodes by their value
TODO slotFilterNodes

◆ slotHelp

void MainWindow::slotHelp ( )
slot

Opens the system web browser to load the online Manual.

◆ slotHelpAbout

void MainWindow::slotHelpAbout ( )
slot

Displays the following message!!

◆ slotHelpCheckUpdateDialog

void MainWindow::slotHelpCheckUpdateDialog ( )
slot

On user demand, makes a network request to SocNetV website to download the latest version text file.

◆ slotHelpCheckUpdateParse

void MainWindow::slotHelpCheckUpdateParse ( )
slot

Parses the reply from the network request we do in slotHelpCheckUpdateDialog.

Parameters
reply

◆ slotHelpCreateTips

void MainWindow::slotHelpCreateTips ( )
slot

Creates our tips.

◆ slotHelpMessageToUser

int MainWindow::slotHelpMessageToUser ( const int  type = 0,
const QString  statusMsg = QString(),
const QString  text = QString(),
const QString  info = QString(),
QMessageBox::StandardButtons  buttons = QMessageBox::NoButton,
QMessageBox::StandardButton  defBtn = QMessageBox::Ok,
const QString  btn1 = QString(),
const QString  btn2 = QString() 
)
slot

Displays a popup with the given text/info and a status message.

Parameters
type
statusMsg
text
info
buttons
defBtn
btn1
btn2
Returns

◆ slotHelpMessageToUserError

void MainWindow::slotHelpMessageToUserError ( const QString  text = QString())
slot

Helper function to display a popup with an error message.

Parameters
text

◆ slotHelpMessageToUserInfo

void MainWindow::slotHelpMessageToUserInfo ( const QString  text = QString())
slot

Helper function to display a popup with useful info.

Parameters
text

◆ slotHelpSystemInfo

void MainWindow::slotHelpSystemInfo ( )
slot

Shows a dialog with system information for bug reporting purposes.

◆ slotHelpTips

void MainWindow::slotHelpTips ( )
slot

Displays a random tip

◆ slotLayoutColorationRegular

void MainWindow::slotLayoutColorationRegular ( )
slot

TODO slotLayoutColorationRegular

◆ slotLayoutColorationStrongStructural

void MainWindow::slotLayoutColorationStrongStructural ( )
slot

TODO slotLayoutColorationStrongStructural

◆ slotLayoutFruchterman

void MainWindow::slotLayoutFruchterman ( )
slot

Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repelling-attracting forces to the network. Called from menu or toolbox.

◆ slotLayoutGuides

void MainWindow::slotLayoutGuides ( const bool &  toggle)
slot

Shows or hides (clears) layout guides.

Parameters
toggle

◆ slotLayoutKamadaKawai

void MainWindow::slotLayoutKamadaKawai ( )
slot

Layouts the network according to the Kamada-Kawai FDP model.

◆ slotLayoutLevelByProminenceIndex [1/2]

void MainWindow::slotLayoutLevelByProminenceIndex ( )
slot

Runs when the user selects a radial layout menu option.

Checks sender text() to find out what QMenu item was pressed and so the requested index

◆ slotLayoutLevelByProminenceIndex [2/2]

void MainWindow::slotLayoutLevelByProminenceIndex ( QString  prominenceIndexName = "")
slot

Applies a level layout on the social network, where each node is placed on different top-down levels according to their index score.

More prominent nodes are closer to the the top of the screen

Parameters
prominenceIndexName

◆ slotLayoutNodeColorByProminenceIndex [1/2]

void MainWindow::slotLayoutNodeColorByProminenceIndex ( )
slot

Runs when the user selects a color layout menu option.

Checks sender text() to find out what QMenu item was pressed and so the requested index

◆ slotLayoutNodeColorByProminenceIndex [2/2]

void MainWindow::slotLayoutNodeColorByProminenceIndex ( QString  prominenceIndexName = "")
slot

Applies a color layout on the social network. Changes the colors of all nodes according to their index score.

More prominent nodes have more warm colors

RED=rgb(255,0,0) most prominent BLUE=rgb(0,0,255) least prominent

Parameters
prominenceIndexName

◆ slotLayoutNodeSizeByProminenceIndex [1/2]

void MainWindow::slotLayoutNodeSizeByProminenceIndex ( )
slot

Runs when the user selects a color layout menu option.

Checks sender text() to find out what QMenu item was pressed and so the requested index

◆ slotLayoutNodeSizeByProminenceIndex [2/2]

void MainWindow::slotLayoutNodeSizeByProminenceIndex ( QString  prominenceIndexName = "")
slot

Applies a node size layout on the social network, where the size of each of node is analogous to their index score.

More prominent nodes are bigger.

Parameters
prominenceIndexName

◆ slotLayoutRadialByProminenceIndex [1/2]

void MainWindow::slotLayoutRadialByProminenceIndex ( )
slot

Runs when the user selects a radial layout menu option.

Checks sender text() to find out what QMenu item was pressed and so the requested index

◆ slotLayoutRadialByProminenceIndex [2/2]

void MainWindow::slotLayoutRadialByProminenceIndex ( QString  prominenceIndexName = "")
slot

Applies a radial layout on the social network, where each node is placed on concentric circles according to their index score.

More prominent nodes are closer to the centre of the screen.

Parameters
prominenceIndexName

◆ slotLayoutRadialRandom

void MainWindow::slotLayoutRadialRandom ( )
slot

Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.

◆ slotLayoutRandom

void MainWindow::slotLayoutRandom ( )
slot

Calls Graph::layoutRandom to reposition all nodes on a random layout.

◆ slotLayoutSpringEmbedder

void MainWindow::slotLayoutSpringEmbedder ( )
slot

Calls Graph::layoutForceDirectedSpringEmbedder to embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.

◆ slotNetworkChanged

void MainWindow::slotNetworkChanged ( const bool &  directed,
const int &  vertices,
const int &  edges,
const qreal &  density,
const bool &  needsSaving = true 
)
slot

Refreshes LCD values and toggles the networkSave icon, when the network has been modified.

Parameters
directed
vertices
edges
density
needsSaving

◆ slotNetworkClose

bool MainWindow::slotNetworkClose ( )
slot

Closes the current network, saving it if needed.

◆ slotNetworkDataSetRecreate

void MainWindow::slotNetworkDataSetRecreate ( const QString  m_fileName)
slot

Recreates famous and widely used data sets in network analysis studies.

Parameters
m_fileName

◆ slotNetworkDataSetSelect

void MainWindow::slotNetworkDataSetSelect ( )
slot

Displays the dataset selection dialog.

◆ slotNetworkExportDL

bool MainWindow::slotNetworkExportDL ( )
slot

TODO Exports the network to a DL-formatted file.

Returns

◆ slotNetworkExportGW

bool MainWindow::slotNetworkExportGW ( )
slot

TODO: Exports the network to a GW-formatted file

◆ slotNetworkExportImage

void MainWindow::slotNetworkExportImage ( const QString &  filename,
const QByteArray &  format,
const int &  quality,
const int &  compression 
)
slot

Exports the network to an image file.

Parameters
filename
format
quality
compression

◆ slotNetworkExportImageDialog

void MainWindow::slotNetworkExportImageDialog ( )
slot

Opens the Export to Image Dialog.

◆ slotNetworkExportList

bool MainWindow::slotNetworkExportList ( )
slot

TODO: Exports the network to a list-formatted file

◆ slotNetworkExportPajek

void MainWindow::slotNetworkExportPajek ( )
slot

Exports the network to a Pajek-formatted file Calls the relevant Graph method.

◆ slotNetworkExportPDF

void MainWindow::slotNetworkExportPDF ( QString &  pdfName,
const QPageLayout::Orientation &  orientation,
const int &  dpi,
const QPrinter::PrinterMode  printerMode = QPrinter::ScreenResolution,
const QPageSize &  pageSize = QPageSize(QPageSize::A4) 
)
slot

Exports the visible part of the network to a PDF Document.

Parameters
pdfName
orientation
dpi
printerMode
pageSize

◆ slotNetworkExportPDFDialog

void MainWindow::slotNetworkExportPDFDialog ( )
slot

Opens the Export to PDF Dialog.

◆ slotNetworkExportSM

void MainWindow::slotNetworkExportSM ( )
slot

Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method.

◆ slotNetworkFileChoose

void MainWindow::slotNetworkFileChoose ( QString  m_fileName = QString(),
int  fileFormat = -1,
const bool &  checkSelectFileType = true 
)
slot

Chooses a network file to load.

If m_fileName is empty, opens a file selection dialog Then calls slotNetworkFilePreview() Called on application loading from command line with filename parameter Called from slotNetworkImport* methods Called from slotNetworkFileLoadRecent

Parameters
m_fileName
fileFormat
checkSelectFileType

◆ slotNetworkFileDialogFileSelected

void MainWindow::slotNetworkFileDialogFileSelected ( const QString &  fileName)
slot

Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.

Parameters
fileName

◆ slotNetworkFileDialogFilterSelected

void MainWindow::slotNetworkFileDialogFilterSelected ( const QString &  filter)
slot

Called when user the selects a file filter (i.e. GraphML) in the fileDialog.

Parameters
filter

◆ slotNetworkFileDialogRejected

void MainWindow::slotNetworkFileDialogRejected ( )
slot

Displays a status message when the user aborts the file dialog.

◆ slotNetworkFileLoad

void MainWindow::slotNetworkFileLoad ( const QString &  fileNameToLoad,
const QString &  codecName,
const int &  fileFormat 
)
slot

Loads the given network file.

Inits the app, then calls the loadFile method of Graph.

Parameters
m_fileName
codecName
fileFormat

◆ slotNetworkFileLoaded

void MainWindow::slotNetworkFileLoaded ( const int &  type,
const QString &  fName = QString(),
const QString &  netName = QString(),
const int &  totalNodes = 0,
const int &  totalEdges = 0,
const qreal &  density = 0,
const qint64 &  elapsedTime = 0,
const QString &  message = QString() 
)
slot

Informs the user (and the MW) about the type of the network loaded.

Called from Parser/Graph when a network file is loaded to display the appropiate message.

Parameters
type
fName
netName
totalNodes
totalEdges
elapsedTime
message

◆ slotNetworkFileLoadRecent

void MainWindow::slotNetworkFileLoadRecent ( )
slot

Loads a selected file entry from the "Recent Files" menu.

◆ slotNetworkFilePreview

bool MainWindow::slotNetworkFilePreview ( const QString &  m_fileName,
const int &  fileFormat 
)
slot

Opens the preview dialog with the selected file contents.

The aim is to let the user see the file and possibly select the appropriate text codec.

Parameters
m_fileName
fileFormat
Returns

◆ slotNetworkFileRecentUpdateActions

void MainWindow::slotNetworkFileRecentUpdateActions ( )
slot

Updates the Recent Files QActions in the menu.

◆ slotNetworkFileView

void MainWindow::slotNetworkFileView ( )
slot

Displays the file of the loaded network.

If the network has been modified, it prompts the user to save the network, then view its file.

◆ slotNetworkImportAdjacency

void MainWindow::slotNetworkImportAdjacency ( )
slot

Imports a network from a Adjacency matrix formatted file.

◆ slotNetworkImportEdgeList

void MainWindow::slotNetworkImportEdgeList ( )
slot

Imports a network from a simple List or weighted List formatted file.

◆ slotNetworkImportGML

void MainWindow::slotNetworkImportGML ( )
slot

Imports a network from a GML formatted file.

◆ slotNetworkImportGraphML

void MainWindow::slotNetworkImportGraphML ( )
slot

Imports a network from a GraphML formatted file.

◆ slotNetworkImportGraphviz

void MainWindow::slotNetworkImportGraphviz ( )
slot

Imports a network from a Dot (GraphViz) formatted file.

◆ slotNetworkImportPajek

void MainWindow::slotNetworkImportPajek ( )
slot

Imports a network from a Pajek-like formatted file.

◆ slotNetworkImportTwoModeSM

void MainWindow::slotNetworkImportTwoModeSM ( )
slot

Imports a network from a two mode sociomatrix formatted file.

◆ slotNetworkImportUcinet

void MainWindow::slotNetworkImportUcinet ( )
slot

Imports a network from a UCINET formatted file.

◆ slotNetworkManagerReplyError

void MainWindow::slotNetworkManagerReplyError ( const QNetworkReply::NetworkError &  code)
slot

Shows a message box to the user when a NetworkReply encounters errors.

The message box contains info about the error code.

Parameters
code

◆ slotNetworkManagerRequest

void MainWindow::slotNetworkManagerRequest ( const QUrl &  url,
const NetworkRequestType requestType 
)
slot

Makes a network request to the given url.

Creates the QNetworkReply object to handle the reply.

Parameters
url
requestType

◆ slotNetworkManagerSslErrors

void MainWindow::slotNetworkManagerSslErrors ( QNetworkReply *  reply,
const QList< QSslError > &  errors 
)
slot

Shows a message box to the user when the Network Manager encounters any SSL error.

Parameters
reply
errors

◆ slotNetworkNew

void MainWindow::slotNetworkNew ( )
slot

Starts a new network (closing the current one).

◆ slotNetworkPrint

void MainWindow::slotNetworkPrint ( )
slot

Sends the active network to the printer.

◆ slotNetworkRandomErdosRenyi

void MainWindow::slotNetworkRandomErdosRenyi ( const int  newNodes,
const QString  model,
const int  edges,
const qreal  eprob,
const QString  mode,
const bool  diag 
)
slot

Creates an Erdos-Renyi random symmetric network.

Parameters
newNodes
model
edges
eprob
mode
diag

◆ slotNetworkRandomErdosRenyiDialog

void MainWindow::slotNetworkRandomErdosRenyiDialog ( )
slot

Shows a dialog to create an Erdos-Renyi random network.

◆ slotNetworkRandomGaussian

void MainWindow::slotNetworkRandomGaussian ( )
slot

◆ slotNetworkRandomLattice

void MainWindow::slotNetworkRandomLattice ( const int &  newNodes,
const int &  length,
const int &  dimension,
const int &  nei,
const QString &  mode,
const bool &  circular 
)
slot

Creates a 'random' lattice network, i.e. a connected network where every node has the same degree and is connected with its neighborhood.

A lattice is a network whose drawing forms a regular tiling Lattices are also known as meshes or grids.

Parameters
newNodes
length
dimension
nei
mode
circular

◆ slotNetworkRandomLatticeDialog

void MainWindow::slotNetworkRandomLatticeDialog ( )
slot

Shows a dialog to create a "random" lattice network.

◆ slotNetworkRandomRegular

void MainWindow::slotNetworkRandomRegular ( const int &  newNodes,
const int &  degree,
const QString &  mode,
const bool &  diag 
)
slot

Creates a pseudo-random d-regular network where every node has the same degree.

Parameters
newNodes
degree
mode
diag

◆ slotNetworkRandomRegularDialog

void MainWindow::slotNetworkRandomRegularDialog ( )
slot

Shows a dialog to create a d-regular random network.

◆ slotNetworkRandomRingLattice

void MainWindow::slotNetworkRandomRingLattice ( )
slot

Creates a ring lattice network.

A ring lattice is a network where each node has degree d:

  • d/2 edges to the "right"
  • d/2 edges to the "left"

◆ slotNetworkRandomScaleFree

void MainWindow::slotNetworkRandomScaleFree ( const int &  newNodes,
const int &  power,
const int &  initialNodes,
const int &  edgesPerStep,
const qreal &  zeroAppeal,
const QString &  mode 
)
slot

Creates a scale-free random network.

Parameters
nodes
power
initialNodes
edgesPerStep
zeroAppeal
mode

◆ slotNetworkRandomScaleFreeDialog

void MainWindow::slotNetworkRandomScaleFreeDialog ( )
slot

Shows a dialog to create a scale-free random network.

◆ slotNetworkRandomSmallWorld

void MainWindow::slotNetworkRandomSmallWorld ( const int &  newNodes,
const int &  degree,
const qreal &  beta,
const QString &  mode,
const bool &  diag 
)
slot

Creates a small-world random network.

Parameters
newNodes
degree
beta
mode
diag

◆ slotNetworkRandomSmallWorldDialog

void MainWindow::slotNetworkRandomSmallWorldDialog ( )
slot

Shows a dialog to create a small-world random network.

◆ slotNetworkSave

void MainWindow::slotNetworkSave ( const int &  fileFormat = -1)
slot

Saves the network to a file.

First, it checks if a fileName is currently set If not, calls slotNetworkSaveAs (which prompts for a fileName before returning here) If a fileName is set, it checks if fileFormat is supported and saves the network. If not supported, or the file is new, just tries to save in GraphML For other exporting options the user is informed to use the export menu.

Parameters
fileFormat

◆ slotNetworkSaveAs

void MainWindow::slotNetworkSaveAs ( )
slot

Prompts the user to save the network in a new file. Always uses the GraphML format and extension.

◆ slotNetworkSavedStatus

void MainWindow::slotNetworkSavedStatus ( const int &  status)
slot

Updates the 'save' status of the network.

Updates Save icon and window title (if saved) status > 0 means network has been saved status = 0 means network has changed and needs saving status < 0 means network has changed but there was an error saving it.

Parameters
status

◆ slotNetworkTextEditor

void MainWindow::slotNetworkTextEditor ( )
slot

Opens the embedded text editor.

◆ slotNetworkViewSociomatrix

void MainWindow::slotNetworkViewSociomatrix ( )
slot

Displays the adjacency matrix of the network.

It uses a different method for writing the matrix to a file. While slotNetworkExportSM uses << operator of Matrix class (via adjacencyMatrix of Graph class), this is using directly the writeMatrixAdjacency method of Graph class

◆ slotNetworkViewSociomatrixPlotText

void MainWindow::slotNetworkViewSociomatrixPlotText ( )
slot

Displays a text-only plot of the network adjacency matrix.

◆ slotNetworkWebCrawler

void MainWindow::slotNetworkWebCrawler ( const QUrl &  startUrl,
const QStringList &  urlPatternsIncluded,
const QStringList &  urlPatternsExcluded,
const QStringList &  linkClasses,
const int &  maxNodes,
const int &  maxLinksPerPage,
const bool &  intLinks,
const bool &  childLinks,
const bool &  parentLinks,
const bool &  selfLinks,
const bool &  extLinks,
const bool &  extLinksCrawl,
const bool &  socialLinks,
const bool &  delayedRequests 
)
slot

Starts the web crawler with the user options.

Parameters
startUrl
urlPatternsIncluded
urlPatternsExcluded
linkClasses
maxNodes
maxLinksPerPage
intLinks
childLinks
parentLinks
selfLinks
extLinks
extLinksCrawl
socialLinks
delayedRequests

◆ slotNetworkWebCrawlerDialog

void MainWindow::slotNetworkWebCrawlerDialog ( )
slot

Shows the web crawler dialog.

◆ slotOpenSettingsDialog

void MainWindow::slotOpenSettingsDialog ( )
slot

Opens the Settings dialog.

◆ slotOptionsBackgroundColor

void MainWindow::slotOptionsBackgroundColor ( QColor  color = QColor())
slot

Called from Options menu and Settings dialog.

Parameters
colorQColor

◆ slotOptionsBackgroundImage

void MainWindow::slotOptionsBackgroundImage ( )
slot

Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog and.

◆ slotOptionsBackgroundImageSelect

void MainWindow::slotOptionsBackgroundImageSelect ( bool  toggle)
slot

Toggles displaying a custom image in the background If toggle = true, presents a dialog to select an image file Called from app menu option.

Parameters
toggle

◆ slotOptionsCanvasAntialiasing

void MainWindow::slotOptionsCanvasAntialiasing ( bool  toggle)
slot

Turns antialiasing on or off.

Parameters
toggle

◆ slotOptionsCanvasAntialiasingAutoAdjust

void MainWindow::slotOptionsCanvasAntialiasingAutoAdjust ( const bool &  toggle = false)
slot

Turns antialiasing auto-adjustment on or off.

Parameters
toggle

◆ slotOptionsCanvasCacheBackground

void MainWindow::slotOptionsCanvasCacheBackground ( const bool &  toggle = false)
slot

Turns caching of canvas background on or off.

Parameters
toggle

◆ slotOptionsCanvasEdgeHighlighting

void MainWindow::slotOptionsCanvasEdgeHighlighting ( const bool &  toggle = false)
slot

Turns selected edge highlighting.

Parameters
toggle

◆ slotOptionsCanvasIndexMethod

void MainWindow::slotOptionsCanvasIndexMethod ( const QString &  method)
slot

Changes the indexing method of the graphics scene.

Called from Settings dialog.

Parameters
method

◆ slotOptionsCanvasOpenGL

void MainWindow::slotOptionsCanvasOpenGL ( const bool &  toggle = false)
slot

Turns opengl on or off.

Parameters
toggle

◆ slotOptionsCanvasSavePainterState

void MainWindow::slotOptionsCanvasSavePainterState ( const bool &  toggle = false)
slot

Turns saving painter state on or off.

Parameters
toggle

◆ slotOptionsCanvasSmoothPixmapTransform

void MainWindow::slotOptionsCanvasSmoothPixmapTransform ( const bool &  toggle = false)
slot

Turns smooth pixmap transformations on or off.

Parameters
toggle

◆ slotOptionsCanvasUpdateMode

void MainWindow::slotOptionsCanvasUpdateMode ( const QString &  mode)
slot

Sets canvas update mode.

Parameters
toggle

◆ slotOptionsDebugMessages

void MainWindow::slotOptionsDebugMessages ( bool  toggle)
slot

Turns debugging messages on or off.

Parameters
toggle

◆ slotOptionsEdgeArrowsVisibility

void MainWindow::slotOptionsEdgeArrowsVisibility ( bool  toggle)
slot

Turns on/off the arrows of edges.

Parameters
toggle

◆ slotOptionsEdgeLabelsVisibility

void MainWindow::slotOptionsEdgeLabelsVisibility ( bool  toggle)
slot

MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.

Parameters
toggle

◆ slotOptionsEdgeOffsetFromNode

void MainWindow::slotOptionsEdgeOffsetFromNode ( const int &  offset,
const int &  v1 = 0,
const int &  v2 = 0 
)
slot

Changes the distance of edge arrows from nodes Called from Edit menu option and DialogSettings if offset=0, asks the user to enter a new offset if v1=0 and v2=0, it changes all edges.

Parameters
v1
v2
offset

◆ slotOptionsEdgesBezier

void MainWindow::slotOptionsEdgesBezier ( bool  toggle)
slot

FIXME edges Bezier

◆ slotOptionsEdgesVisibility

void MainWindow::slotOptionsEdgesVisibility ( bool  toggle)
slot

◆ slotOptionsEdgeThicknessPerWeight

void MainWindow::slotOptionsEdgeThicknessPerWeight ( bool  toggle)
slot

◆ slotOptionsEdgeWeightNumbersVisibility

void MainWindow::slotOptionsEdgeWeightNumbersVisibility ( bool  toggle)
slot

Turns on/off displaying edge weight numbers.

Parameters
toggle

◆ slotOptionsEdgeWeightsDuringComputation

void MainWindow::slotOptionsEdgeWeightsDuringComputation ( bool  toggle)
slot

Toggles edge weights during computations.

Parameters
toggle

◆ slotOptionsEmbedLogoExporting

void MainWindow::slotOptionsEmbedLogoExporting ( bool  toggle)
slot

◆ slotOptionsNodeLabelsVisibility

void MainWindow::slotOptionsNodeLabelsVisibility ( bool  toggle)
slot

MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.

Parameters
toggle

◆ slotOptionsNodeNumbersInside

void MainWindow::slotOptionsNodeNumbersInside ( bool  toggle)
slot

MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.

Parameters
toggle

◆ slotOptionsNodeNumbersVisibility

void MainWindow::slotOptionsNodeNumbersVisibility ( bool  toggle)
slot

MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside ones)

Parameters
toggle

◆ slotOptionsProgressDialogVisibility

void MainWindow::slotOptionsProgressDialogVisibility ( bool  toggle)
slot

Turns progress dialogs on or off.

Parameters
toggle

◆ slotOptionsSaveZeroWeightEdges

void MainWindow::slotOptionsSaveZeroWeightEdges ( bool  toggle)
slot

Turns on/off saving zero-edge edge weights (only for GraphML at the moment)

Parameters
toggle

◆ slotOptionsWindowFullScreen

void MainWindow::slotOptionsWindowFullScreen ( bool  toggle)
slot

Toggles full screen mode (F11)

Parameters
toggle

◆ slotOptionsWindowLeftPanelVisibility

void MainWindow::slotOptionsWindowLeftPanelVisibility ( bool  toggle)
slot

Toggles left panel.

Parameters
toggle

◆ slotOptionsWindowRightPanelVisibility

void MainWindow::slotOptionsWindowRightPanelVisibility ( bool  toggle)
slot

Toggles right panel.

Parameters
toggle

◆ slotOptionsWindowStatusbarVisibility

void MainWindow::slotOptionsWindowStatusbarVisibility ( bool  toggle)
slot

Turns window statusbar on or off.

Parameters
toggle

◆ slotOptionsWindowToolbarVisibility

void MainWindow::slotOptionsWindowToolbarVisibility ( bool  toggle)
slot

Turns Toolbar on or off.

Parameters
toggle

◆ slotProgressBoxCreate

void MainWindow::slotProgressBoxCreate ( const int &  max = 0,
const QString &  msg = "Please wait..." 
)
slot

Creates a Qt Progress Dialog if max = 0, then max becomes equal to active vertices*.

Parameters
max
msg

◆ slotProgressBoxDestroy

void MainWindow::slotProgressBoxDestroy ( const int &  max = 0)
slot

Destroys the first in queue Progress dialog.

◆ slotStyleSheetByName()

void MainWindow::slotStyleSheetByName ( const QString &  sheetFileName)

Loads a custom Qt StyleSheet (.qss file)

If sheetFileName is empty, the app uses platform-specific Qt style

Parameters
sheetFileName

◆ slotStyleSheetDefault()

void MainWindow::slotStyleSheetDefault ( const bool  checked = true)

Toggles the use of our own Qt StyleSheet.

The .qss file is defined in project resources

Parameters
checked

◆ statusMessage

void MainWindow::statusMessage ( const QString  message)
slot

Shows a message in the status bar, with the given duration.

Called by Graph::statusMessage to display some message to the user

Parameters
message

◆ terminateThreads()

void MainWindow::terminateThreads ( const QString &  reason)

Terminates any remaining threads.

Parameters
reason

◆ toolBoxAnalysisCohesionSelectChanged

void MainWindow::toolBoxAnalysisCohesionSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Cohesion selectbox of the toolbox to compute basic graph theoretic / network properties.

Parameters
selectedIndex

◆ toolBoxAnalysisCommunitiesSelectChanged

void MainWindow::toolBoxAnalysisCommunitiesSelectChanged ( const int &  selectedIndex)
slot

Called when the user selects something in the Communities selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxAnalysisMatricesSelectChanged

void MainWindow::toolBoxAnalysisMatricesSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Matrices selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxAnalysisProminenceSelectChanged

void MainWindow::toolBoxAnalysisProminenceSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Prominence selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxAnalysisStrEquivalenceSelectChanged

void MainWindow::toolBoxAnalysisStrEquivalenceSelectChanged ( const int &  selectedIndex)
slot

Called when the user selects something in the Structural Equivalence selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxEditEdgeTransformSelectChanged

void MainWindow::toolBoxEditEdgeTransformSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Edge Transform selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxEditNodeSubgraphSelectChanged

void MainWindow::toolBoxEditNodeSubgraphSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxLayoutByIndexApplyBtnPressed

void MainWindow::toolBoxLayoutByIndexApplyBtnPressed ( )
slot

Called when the user selects a Prominence index in the Layout selectbox of the Control Panel.

◆ toolBoxLayoutForceDirectedApplyBtnPressed

void MainWindow::toolBoxLayoutForceDirectedApplyBtnPressed ( )
slot

Called when the user selects a model in the Layout by Force Directed selectbox of left panel.

◆ toolBoxNetworkAutoCreateSelectChanged

void MainWindow::toolBoxNetworkAutoCreateSelectChanged ( const int &  selectedIndex)
slot

Called when user selects something in the Network Auto Create selectbox of the toolbox.

Parameters
selectedIndex

Field Documentation

◆ activeGraph

Graph* MainWindow::activeGraph
private

◆ analysisMenu

QMenu * MainWindow::analysisMenu
private

◆ analyzeCommunitiesCliquesAct

QAction* MainWindow::analyzeCommunitiesCliquesAct
private

◆ analyzeCommunitiesTriadCensusAct

QAction * MainWindow::analyzeCommunitiesTriadCensusAct
private

◆ analyzeGraphConnectednessAct

QAction * MainWindow::analyzeGraphConnectednessAct
private

◆ analyzeGraphDiameterAct

QAction* MainWindow::analyzeGraphDiameterAct
private

◆ analyzeGraphDistanceAct

QAction* MainWindow::analyzeGraphDistanceAct
private

◆ analyzeGraphEccentricityAct

QAction * MainWindow::analyzeGraphEccentricityAct
private

◆ analyzeGraphReciprocityAct

QAction * MainWindow::analyzeGraphReciprocityAct
private

◆ analyzeGraphSymmetryAct

QAction * MainWindow::analyzeGraphSymmetryAct
private

◆ analyzeGraphWalksAct

QAction* MainWindow::analyzeGraphWalksAct
private

◆ analyzeGraphWalksTotalAct

QAction * MainWindow::analyzeGraphWalksTotalAct
private

◆ analyzeMatrixAdjCocitationAct

QAction* MainWindow::analyzeMatrixAdjCocitationAct
private

◆ analyzeMatrixAdjInvertAct

QAction * MainWindow::analyzeMatrixAdjInvertAct
private

◆ analyzeMatrixAdjTransposeAct

QAction* MainWindow::analyzeMatrixAdjTransposeAct
private

◆ analyzeMatrixDegreeAct

QAction* MainWindow::analyzeMatrixDegreeAct
private

◆ analyzeMatrixDistancesGeodesicAct

QAction* MainWindow::analyzeMatrixDistancesGeodesicAct
private

◆ analyzeMatrixGeodesicsAct

QAction * MainWindow::analyzeMatrixGeodesicsAct
private

◆ analyzeMatrixLaplacianAct

QAction * MainWindow::analyzeMatrixLaplacianAct
private

◆ analyzeMatrixReachabilityAct

QAction * MainWindow::analyzeMatrixReachabilityAct
private

◆ analyzeStrEquivalenceClusteringHierarchicalAct

QAction* MainWindow::analyzeStrEquivalenceClusteringHierarchicalAct
private

◆ analyzeStrEquivalenceMatchesAct

QAction* MainWindow::analyzeStrEquivalenceMatchesAct
private

◆ analyzeStrEquivalencePearsonAct

QAction * MainWindow::analyzeStrEquivalencePearsonAct
private

◆ analyzeStrEquivalenceTieProfileDissimilaritiesAct

QAction* MainWindow::analyzeStrEquivalenceTieProfileDissimilaritiesAct
private

◆ appSettings

QMap<QString,QString> MainWindow::appSettings
private

◆ askedAboutWeights

bool MainWindow::askedAboutWeights
private

◆ averGraphDistanceAct

QAction * MainWindow::averGraphDistanceAct
private

◆ backgroundImageAct

QAction* MainWindow::backgroundImageAct
private

◆ cBetweennessAct

QAction * MainWindow::cBetweennessAct
private

◆ cClosenessAct

QAction * MainWindow::cClosenessAct
private

◆ cDegreeAct

QAction* MainWindow::cDegreeAct
private

◆ cEccentAct

QAction * MainWindow::cEccentAct
private

◆ cEigenvectorAct

QAction * MainWindow::cEigenvectorAct
private

◆ centrlMenu

QMenu * MainWindow::centrlMenu
private

◆ changeBackColorAct

QAction * MainWindow::changeBackColorAct
private

◆ cInDegreeAct

QAction * MainWindow::cInDegreeAct
private

◆ cInfluenceRangeClosenessAct

QAction * MainWindow::cInfluenceRangeClosenessAct
private

◆ cInformationAct

QAction * MainWindow::cInformationAct
private

◆ clusteringCoefAct

QAction * MainWindow::clusteringCoefAct
private

◆ codecs

QList<QTextCodec *> MainWindow::codecs
private

◆ cohesionMenu

QMenu* MainWindow::cohesionMenu
private

◆ colorationMenu

QMenu* MainWindow::colorationMenu
private

◆ colorOptionsMenu

QMenu * MainWindow::colorOptionsMenu
private

◆ communitiesMenu

QMenu * MainWindow::communitiesMenu
private

◆ connectivityMenu

QMenu * MainWindow::connectivityMenu
private

◆ cPageRankAct

QAction * MainWindow::cPageRankAct
private

◆ cPowerAct

QAction * MainWindow::cPowerAct
private

◆ cProximityPrestigeAct

QAction * MainWindow::cProximityPrestigeAct
private

◆ cStressAct

QAction * MainWindow::cStressAct
private

◆ drawEdgesBezier

QAction * MainWindow::drawEdgesBezier
private

◆ edgeOptionsMenu

QMenu * MainWindow::edgeOptionsMenu
private

◆ edgesPerNodeEstimatedSize

int MainWindow::edgesPerNodeEstimatedSize
private

◆ editEdgeAddAct

QAction* MainWindow::editEdgeAddAct
private

◆ editEdgeColorAct

QAction * MainWindow::editEdgeColorAct
private

◆ editEdgeColorAllAct

QAction * MainWindow::editEdgeColorAllAct
private

◆ editEdgeDichotomizeAct

QAction* MainWindow::editEdgeDichotomizeAct
private

◆ editEdgeLabelAct

QAction* MainWindow::editEdgeLabelAct
private

◆ editEdgeMenu

QMenu * MainWindow::editEdgeMenu
private

◆ editEdgeRemoveAct

QAction * MainWindow::editEdgeRemoveAct
private

◆ editEdgesCocitationAct

QAction * MainWindow::editEdgesCocitationAct
private

◆ editEdgeSymmetrizeAllAct

QAction * MainWindow::editEdgeSymmetrizeAllAct
private

◆ editEdgeSymmetrizeStrongTiesAct

QAction* MainWindow::editEdgeSymmetrizeStrongTiesAct
private

◆ editEdgeUndirectedAllAct

QAction * MainWindow::editEdgeUndirectedAllAct
private

◆ editEdgeWeightAct

QAction * MainWindow::editEdgeWeightAct
private

◆ editFilterEdgesByWeightAct

QAction * MainWindow::editFilterEdgesByWeightAct
private

◆ editFilterEdgesUnilateralAct

QAction* MainWindow::editFilterEdgesUnilateralAct
private

◆ editFilterNodesIsolatesAct

QAction * MainWindow::editFilterNodesIsolatesAct
private

◆ editMenu

QMenu * MainWindow::editMenu
private

◆ editMouseModeInteractiveAct

QAction * MainWindow::editMouseModeInteractiveAct
private

◆ editMouseModeScrollAct

QAction* MainWindow::editMouseModeScrollAct
private

◆ editNodeAddAct

QAction * MainWindow::editNodeAddAct
private

◆ editNodeColorAll

QAction* MainWindow::editNodeColorAll
private

◆ editNodeFindAct

QAction* MainWindow::editNodeFindAct
private

◆ editNodeLabelsColorAct

QAction * MainWindow::editNodeLabelsColorAct
private

◆ editNodeLabelsSizeAct

QAction * MainWindow::editNodeLabelsSizeAct
private

◆ editNodeMenu

QMenu* MainWindow::editNodeMenu
private

◆ editNodeNumbersColorAct

QAction * MainWindow::editNodeNumbersColorAct
private

◆ editNodeNumbersSizeAct

QAction* MainWindow::editNodeNumbersSizeAct
private

◆ editNodePropertiesAct

QAction* MainWindow::editNodePropertiesAct
private

◆ editNodeRemoveAct

QAction * MainWindow::editNodeRemoveAct
private

◆ editNodeSelectAllAct

QAction * MainWindow::editNodeSelectAllAct
private

◆ editNodeSelectedToCliqueAct

QAction * MainWindow::editNodeSelectedToCliqueAct
private

◆ editNodeSelectedToCycleAct

QAction * MainWindow::editNodeSelectedToCycleAct
private

◆ editNodeSelectedToLineAct

QAction* MainWindow::editNodeSelectedToLineAct
private

◆ editNodeSelectedToStarAct

QAction* MainWindow::editNodeSelectedToStarAct
private

◆ editNodeSelectNoneAct

QAction* MainWindow::editNodeSelectNoneAct
private

◆ editNodeShapeAll

QAction * MainWindow::editNodeShapeAll
private

◆ editNodeSizeAllAct

QAction* MainWindow::editNodeSizeAllAct
private

◆ editRelationAddAct

QAction * MainWindow::editRelationAddAct
private

◆ editRelationChangeCombo

QComboBox* MainWindow::editRelationChangeCombo
private

◆ editRelationNextAct

QAction* MainWindow::editRelationNextAct
private

◆ editRelationPreviousAct

QAction * MainWindow::editRelationPreviousAct
private

◆ editRelationRenameAct

QAction* MainWindow::editRelationRenameAct
private

◆ editResetSlidersAct

QAction * MainWindow::editResetSlidersAct
private

◆ editRotateLeftAct

QAction * MainWindow::editRotateLeftAct
private

◆ editRotateRightAct

QAction * MainWindow::editRotateRightAct
private

◆ exportSubMenu

QMenu * MainWindow::exportSubMenu
private

◆ fileName

QString MainWindow::fileName
private

◆ fileNameNoPath

QString MainWindow::fileNameNoPath
private

◆ fileType

int MainWindow::fileType
private

◆ filterMenu

QMenu * MainWindow::filterMenu
private

◆ filterNodesAct

QAction* MainWindow::filterNodesAct
private

◆ fortuneCookie

QStringList MainWindow::fortuneCookie
private

◆ fortuneCookiesCounter

int MainWindow::fortuneCookiesCounter
private

◆ fullScreenModeAct

QAction* MainWindow::fullScreenModeAct
private

◆ graphicsWidget

GraphicsWidget* MainWindow::graphicsWidget
private

◆ graphThread

QThread MainWindow::graphThread
private

◆ helpAboutApp

QAction* MainWindow::helpAboutApp
private

◆ helpAboutQt

QAction * MainWindow::helpAboutQt
private

◆ helpApp

QAction * MainWindow::helpApp
private

◆ helpCheckUpdatesApp

QAction * MainWindow::helpCheckUpdatesApp
private

◆ helpMenu

QMenu * MainWindow::helpMenu
private

◆ helpSystemInfoAct

QAction* MainWindow::helpSystemInfoAct
private

◆ iconPathList

QStringList MainWindow::iconPathList
private

◆ importSubMenu

QMenu* MainWindow::importSubMenu
private

◆ initTextCodecName

QString MainWindow::initTextCodecName
private

◆ initZoomIndex

int MainWindow::initZoomIndex
private

◆ inverseWeights

bool MainWindow::inverseWeights
private

◆ layoutFDP_Eades_Act

QAction* MainWindow::layoutFDP_Eades_Act
private

◆ layoutFDP_FR_Act

QAction * MainWindow::layoutFDP_FR_Act
private

◆ layoutFDP_KamadaKawai_Act

QAction* MainWindow::layoutFDP_KamadaKawai_Act
private

◆ layoutForceDirectedMenu

QMenu* MainWindow::layoutForceDirectedMenu
private

◆ layoutGuidesAct

QAction * MainWindow::layoutGuidesAct
private

◆ layoutLevelProminence_BC_Act

QAction * MainWindow::layoutLevelProminence_BC_Act
private

◆ layoutLevelProminence_CC_Act

QAction * MainWindow::layoutLevelProminence_CC_Act
private

◆ layoutLevelProminence_DC_Act

QAction* MainWindow::layoutLevelProminence_DC_Act
private

◆ layoutLevelProminence_DP_Act

QAction * MainWindow::layoutLevelProminence_DP_Act
private

◆ layoutLevelProminence_EC_Act

QAction * MainWindow::layoutLevelProminence_EC_Act
private

◆ layoutLevelProminence_EVC_Act

QAction * MainWindow::layoutLevelProminence_EVC_Act
private

◆ layoutLevelProminence_IC_Act

QAction * MainWindow::layoutLevelProminence_IC_Act
private

◆ layoutLevelProminence_IRCC_Act

QAction * MainWindow::layoutLevelProminence_IRCC_Act
private

◆ layoutLevelProminence_PC_Act

QAction * MainWindow::layoutLevelProminence_PC_Act
private

◆ layoutLevelProminence_PP_Act

QAction * MainWindow::layoutLevelProminence_PP_Act
private

◆ layoutLevelProminence_PRP_Act

QAction * MainWindow::layoutLevelProminence_PRP_Act
private

◆ layoutLevelProminence_SC_Act

QAction * MainWindow::layoutLevelProminence_SC_Act
private

◆ layoutLevelProminenceMenu

QMenu * MainWindow::layoutLevelProminenceMenu
private

◆ layoutMenu

QMenu * MainWindow::layoutMenu
private

◆ layoutNodeColorProminence_BC_Act

QAction * MainWindow::layoutNodeColorProminence_BC_Act
private

◆ layoutNodeColorProminence_CC_Act

QAction * MainWindow::layoutNodeColorProminence_CC_Act
private

◆ layoutNodeColorProminence_DC_Act

QAction* MainWindow::layoutNodeColorProminence_DC_Act
private

◆ layoutNodeColorProminence_DP_Act

QAction * MainWindow::layoutNodeColorProminence_DP_Act
private

◆ layoutNodeColorProminence_EC_Act

QAction * MainWindow::layoutNodeColorProminence_EC_Act
private

◆ layoutNodeColorProminence_EVC_Act

QAction * MainWindow::layoutNodeColorProminence_EVC_Act
private

◆ layoutNodeColorProminence_IC_Act

QAction * MainWindow::layoutNodeColorProminence_IC_Act
private

◆ layoutNodeColorProminence_IRCC_Act

QAction * MainWindow::layoutNodeColorProminence_IRCC_Act
private

◆ layoutNodeColorProminence_PC_Act

QAction * MainWindow::layoutNodeColorProminence_PC_Act
private

◆ layoutNodeColorProminence_PP_Act

QAction * MainWindow::layoutNodeColorProminence_PP_Act
private

◆ layoutNodeColorProminence_PRP_Act

QAction * MainWindow::layoutNodeColorProminence_PRP_Act
private

◆ layoutNodeColorProminence_SC_Act

QAction * MainWindow::layoutNodeColorProminence_SC_Act
private

◆ layoutNodeColorProminenceMenu

QMenu * MainWindow::layoutNodeColorProminenceMenu
private

◆ layoutNodeSizeProminence_BC_Act

QAction * MainWindow::layoutNodeSizeProminence_BC_Act
private

◆ layoutNodeSizeProminence_CC_Act

QAction * MainWindow::layoutNodeSizeProminence_CC_Act
private

◆ layoutNodeSizeProminence_DC_Act

QAction* MainWindow::layoutNodeSizeProminence_DC_Act
private

◆ layoutNodeSizeProminence_DP_Act

QAction * MainWindow::layoutNodeSizeProminence_DP_Act
private

◆ layoutNodeSizeProminence_EC_Act

QAction * MainWindow::layoutNodeSizeProminence_EC_Act
private

◆ layoutNodeSizeProminence_EVC_Act

QAction * MainWindow::layoutNodeSizeProminence_EVC_Act
private

◆ layoutNodeSizeProminence_IC_Act

QAction * MainWindow::layoutNodeSizeProminence_IC_Act
private

◆ layoutNodeSizeProminence_IRCC_Act

QAction * MainWindow::layoutNodeSizeProminence_IRCC_Act
private

◆ layoutNodeSizeProminence_PC_Act

QAction * MainWindow::layoutNodeSizeProminence_PC_Act
private

◆ layoutNodeSizeProminence_PP_Act

QAction * MainWindow::layoutNodeSizeProminence_PP_Act
private

◆ layoutNodeSizeProminence_PRP_Act

QAction * MainWindow::layoutNodeSizeProminence_PRP_Act
private

◆ layoutNodeSizeProminence_SC_Act

QAction * MainWindow::layoutNodeSizeProminence_SC_Act
private

◆ layoutNodeSizeProminenceMenu

QMenu * MainWindow::layoutNodeSizeProminenceMenu
private

◆ layoutRadialProminence_BC_Act

QAction * MainWindow::layoutRadialProminence_BC_Act
private

◆ layoutRadialProminence_CC_Act

QAction * MainWindow::layoutRadialProminence_CC_Act
private

◆ layoutRadialProminence_DC_Act

QAction* MainWindow::layoutRadialProminence_DC_Act
private

◆ layoutRadialProminence_DP_Act

QAction * MainWindow::layoutRadialProminence_DP_Act
private

◆ layoutRadialProminence_EC_Act

QAction * MainWindow::layoutRadialProminence_EC_Act
private

◆ layoutRadialProminence_EVC_Act

QAction * MainWindow::layoutRadialProminence_EVC_Act
private

◆ layoutRadialProminence_IC_Act

QAction * MainWindow::layoutRadialProminence_IC_Act
private

◆ layoutRadialProminence_IRCC_Act

QAction * MainWindow::layoutRadialProminence_IRCC_Act
private

◆ layoutRadialProminence_PC_Act

QAction * MainWindow::layoutRadialProminence_PC_Act
private

◆ layoutRadialProminence_PP_Act

QAction * MainWindow::layoutRadialProminence_PP_Act
private

◆ layoutRadialProminence_PRP_Act

QAction * MainWindow::layoutRadialProminence_PRP_Act
private

◆ layoutRadialProminence_SC_Act

QAction * MainWindow::layoutRadialProminence_SC_Act
private

◆ layoutRadialProminenceMenu

QMenu * MainWindow::layoutRadialProminenceMenu
private

◆ layoutRandomAct

QAction* MainWindow::layoutRandomAct
private

◆ layoutRandomRadialAct

QAction * MainWindow::layoutRandomRadialAct
private

◆ leftPanel

QGroupBox* MainWindow::leftPanel
private

◆ m_datasetSelectDialog

DialogDataSetSelect* MainWindow::m_datasetSelectDialog
private

◆ m_dialogClusteringHierarchical

DialogClusteringHierarchical* MainWindow::m_dialogClusteringHierarchical
private

◆ m_dialogdissimilarities

DialogDissimilarities* MainWindow::m_dialogdissimilarities
private

◆ m_DialogEdgeFilterByWeight

DialogFilterEdgesByWeight* MainWindow::m_DialogEdgeFilterByWeight
private

◆ m_dialogExportImage

DialogExportImage* MainWindow::m_dialogExportImage
private

◆ m_dialogExportPDF

DialogExportPDF* MainWindow::m_dialogExportPDF
private

◆ m_dialogPreviewFile

DialogPreviewFile* MainWindow::m_dialogPreviewFile
private

◆ m_dialogSimilarityMatches

DialogSimilarityMatches* MainWindow::m_dialogSimilarityMatches
private

◆ m_dialogSimilarityPearson

DialogSimilarityPearson* MainWindow::m_dialogSimilarityPearson
private

◆ m_edgeDichotomizationDialog

DialogEdgeDichotomization* MainWindow::m_edgeDichotomizationDialog
private

◆ m_nodeEditDialog

DialogNodeEdit* MainWindow::m_nodeEditDialog
private

◆ m_nodeFindDialog

DialogNodeFind* MainWindow::m_nodeFindDialog
private

◆ m_randErdosRenyiDialog

DialogRandErdosRenyi* MainWindow::m_randErdosRenyiDialog
private

◆ m_randLatticeDialog

DialogRandLattice* MainWindow::m_randLatticeDialog
private

◆ m_randRegularDialog

DialogRandRegular* MainWindow::m_randRegularDialog
private

◆ m_randScaleFreeDialog

DialogRandScaleFree* MainWindow::m_randScaleFreeDialog
private

◆ m_randSmallWorldDialog

DialogRandSmallWorld* MainWindow::m_randSmallWorldDialog
private

◆ m_settingsDialog

DialogSettings* MainWindow::m_settingsDialog
private

◆ m_systemInfoDialog

DialogSystemInfo* MainWindow::m_systemInfoDialog
private

◆ m_textEditors

QList<TextEditor *> MainWindow::m_textEditors
private

◆ m_WebCrawlerDialog

DialogWebCrawler* MainWindow::m_WebCrawlerDialog
private

◆ matrixMenu

QMenu* MainWindow::matrixMenu
private

◆ maxRandomlyCreatedNodes

int MainWindow::maxRandomlyCreatedNodes
private

◆ maxZoomIndex

int MainWindow::maxZoomIndex
private

◆ miniChart

Chart* MainWindow::miniChart
private

◆ netDensity

QAction* MainWindow::netDensity
private

◆ networkCloseAct

QAction * MainWindow::networkCloseAct
private

◆ networkDataSetSelectAct

QAction * MainWindow::networkDataSetSelectAct
private

◆ networkExportDLAct

QAction * MainWindow::networkExportDLAct
private

◆ networkExportGWAct

QAction * MainWindow::networkExportGWAct
private

◆ networkExportImageAct

QAction* MainWindow::networkExportImageAct
private

◆ networkExportListAct

QAction * MainWindow::networkExportListAct
private

◆ networkExportPajek

QAction * MainWindow::networkExportPajek
private

◆ networkExportPDFAct

QAction * MainWindow::networkExportPDFAct
private

◆ networkExportSMAct

QAction * MainWindow::networkExportSMAct
private

◆ networkImportAdjAct

QAction * MainWindow::networkImportAdjAct
private

◆ networkImportGMLAct

QAction * MainWindow::networkImportGMLAct
private

◆ networkImportGraphvizAct

QAction * MainWindow::networkImportGraphvizAct
private

◆ networkImportListAct

QAction * MainWindow::networkImportListAct
private

◆ networkImportPajekAct

QAction* MainWindow::networkImportPajekAct
private

◆ networkImportTwoModeSM

QAction * MainWindow::networkImportTwoModeSM
private

◆ networkImportUcinetAct

QAction * MainWindow::networkImportUcinetAct
private

◆ networkManager

QNetworkAccessManager* MainWindow::networkManager
private

◆ networkMenu

QMenu* MainWindow::networkMenu
private

◆ networkNewAct

QAction* MainWindow::networkNewAct
private

◆ networkOpenAct

QAction * MainWindow::networkOpenAct
private

◆ networkPrintAct

QAction * MainWindow::networkPrintAct
private

◆ networkQuitAct

QAction * MainWindow::networkQuitAct
private

◆ networkRandomErdosRenyiAct

QAction* MainWindow::networkRandomErdosRenyiAct
private

◆ networkRandomGaussianAct

QAction* MainWindow::networkRandomGaussianAct
private

◆ networkRandomLatticeAct

QAction* MainWindow::networkRandomLatticeAct
private

◆ networkRandomLatticeRingAct

QAction* MainWindow::networkRandomLatticeRingAct
private

◆ networkRandomRegularSameDegreeAct

QAction* MainWindow::networkRandomRegularSameDegreeAct
private

◆ networkRandomScaleFreeAct

QAction* MainWindow::networkRandomScaleFreeAct
private

◆ networkRandomSmallWorldAct

QAction* MainWindow::networkRandomSmallWorldAct
private

◆ networkSaveAct

QAction * MainWindow::networkSaveAct
private

◆ networkSaveAsAct

QAction * MainWindow::networkSaveAsAct
private

◆ networkViewFileAct

QAction* MainWindow::networkViewFileAct
private

◆ networkViewSociomatrixAct

QAction * MainWindow::networkViewSociomatrixAct
private

◆ networkViewSociomatrixPlotAct

QAction * MainWindow::networkViewSociomatrixPlotAct
private

◆ networkWebCrawlerAct

QAction* MainWindow::networkWebCrawlerAct
private

◆ nodeOptionsMenu

QMenu * MainWindow::nodeOptionsMenu
private

◆ nodesEstimatedSize

int MainWindow::nodesEstimatedSize
private

◆ nodeShapeList

QStringList MainWindow::nodeShapeList
private

◆ openSettingsAct

QAction* MainWindow::openSettingsAct
private

◆ openTextEditorAct

QAction * MainWindow::openTextEditorAct
private

◆ optionsEdgeArrowsAct

QAction* MainWindow::optionsEdgeArrowsAct
private

◆ optionsEdgeLabelsAct

QAction* MainWindow::optionsEdgeLabelsAct
private

◆ optionsEdgesVisibilityAct

QAction* MainWindow::optionsEdgesVisibilityAct
private

◆ optionsEdgeThicknessPerWeightAct

QAction* MainWindow::optionsEdgeThicknessPerWeightAct
private

◆ optionsEdgeWeightConsiderAct

QAction * MainWindow::optionsEdgeWeightConsiderAct
private

◆ optionsEdgeWeightNumbersAct

QAction * MainWindow::optionsEdgeWeightNumbersAct
private

◆ optionsMenu

QMenu* MainWindow::optionsMenu
private

◆ optionsNodeLabelsVisibilityAct

QAction * MainWindow::optionsNodeLabelsVisibilityAct
private

◆ optionsNodeNumbersInsideAct

QAction * MainWindow::optionsNodeNumbersInsideAct
private

◆ optionsNodeNumbersVisibilityAct

QAction* MainWindow::optionsNodeNumbersVisibilityAct
private

◆ previous_fileName

QString MainWindow::previous_fileName
private

◆ printer

QPrinter* MainWindow::printer
private

◆ printerPDF

QPrinter * MainWindow::printerPDF
private

◆ progressCounter

int MainWindow::progressCounter
private

◆ progressDialogs

QStack<QProgressDialog *> MainWindow::progressDialogs
private

◆ progressMsg

QString MainWindow::progressMsg
private

◆ prominenceIndexList

QStringList MainWindow::prominenceIndexList
private

◆ randomLayoutMenu

QMenu* MainWindow::randomLayoutMenu
private

◆ randomNetworkMenu

QMenu * MainWindow::randomNetworkMenu
private

◆ recentFileActs

QAction* MainWindow::recentFileActs[MaxRecentFiles]
private

◆ recentFiles

QStringList MainWindow::recentFiles
private

◆ recentFilesSubMenu

QMenu * MainWindow::recentFilesSubMenu
private

◆ regularColorationAct

QAction * MainWindow::regularColorationAct
private

◆ resetSlidersBtn

QToolButton * MainWindow::resetSlidersBtn
private

◆ rightPanel

QGroupBox * MainWindow::rightPanel
private

◆ rightPanelClickedEdgeNameLabel

QLabel* MainWindow::rightPanelClickedEdgeNameLabel
private

◆ rightPanelClickedEdgeNameLCD

QLabel* MainWindow::rightPanelClickedEdgeNameLCD
private

◆ rightPanelClickedEdgeReciprocalWeightLabel

QLabel* MainWindow::rightPanelClickedEdgeReciprocalWeightLabel
private

◆ rightPanelClickedEdgeReciprocalWeightLCD

QLabel* MainWindow::rightPanelClickedEdgeReciprocalWeightLCD
private

◆ rightPanelClickedEdgeWeightLabel

QLabel* MainWindow::rightPanelClickedEdgeWeightLabel
private

◆ rightPanelClickedEdgeWeightLCD

QLabel* MainWindow::rightPanelClickedEdgeWeightLCD
private

◆ rightPanelClickedNodeHeaderLabel

QLabel* MainWindow::rightPanelClickedNodeHeaderLabel
private

◆ rightPanelClickedNodeInDegreeLCD

QLabel* MainWindow::rightPanelClickedNodeInDegreeLCD
private

◆ rightPanelClickedNodeLCD

QLabel* MainWindow::rightPanelClickedNodeLCD
private

◆ rightPanelClickedNodeOutDegreeLCD

QLabel* MainWindow::rightPanelClickedNodeOutDegreeLCD
private

◆ rightPanelDensityLCD

QLabel* MainWindow::rightPanelDensityLCD
private

◆ rightPanelEdgesLabel

QLabel* MainWindow::rightPanelEdgesLabel
private

◆ rightPanelEdgesLCD

QLabel* MainWindow::rightPanelEdgesLCD
private

◆ rightPanelNetworkTypeLCD

QLabel* MainWindow::rightPanelNetworkTypeLCD
private

◆ rightPanelNodesLCD

QLabel* MainWindow::rightPanelNodesLCD
private

◆ rightPanelSelectedEdgesLabel

QLabel* MainWindow::rightPanelSelectedEdgesLabel
private

◆ rightPanelSelectedEdgesLCD

QLabel* MainWindow::rightPanelSelectedEdgesLCD
private

◆ rightPanelSelectedNodesLCD

QLabel* MainWindow::rightPanelSelectedNodesLCD
private

◆ rotateLeftBtn

QToolButton * MainWindow::rotateLeftBtn
private

◆ rotateRightBtn

QToolButton * MainWindow::rotateRightBtn
private

◆ rotateSlider

QSlider * MainWindow::rotateSlider
private

◆ scene

QGraphicsScene* MainWindow::scene
private

◆ settingsDir

QString MainWindow::settingsDir
private

◆ settingsFilePath

QString MainWindow::settingsFilePath
private

◆ strEquivalenceMenu

QMenu * MainWindow::strEquivalenceMenu
private

◆ strongColorationAct

QAction* MainWindow::strongColorationAct
private

◆ tempFileNameNoPath

QStringList MainWindow::tempFileNameNoPath
private

◆ tips

QStringList MainWindow::tips
private

◆ tipsApp

QAction * MainWindow::tipsApp
private

◆ toolBar

QToolBar* MainWindow::toolBar
private

◆ toolBoxAnalysisCohesionSelect

QComboBox* MainWindow::toolBoxAnalysisCohesionSelect
private

◆ toolBoxAnalysisCommunitiesSelect

QComboBox * MainWindow::toolBoxAnalysisCommunitiesSelect
private

◆ toolBoxAnalysisMatricesSelect

QComboBox * MainWindow::toolBoxAnalysisMatricesSelect
private

◆ toolBoxAnalysisProminenceSelect

QComboBox * MainWindow::toolBoxAnalysisProminenceSelect
private

◆ toolBoxAnalysisStrEquivalenceSelect

QComboBox * MainWindow::toolBoxAnalysisStrEquivalenceSelect
private

◆ toolBoxEditEdgeModeSelect

QComboBox * MainWindow::toolBoxEditEdgeModeSelect
private

◆ toolBoxEditEdgeTransformSelect

QComboBox * MainWindow::toolBoxEditEdgeTransformSelect
private

◆ toolBoxEditNodeSubgraphSelect

QComboBox * MainWindow::toolBoxEditNodeSubgraphSelect
private

◆ toolBoxLayoutByIndexApplyButton

QPushButton* MainWindow::toolBoxLayoutByIndexApplyButton
private

◆ toolBoxLayoutByIndexSelect

QComboBox* MainWindow::toolBoxLayoutByIndexSelect
private

◆ toolBoxLayoutByIndexTypeSelect

QComboBox * MainWindow::toolBoxLayoutByIndexTypeSelect
private

◆ toolBoxLayoutForceDirectedApplyButton

QPushButton * MainWindow::toolBoxLayoutForceDirectedApplyButton
private

◆ toolBoxLayoutForceDirectedSelect

QComboBox* MainWindow::toolBoxLayoutForceDirectedSelect
private

◆ toolBoxNetworkAutoCreateSelect

QComboBox* MainWindow::toolBoxNetworkAutoCreateSelect
private

◆ transformNodes2EdgesAct

QAction* MainWindow::transformNodes2EdgesAct
private

◆ userSelectedCodecName

QString MainWindow::userSelectedCodecName
private

◆ viewOptionsMenu

QMenu * MainWindow::viewOptionsMenu
private

◆ zoomInAct

QAction* MainWindow::zoomInAct
private

◆ zoomInBtn

QToolButton* MainWindow::zoomInBtn
private

◆ zoomOutAct

QAction * MainWindow::zoomOutAct
private

◆ zoomOutBtn

QToolButton * MainWindow::zoomOutBtn
private

◆ zoomSlider

QSlider* MainWindow::zoomSlider
private

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