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). More...
 
void slotNetworkFileChoose (QString m_fileName=QString(), int fileFormat=-1, const bool &checkSelectFileType=true)
 Chooses a network file to load. More...
 
void slotNetworkFileDialogFileSelected (const QString &fileName)
 Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again. More...
 
void slotNetworkFileDialogFilterSelected (const QString &filter)
 Called when user the selects a file filter (i.e. GraphML) in the fileDialog. More...
 
void slotNetworkFileDialogRejected ()
 Displays a status message when the user aborts the file dialog. More...
 
void slotNetworkFileRecentUpdateActions ()
 Updates the Recent Files QActions in the menu. More...
 
bool slotNetworkFilePreview (const QString &, const int &)
 Opens the preview dialog with the selected file contents. More...
 
void slotNetworkFileLoad (const QString &fileNameToLoad, const QString &codeName, const int &fileFormat)
 Loads the given network file. More...
 
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. More...
 
void slotNetworkFileLoadRecent ()
 Loads a selected file entry from the "Recent Files" menu. More...
 
void slotNetworkSavedStatus (const int &status)
 Updates the 'save' status of the network. More...
 
void slotNetworkFileView ()
 Displays the file of the loaded network. More...
 
void slotNetworkImportGraphML ()
 Imports a network from a GraphML formatted file. More...
 
void slotNetworkImportPajek ()
 Imports a network from a Pajek-like formatted file. More...
 
void slotNetworkImportAdjacency ()
 Imports a network from a Adjacency matrix formatted file. More...
 
void slotNetworkImportGraphviz ()
 Imports a network from a Dot (GraphViz) formatted file. More...
 
void slotNetworkImportGML ()
 Imports a network from a GML formatted file. More...
 
void slotNetworkImportUcinet ()
 Imports a network from a UCINET formatted file. More...
 
void slotNetworkImportEdgeList ()
 Imports a network from a simple List or weighted List formatted file. More...
 
void slotNetworkImportTwoModeSM ()
 Imports a network from a two mode sociomatrix formatted file. More...
 
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. More...
 
void slotNetworkSave (const int &fileFormat=-1)
 Saves the network to a file. More...
 
void slotNetworkSaveAs ()
 Prompts the user to save the network in a new file. Always uses the GraphML format and extension. More...
 
bool slotNetworkClose ()
 Closes the current network, saving it if needed. More...
 
void slotNetworkPrint ()
 Sends the active network to the printer. More...
 
void slotNetworkViewSociomatrix ()
 Displays the adjacency matrix of the network. More...
 
void slotNetworkViewSociomatrixPlotText ()
 Displays a text-only plot of the network adjacency matrix. More...
 
void slotNetworkExportImageDialog ()
 Opens the Export to Image Dialog. More...
 
void slotNetworkExportImage (const QString &filename, const QByteArray &format, const int &quality, const int &compression)
 Exports the network to an image file. More...
 
void slotNetworkExportPDFDialog ()
 Opens the Export to PDF Dialog. More...
 
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. More...
 
void slotNetworkExportPajek ()
 Exports the network to a Pajek-formatted file Calls the relevant Graph method. More...
 
void slotNetworkExportSM ()
 Exports the network to an adjacency matrix-formatted file Calls the relevant Graph method. More...
 
bool slotNetworkExportDL ()
 TODO Exports the network to a DL-formatted file. More...
 
bool slotNetworkExportGW ()
 
bool slotNetworkExportList ()
 
void slotNetworkTextEditor ()
 Opens the embedded text editor. More...
 
void slotNetworkDataSetSelect ()
 Displays the dataset selection dialog. More...
 
void slotNetworkDataSetRecreate (const QString)
 Recreates famous and widely used data sets in network analysis studies. More...
 
void slotNetworkRandomErdosRenyiDialog ()
 Shows a dialog to create an Erdos-Renyi random network. More...
 
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. More...
 
void slotNetworkRandomRegularDialog ()
 Shows a dialog to create a d-regular random network. More...
 
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. More...
 
void slotNetworkRandomGaussian ()
 
void slotNetworkRandomScaleFreeDialog ()
 Shows a dialog to create a scale-free random network. More...
 
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. More...
 
void slotNetworkRandomSmallWorldDialog ()
 Shows a dialog to create a small-world random network. More...
 
void slotNetworkRandomSmallWorld (const int &newNodes, const int &degree, const qreal &beta, const QString &mode, const bool &diag)
 Creates a small-world random network. More...
 
void slotNetworkRandomRingLattice ()
 Creates a ring lattice network. More...
 
void slotNetworkRandomLatticeDialog ()
 Shows a dialog to create a "random" lattice network. More...
 
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. More...
 
void slotNetworkWebCrawlerDialog ()
 Shows the web crawler dialog. More...
 
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. More...
 
void slotNetworkManagerRequest (const QUrl &url, const NetworkRequestType &requestType)
 Makes a network request to the given url. More...
 
void slotEditDragModeSelection (bool)
 Toggles the interactive/selection mouse drag mode. More...
 
void slotEditDragModeScroll (bool)
 Toggles the non-interactive scrollhand drag mode. More...
 
void slotEditRelationsClear ()
 Clears the relations combo. More...
 
void slotEditRelationAddPrompt ()
 Prompts the user to enter the name of a new relation. More...
 
void slotEditRelationAdd (const QString &newRelationName)
 Adds a new relation to the relations combo. More...
 
void slotEditRelationChange (const int &relIndex=RAND_MAX)
 Changes the editRelations combo box index to relIndex. More...
 
void slotEditRelationRename ()
 Prompts the user to enter a new name for the current relation. More...
 
void slotEditOpenContextMenu (const QPointF &mPos)
 Popups a context menu with options when the user right-clicks on the canvas. More...
 
void slotEditSelectionChanged (const int &selNodes, const int &selEdges)
 Updates the UI (LCDs and Actions) after a change in the user-selected nodes/edges. More...
 
void slotEditNodeSelectAll ()
 Selects all nodes. More...
 
void slotEditNodeSelectNone ()
 Selects no nodes. More...
 
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. More...
 
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. More...
 
void slotEditNodeAdd ()
 Adds a new random node. More...
 
void slotEditNodeFindDialog ()
 Opens the Find Node dialog. More...
 
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. More...
 
void slotEditNodeRemove ()
 Handles requests to delete a node and the attached objects (edges, etc). More...
 
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. More...
 
void slotEditNodePropertiesDialog ()
 Opens the Node Properties dialog for the selected nodes. If no nodes are selected, prompts the user for a node number. More...
 
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. More...
 
void slotEditNodeSelectedToClique ()
 Creates a complete subgraph (clique) from selected nodes. More...
 
void slotEditNodeSelectedToStar ()
 Creates a star subgraph from selected nodes. User must choose a central node. More...
 
void slotEditNodeSelectedToCycle ()
 Creates a cycle subgraph from selected nodes. More...
 
void slotEditNodeSelectedToLine ()
 Creates a line subgraph from selected nodes. More...
 
void slotEditNodeColorAll (QColor color=QColor())
 Changes the color of all nodes to parameter color. More...
 
void slotEditNodeSizeAll (int newSize=0, const bool &normalized=false)
 Changes the size of nodes to newSize. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void slotEditNodeLabelsColor (QColor color=QColor())
 Changes the color of all node labels. Asks the user to enter a new node label color. More...
 
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. More...
 
void slotEditEdgeClicked (const MyEdge &edge=MyEdge(), const bool &openMenu=false)
 Displays information about the clicked edge on the statusbar. More...
 
void slotEditEdgeOpenContextMenu (const QString &str="")
 Popups a context menu with edge-related options Called when the user right-clicks on an edge. More...
 
void slotEditEdgeAdd ()
 Opens dialogs for the user to specify the source and the target node of a new edge. More...
 
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. More...
 
void slotEditEdgeRemove ()
 Removes a clicked edge. Otherwise asks the user to specify one edge. More...
 
void slotEditEdgeLabel ()
 Changes the label of an edge. More...
 
void slotEditEdgeColor ()
 Changes the color of the clicked edge. If no edge is clicked, then it asks the user to specify one. More...
 
void slotEditEdgeWeight ()
 Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge. More...
 
void slotEditEdgeColorAll (QColor color=QColor(), const int threshold=RAND_MAX)
 Changes the color of all edges weighted below threshold to parameter color. More...
 
void slotEditEdgeMode (const int &mode)
 Toggles between directed (mode=0) and undirected edges (mode=1) More...
 
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. More...
 
void slotEditEdgeSymmetrizeStrongTies ()
 MainWindow::slotEditEdgeSymmetrizeStrongTies. More...
 
void slotEditEdgeSymmetrizeCocitation ()
 Adds a new cocitation symmetric relation to the network. More...
 
void slotEditEdgeUndirectedAll (const bool &toggle)
 Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network. More...
 
void slotEditEdgeDichotomizationDialog ()
 Opens up the edge dichotomization dialog. More...
 
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. More...
 
void slotFilterNodes ()
 
void slotEditFilterNodesIsolates (bool checked)
 Toggles the status of all isolated vertices. More...
 
void slotEditFilterEdgesByWeightDialog ()
 Shows a dialog where the user can specify how to filter edges by their weight. More...
 
void slotEditFilterEdgesUnilateral (bool checked)
 Toggles the status of all unilateral edges. More...
 
void slotEditTransformNodes2Edges ()
 
void slotLayoutRandom ()
 Calls Graph::layoutRandom to reposition all nodes on a random layout. More...
 
void slotLayoutRadialRandom ()
 Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly. More...
 
void slotLayoutRadialByProminenceIndex ()
 Runs when the user selects a radial layout menu option. More...
 
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. More...
 
void slotLayoutLevelByProminenceIndex ()
 Runs when the user selects a radial layout menu option. More...
 
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. More...
 
void slotLayoutNodeSizeByProminenceIndex ()
 Runs when the user selects a color layout menu option. More...
 
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. More...
 
void slotLayoutNodeColorByProminenceIndex ()
 Runs when the user selects a color layout menu option. More...
 
void slotLayoutNodeColorByProminenceIndex (QString prominenceIndexName)
 Applies a color layout on the social network. Changes the colors of all nodes according to their index score. More...
 
void slotLayoutSpringEmbedder ()
 Calls Graph::layoutForceDirectedSpringEmbedder to embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox. More...
 
void slotLayoutFruchterman ()
 Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repelling-attracting forces to the network. Called from menu or toolbox. More...
 
void slotLayoutKamadaKawai ()
 Layouts the network according to the Kamada-Kawai FDP model. More...
 
void slotLayoutColorationStrongStructural ()
 
void slotLayoutColorationRegular ()
 
void slotLayoutGuides (const bool &toggle)
 Shows or hides (clears) layout guides. More...
 
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. More...
 
void slotAnalyzeReciprocity ()
 
void slotAnalyzeSymmetryCheck ()
 
void slotAnalyzeMatrixAdjacencyInverse ()
 Writes the adjacency matrix inverse. More...
 
void slotAnalyzeMatrixAdjacencyTranspose ()
 Writes the transpose adjacency matrix. More...
 
void slotAnalyzeMatrixAdjacencyCocitation ()
 Writes the cocitation matrix. More...
 
void slotAnalyzeMatrixDegree ()
 Writes the degree matrix of the graph. More...
 
void slotAnalyzeMatrixLaplacian ()
 Writes the Laplacian matrix of the graph. More...
 
void slotAnalyzeClusteringCoefficient ()
 Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file, and displays it. More...
 
void slotAnalyzeMatrixDistances ()
 Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it. More...
 
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. More...
 
void slotAnalyzeDistance ()
 Handles requests to compute the graph/geodesic distance between two user-specified nodes. More...
 
void slotAnalyzeDistanceAverage ()
 Displays the average shortest path length (average graph distance) More...
 
void slotAnalyzeDiameter ()
 Displays the network diameter (largest geodesic) More...
 
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. More...
 
void slotAnalyzeReachabilityMatrix ()
 
void slotAnalyzeConnectedness ()
 Reports the network connectedness. More...
 
void slotAnalyzeCentralityDegree ()
 
void slotAnalyzeCentralityCloseness ()
 
void slotAnalyzeCentralityClosenessIR ()
 MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) indices into a file, then displays it. More...
 
void slotAnalyzeCentralityBetweenness ()
 
void slotAnalyzeCentralityInformation ()
 MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file, then displays it. More...
 
void slotAnalyzeCentralityEigenvector ()
 Writes Eigenvector Centralities into a file, then displays it. More...
 
void slotAnalyzeCentralityStress ()
 MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it. More...
 
void slotAnalyzeCentralityPower ()
 MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file, then displays it. More...
 
void slotAnalyzeCentralityEccentricity ()
 MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file, then displays it. More...
 
void slotAnalyzePrestigeDegree ()
 
void slotAnalyzePrestigePageRank ()
 
void slotAnalyzePrestigeProximity ()
 MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file, then displays them. More...
 
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. More...
 
void slotAnalyzeCommunitiesCliqueCensus ()
 Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it. More...
 
void slotAnalyzeCommunitiesTriadCensus ()
 
void slotAnalyzeStrEquivalenceClusteringHierarchicalDialog ()
 Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog. More...
 
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. More...
 
void slotAnalyzeStrEquivalenceDissimilaritiesDialog ()
 Displays the DialogDissimilarities dialog. More...
 
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. More...
 
void slotAnalyzeStrEquivalenceSimilarityMeasureDialog ()
 Displays the DialogSimilarityMatches dialog. More...
 
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. More...
 
void slotAnalyzeStrEquivalencePearsonDialog ()
 Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog. More...
 
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. More...
 
void slotOpenSettingsDialog ()
 Opens the Settings dialog. More...
 
void slotOptionsNodeNumbersVisibility (bool toggle)
 MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside ones) More...
 
void slotOptionsNodeNumbersInside (bool toggle)
 MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes. More...
 
void slotOptionsNodeLabelsVisibility (bool toggle)
 MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels. More...
 
void slotOptionsEdgesVisibility (bool toggle)
 MainWindow::slotOptionsEdgesVisibility. More...
 
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. More...
 
void slotOptionsEdgeLabelsVisibility (bool toggle)
 MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels. More...
 
void slotOptionsEdgeWeightNumbersVisibility (bool toggle)
 MainWindow::slotOptionsEdgeWeightNumbersVisibility Turns on/off displaying edge weight numbers. More...
 
void slotOptionsEdgeWeightsDuringComputation (bool)
 Toggles edge weights during computations. More...
 
void slotOptionsEdgeThicknessPerWeight (bool toggle)
 MainWindow::slotOptionsEdgeThicknessPerWeight. More...
 
void slotOptionsEdgesBezier (bool toggle)
 
void slotOptionsEdgeArrowsVisibility (bool toggle)
 Turns on/off the arrows of edges. More...
 
void slotOptionsEmbedLogoExporting (bool toggle)
 MainWindow::slotOptionsEmbedLogoExporting. More...
 
void slotOptionsProgressDialogVisibility (bool toggle)
 Turns progress dialogs on or off. More...
 
void slotOptionsWindowToolbarVisibility (bool toggle)
 Turns Toolbar on or off. More...
 
void slotOptionsWindowStatusbarVisibility (bool toggle)
 Turns window statusbar on or off. More...
 
void slotOptionsWindowLeftPanelVisibility (bool toggle)
 Toggles left panel. More...
 
void slotOptionsWindowRightPanelVisibility (bool toggle)
 Toggles right panel. More...
 
void slotOptionsWindowFullScreen (bool toggle)
 Toggles full screen mode (F11) More...
 
void slotOptionsDebugMessages (bool toggle)
 Turns debugging messages on or off. More...
 
void slotOptionsBackgroundColor (QColor color=QColor())
 Called from Options menu and Settings dialog. More...
 
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. More...
 
void slotOptionsBackgroundImage ()
 Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog and. More...
 
void slotOptionsCanvasOpenGL (const bool &toggle=false)
 Turns opengl on or off. More...
 
void slotOptionsCanvasAntialiasing (bool toggle)
 Turns antialiasing on or off. More...
 
void slotOptionsCanvasAntialiasingAutoAdjust (const bool &toggle=false)
 Turns antialiasing auto-adjustment on or off. More...
 
void slotOptionsCanvasSmoothPixmapTransform (const bool &toggle=false)
 Turns smooth pixmap transformations on or off. More...
 
void slotOptionsCanvasSavePainterState (const bool &toggle=false)
 Turns saving painter state on or off. More...
 
void slotOptionsCanvasCacheBackground (const bool &toggle=false)
 Turns caching of canvas background on or off. More...
 
void slotOptionsCanvasEdgeHighlighting (const bool &toggle=false)
 Turns selected edge highlighting. More...
 
void slotOptionsCanvasUpdateMode (const QString &mode)
 Sets canvas update mode. More...
 
void slotOptionsCanvasIndexMethod (const QString &method)
 Changes the indexing method of the graphics scene. More...
 
void slotHelpTips ()
 
void slotHelp ()
 Opens the system web browser to load the online Manual. More...
 
void slotHelpCheckUpdateDialog ()
 On user demand, makes a network request to SocNetV website to download the latest version text file. More...
 
void slotHelpCheckUpdateParse ()
 Parses the reply from the network request we do in slotHelpCheckUpdateDialog. More...
 
void slotHelpCreateTips ()
 
void slotHelpSystemInfo ()
 MainWindow::slotHelpSystemInfo Shows a dialog with system information for bug reporting purposes. More...
 
void slotHelpAbout ()
 
void slotAboutQt ()
 
void slotHelpMessageToUserInfo (const QString text=QString())
 Helper function to display a popup with useful info. More...
 
void slotHelpMessageToUserError (const QString text=QString())
 Helper function to display a popup with an error message. More...
 
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. More...
 
void slotNetworkManagerSslErrors (QNetworkReply *reply, const QList< QSslError > &errors)
 Shows a message box to the user when the Network Manager encounters any SSL error. More...
 
void slotNetworkManagerReplyError (const QNetworkReply::NetworkError &code)
 Shows a message box to the user when a NetworkReply encounters errors. More...
 
void statusMessage (const QString)
 Shows a message in the status bar, with the given duration. More...
 
void toolBoxNetworkAutoCreateSelectChanged (const int &selectedIndex)
 Called when user selects something in the Network Auto Create selectbox of the toolbox. More...
 
void toolBoxEditNodeSubgraphSelectChanged (const int &selectedIndex)
 Called when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox. More...
 
void toolBoxEditEdgeTransformSelectChanged (const int &selectedIndex)
 Called when user selects something in the Edge Transform selectbox of the toolbox. More...
 
void toolBoxAnalysisMatricesSelectChanged (const int &selectedIndex)
 Called when user selects something in the Matrices selectbox of the toolbox. More...
 
void toolBoxAnalysisCohesionSelectChanged (const int &selectedIndex)
 Called when user selects something in the Cohesion selectbox of the toolbox to compute basic graph theoretic / network properties. More...
 
void toolBoxAnalysisStrEquivalenceSelectChanged (const int &selectedIndex)
 Called when the user selects something in the Structural Equivalence selectbox of the toolbox. More...
 
void toolBoxAnalysisProminenceSelectChanged (const int &selectedIndex)
 Called when user selects something in the Prominence selectbox of the toolbox. More...
 
void toolBoxAnalysisCommunitiesSelectChanged (const int &selectedIndex)
 Called when the user selects something in the Communities selectbox of the toolbox. More...
 
void toolBoxLayoutByIndexApplyBtnPressed ()
 Called when the user selects a Prominence index in the Layout selectbox of the Control Panel. More...
 
void toolBoxLayoutForceDirectedApplyBtnPressed ()
 Called when the user selects a model in the Layout by Force Directed selectbox of left panel. More...
 
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*. More...
 
void slotProgressBoxDestroy (const int &max=0)
 Destroys the first in queue Progress dialog. More...
 

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

Protected Member Functions

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

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
 
DialogWebCrawlerm_WebCrawlerDialog
 
DialogDataSetSelectm_datasetSelectDialog
 
DialogExportPDFm_dialogExportPDF
 
DialogExportImagem_dialogExportImage
 
DialogNodeEditm_nodeEditDialog
 
DialogNodeFindm_nodeFindDialog
 
DialogEdgeDichotomizationm_edgeDichotomizationDialog
 
DialogFilterEdgesByWeightm_DialogEdgeFilterByWeight
 
DialogRandErdosRenyim_randErdosRenyiDialog
 
DialogRandSmallWorldm_randSmallWorldDialog
 
DialogRandScaleFreem_randScaleFreeDialog
 
DialogRandRegularm_randRegularDialog
 
DialogRandLatticem_randLatticeDialog
 
DialogSimilarityPearsonm_dialogSimilarityPearson
 
DialogSimilarityMatchesm_dialogSimilarityMatches
 
DialogDissimilaritiesm_dialogdissimilarities
 
DialogClusteringHierarchicalm_dialogClusteringHierarchical
 
DialogSettingsm_settingsDialog
 
DialogSystemInfom_systemInfoDialog
 
DialogPreviewFilem_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

MainWindow::slotHelpSystemInfo 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

MainWindow::slotOptionsEdgeWeightNumbersVisibility 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

◆ 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

Member Data 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: