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 ()
 Creates a new network. More...
 
void slotNetworkFileChoose (QString m_fileName=QString(), int m_fileFormat=-1, const bool &checkSelectFileType=true)
 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. 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 selects a file filter (i.e. GraphML) in the fileDialog. More...
 
void slotNetworkFileDialogRejected ()
 
void slotNetworkFileRecentUpdateActions ()
 Updates the Recent Files QActions in the menu. More...
 
void slotNetworkAvailableTextCodecs ()
 Setup a list of all text codecs supported by OS. More...
 
bool slotNetworkFilePreview (const QString &, const int &)
 Called from slotNetworkFileChoose() Opens a window to preview the selected file where the user can select an appropriate text codec. More...
 
void slotNetworkFileLoad (const QString, const QString, const int)
 Main network file loader method Called from m_dialogPreviewFile and slotNetworkDataSetRecreate Calls initApp to init to default values. Then calls activeGraph::graphLoad to actually load the network... More...
 
void slotNetworkFileLoaded (const int &type, const QString &fName=QString(), const QString &netName=QString(), const int &totalNodes=0, const int &totalEdges=0, const QString &message=QString())
 Called from Parser/Graph when a network file is loaded. It informs the MW about the type of the network so that it can display the appropiate message. More...
 
void slotNetworkFileLoadRecent ()
 Called on click on any file entry in "Recent Files" menu Calls slotNetworkFileChoose() which checks file type and calls slotNetworkFilePreview. More...
 
void slotNetworkSavedStatus (const int &status)
 Called from Graph to update 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. More...
 
void slotNetworkFileView ()
 Displays the file of the loaded network. Network must be unchanged since last save/load. Otherwise it will ask the user to first save the network, then view its file. 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)
 Called by Graph when the network has changed a lot. Makes the networkSave icon active and refreshes any LCD values. Also called from activeGraph and graphicsWidget. More...
 
void slotNetworkSave (const int &fileFormat=-1)
 Saves the network to a file by calling Graph::graphSave(). 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. More...
 
void slotNetworkSaveAs ()
 Saves the network in a new GraphML file. Always uses the GraphML format and extension. More...
 
void slotNetworkClose ()
 Closes the network. Saves it if necessary. More...
 
void slotNetworkPrint ()
 Sends the active network to the printer. More...
 
void slotNetworkViewSociomatrix ()
 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. 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 a an image. 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 a 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 ()
 Calls the m_datasetSelectionDialog to display the dataset selection dialog. More...
 
void slotNetworkDataSetRecreate (const QString)
 MainWindow::slotNetworkDataSetRecreate. More...
 
void slotNetworkRandomErdosRenyiDialog ()
 MainWindow::slotNetworkRandomErdosRenyiDialog Shows the Erdos-Renyi network creation dialog. More...
 
void slotNetworkRandomErdosRenyi (const int N, const QString model, const int edges, const qreal eprob, const QString mode, const bool diag)
 MainWindow::slotNetworkRandomErdosRenyi. More...
 
void slotNetworkRandomRegularDialog ()
 MainWindow::slotNetworkRandomRegularDialog. More...
 
void slotNetworkRandomRegular (const int &newNodes, const int &degree, const QString &mode, const bool &diag)
 Creates a pseudo-random k-regular network where every node has the same degree. More...
 
void slotNetworkRandomGaussian ()
 
void slotNetworkRandomScaleFreeDialog ()
 MainWindow::slotNetworkRandomScaleFreeDialog. More...
 
void slotNetworkRandomScaleFree (const int &newNodes, const int &power, const int &initialNodes, const int &edgesPerStep, const qreal &zeroAppeal, const QString &mode)
 MainWindow::slotNetworkRandomScaleFree. More...
 
void slotNetworkRandomSmallWorldDialog ()
 MainWindow::slotNetworkRandomSmallWorldDialog. More...
 
void slotNetworkRandomSmallWorld (const int &newNodes, const int &degree, const qreal &beta, const QString &mode, const bool &diag)
 MainWindow::slotNetworkRandomSmallWorld. More...
 
void slotNetworkRandomRingLattice ()
 MainWindow::slotNetworkRandomRingLattice Creates a lattice network, i.e. a connected network where every node has the same degree and is connected with its neighborhood. More...
 
void slotNetworkRandomLatticeDialog ()
 Called from DialogRandLattice. More...
 
void slotNetworkRandomLattice (const int &newNodes, const int &length, const int &dimension, const int &nei, const QString &mode, const bool &circular)
 Creates a lattice network, i.e. a connected network whose drawing forms a regular tiling Lattices are also known as meshes or grids. More...
 
void slotNetworkWebCrawlerDialog ()
 Shows a dialog for the user to configure the webcrawler. The dialog passes the user options to slotNetworkWebCrawler() 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)
 Clears the loaded network then calls Graph::startWebCrawler() with the user options. Called from m_WebCrawlerDialog. More...
 
void slotNetworkManagerRequest (const QUrl &url, const NetworkRequestType &requestType)
 On user demand, makes a network request to url and creates the QNetworkReply object to handle the reply. More...
 
void slotEditDragModeSelection (bool)
 Called from editDragModeSelectAct to toggle the drag mode (select or scroll). More...
 
void slotEditDragModeScroll (bool)
 Called from editDragModeSelectAct to toggle the drag mode (select or scroll). More...
 
void slotEditRelationsClear ()
 Clears the relations combo. Called from Graph::relationsClear() More...
 
void slotEditRelationAddPrompt ()
 Prompts the user to enter the name of a new relation On success, emits signal to Graph to change to the new relation. More...
 
void slotEditRelationAdd (const QString &newRelationName)
 Adds a new relation to our UI relations combo. More...
 
void slotEditRelationChange (const int relIndex=RAND_MAX)
 Changes the editRelations combo box index to relIndex If relIndex==RAND_MAX the index is set to the last relation index. More...
 
void slotEditRelationRename ()
 Prompts the user to enter a new name for the current relation. More...
 
void slotEditOpenContextMenu (const QPointF &mPos)
 MainWindow::slotEditOpenContextMenu Popups a context menu with some options when the user right-clicks on the scene. More...
 
void slotEditSelectionChanged (const int &selNodes, const int &selEdges)
 Called from Graph when the user-selected nodes/edges has changed. More...
 
void slotEditNodeSelectAll ()
 MainWindow::slotEditNodeSelectAll. More...
 
void slotEditNodeSelectNone ()
 MainWindow::slotEditNodeSelectNone. More...
 
void slotEditNodeInfoStatusBar (const int &number, const QPointF &p, const QString &label, const int &inDegree, const int &outDegree)
 Called by Graph::userClickedNode() signal, when the user clicks on a node. It displays information about the node on the statusbar. More...
 
void slotEditNodePosition (const int &nodeNumber, const int &x, const int &y)
 MainWindow::slotEditNodePosition Called from GraphicsWidget when a node moves to update vertex coordinates in Graph. More...
 
void slotEditNodeAdd ()
 MainWindow::slotEditNodeAdd Calls Graph::vertexCreate method to add a new RANDOM node into the activeGraph-> * Called when "Add Node" button is clicked on the Main Window. More...
 
void slotEditNodeFindDialog ()
 Opens the node find dialog. More...
 
void slotEditNodeFind (const QStringList &list, const QString &searchType, const QString &indexStr=QString())
 MainWindow::slotEditNodeFind. More...
 
void slotEditNodeRemove ()
 MainWindow::slotEditNodeRemove Deletes a node and the attached objects (edges, etc). If user has clicked on a node (signaled from GW or set by another function) it deletes it Else it asks for a nodeNumber to remove. The nodeNumber is doomedJim. Called from nodeContextMenu. 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 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. Calls Graph::verticesSelectedCreateClique() More...
 
void slotEditNodeSelectedToStar ()
 Creates a star subgraph from selected nodes. User must choose a central actor. Calls Graph::slotEditNodeSelectedToStar() More...
 
void slotEditNodeSelectedToCycle ()
 Creates a cycle subgraph from selected nodes. Calls Graph::verticesSelectedCreateCycle() More...
 
void slotEditNodeSelectedToLine ()
 Creates a line subgraph from selected nodes. Calls Graph::verticesSelectedCreateLine() More...
 
void slotEditNodeColorAll (QColor color=QColor())
 Changes the color of all nodes to parameter color Calls activeGraph->vertexColorSet to do the work If parameter color is invalid, opens a QColorDialog to select a new node color for all nodes. Called from Settings Dialog and Edit menu option. More...
 
void slotEditNodeSizeAll (int newSize=0, const bool &normalized=false)
 Changes the size of nodes to newSize. Calls activeGraph->vertexSizeSet to do the work. Called from Edit menu item, DialogSettings If newSize = 0 asks the user a new size for all nodes If normalized = true, changes node sizes according to their plethos. 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)
 Called by Graph::signalEdgeClicked when the user clicks on an edge 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 ()
 Adds a new edge between two nodes specified by the user. Called when user clicks on the MW button/menu item "Add edge". More...
 
void slotEditEdgeCreate (const int &source, const int &target, const qreal &weight=1)
 Helper to slotEditEdgeAdd() above Also called from GW::userMiddleClicked() signal when user creates edges with middle-clicks Calls Graph::edgeCreate method to add the new edge to the active Graph. 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 If color is not valid, it opens a QColorDialog If threshold == RAND_MAX it changes the color of all edges. Called from Edit->Edges menu option and Settings Dialog. 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 symmetric relation with ties only between pairs of nodes who are cocited by others. 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)
 Calls Graph::vertexIsolatedAllToggle to toggle visibility of isolated vertices. More...
 
void slotEditFilterEdgesByWeightDialog ()
 Shows a dialog from where the user may filter edges according to their weight All edges weighted more (or less) than the specified weight will be disabled. More...
 
void slotEditFilterEdgesUnilateral (bool checked)
 Calls Graph::edgeFilterUnilateral(bool). If bool==true, all unilateral edges are filtered out. 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 ()
 Checks sender text() to find out who QMenu item was pressed calls slotLayoutRadialByProminenceIndex(QString) More...
 
void slotLayoutRadialByProminenceIndex (QString prominenceIndexName)
 Overloaded - called when user clicks Apply in the Layout toolbox or from slotLayoutRadialByProminenceIndex() when the user click on menu Places all nodes on concentric circles according to their index score. More prominent nodes are closer to the centre of the screen. More...
 
void slotLayoutLevelByProminenceIndex ()
 Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutLevelByProminenceIndex(QString) More...
 
void slotLayoutLevelByProminenceIndex (QString prominenceIndexName)
 Overloaded - called when user clicks on toolbox options and when the user selects a menu option (called by slotLayoutLevelByProminenceIndex()) Repositions all nodes on different top-down levels according to the chosen prominence index. More prominent nodes are closer to the top of the canvas. More...
 
void slotLayoutNodeSizeByProminenceIndex ()
 Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeSizeByProminenceIndex(QString) More...
 
void slotLayoutNodeSizeByProminenceIndex (QString prominenceIndexName)
 Calls Graph::layoutByProminenceIndex(2) to apply a layout model where the size of each node follows its prominence score Called when selectbox changes in the toolbox. More...
 
void slotLayoutNodeColorByProminenceIndex ()
 Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeColorByProminenceIndex(QString) More...
 
void slotLayoutNodeColorByProminenceIndex (QString prominenceIndexName)
 Calls Graph::layoutByProminenceIndex to apply a layout model where the color of each node follows its prominence score RED=rgb(255,0,0) most prominent BLUE=rgb(0,0,255) least prominent Called when selectbox changes in the toolbox. 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 ()
 Calls Graph::layoutForceDirectedKamadaKawai to embed the Kamada-Kawai FDP model to the network. More...
 
void slotLayoutColorationStrongStructural ()
 
void slotLayoutColorationRegular ()
 
void slotLayoutGuides (const bool &toggle)
 Enables/disables layout guides Called from. More...
 
void askAboutWeights (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 ()
 Displays the graph distance (geodesic distance) between two user-specified nodes This is the length of the shortest path between them. More...
 
void slotAnalyzeDistanceAverage ()
 Displays the average shortest path length (average graph distance) More...
 
void slotAnalyzeDiameter ()
 
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 distribution miniChart Called from Graph::signalPromininenceDistributionChartUpdate 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 & Preferences 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)
 MainWindow::slotOptionsEdgeWeightsDuringComputation. More...
 
void slotOptionsEdgeThicknessPerWeight (bool toggle)
 MainWindow::slotOptionsEdgeThicknessPerWeight. More...
 
void slotOptionsEdgesBezier (bool toggle)
 
void slotOptionsEdgeArrowsVisibility (bool toggle)
 MainWindow::slotOptionsEdgeArrowsVisibility 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)
 Sets canvas index method. Called from Settings dialog. 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 useful info message. More...
 
void slotHelpMessageToUserError (const QString text=QString())
 Helper function to display a useful 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())
 Convenience method. 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. The message box containt info about the error code. More...
 
void statusMessage (const QString)
 Convenience method to show a message in the status bar, with the given duration Slot called by Graph::statusMessage to display some message to the user. More...
 
void toolBoxNetworkAutoCreateSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Network Auto Create selectbox of the toolbox. More...
 
void toolBoxEditNodeSubgraphSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox. More...
 
void toolBoxEditEdgeTransformSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Edge Transform selectbox of the toolbox. More...
 
void toolBoxAnalysisMatricesSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Matrices selectbox of the toolbox. More...
 
void toolBoxAnalysisCohesionSelectChanged (const int &selectedIndex)
 Called from MW, 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 from MW, when user selects something in the Structural Equivalence selectbox of the toolbox. More...
 
void toolBoxAnalysisProminenceSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Prominence selectbox of the toolbox. More...
 
void toolBoxAnalysisCommunitiesSelectChanged (const int &selectedIndex)
 Called from MW, when user selects something in the Communities selectbox of the toolbox. More...
 
void toolBoxLayoutByIndexApplyBtnPressed ()
 Called from MW, when user selects a Prominence index in the Layout selectbox of the Control Panel . More...
 
void toolBoxLayoutForceDirectedApplyBtnPressed ()
 Called from MW, when 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)
 MainWindow contruction method. More...
 
 ~MainWindow ()
 Deletes variables on MW closing. More...
 
void slotStyleSheetDefault (const bool checked)
 Toggles the use of SocNetV default Qt StyleSheet (.qss file defined in project resources) More...
 
void slotStyleSheetByName (const QString &sheetFileName)
 Loads a custom Qt StyleSheet (.qss file) If sheetFileName is empty, the app uses platform-specific Qt style. 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)
 MainWindow::terminateThreads. More...
 
void initView ()
 Initializes our network view widget, graphicsWidget, with a graphics scene. The widget is a QGraphicsView canvas which is the 'main' widget of SocNetV. More...
 
void initActions ()
 Initializes all QActions of the application Take a breath, the listing below is HUGE. More...
 
void initMenuBar ()
 Creates and populates the menu bar. 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 (const bool &maximized=false, const bool &fullscreen=false)
 Initializes the application window UI: Creates helper widgets and sets the main layout of the MainWindow. 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 saveSettings ()
 Saves default (or user-defined) app settings. More...
 
void initApp ()
 Initializes the default network parameters. Used on app start and especially when erasing a network to start a new one. More...
 
void initComboBoxes ()
 
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)
 The resize event is 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 maxRandomlyCreatedNodes
 
int fortuneCookiesCounter
 
bool inverseWeights
 
bool askedAboutWeights
 
QString fileName
 
QString previous_fileName
 
QString fileNameNoPath
 
QString progressMsg
 
QString initFileCodec
 
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 * editDragModeScrollAct
 
QAction * editDragModeSelectAct
 
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 
)

MainWindow contruction method.

Parameters
m_fileNamethe file to load, if any.

◆ ~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.

◆ askAboutWeights

void MainWindow::askAboutWeights ( 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 network parameters. Used on app start and especially 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 ( )

◆ initGraph()

void MainWindow::initGraph ( )

Initializes the Graph.

◆ initMenuBar()

void MainWindow::initMenuBar ( )

Creates and populates the menu bar.

menuBar entry networkMenu

menuBar entry editMenu

menuBar entry: analyze menu

menuBar entry layoutMenu

menuBar entry optionsMenu

menuBar entry helpMenu

◆ 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:

◆ initToolBar()

void MainWindow::initToolBar ( )

Initializes the toolbar.

◆ initView()

void MainWindow::initView ( )

Initializes our network view widget, graphicsWidget, with a graphics scene. The widget is a QGraphicsView canvas which is the 'main' widget of SocNetV.

◆ initWindowLayout()

void MainWindow::initWindowLayout ( const bool &  maximized = false,
const bool &  fullscreen = false 
)

Initializes the application window UI: 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

The resize event is 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

Displays the graph distance (geodesic distance) between two user-specified nodes This 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 distribution miniChart Called from Graph::signalPromininenceDistributionChartUpdate 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

Called from editDragModeSelectAct to toggle the drag mode (select or scroll).

◆ slotEditDragModeSelection

void MainWindow::slotEditDragModeSelection ( bool  checked)
slot

Called from editDragModeSelectAct to toggle the drag mode (select or scroll).

◆ slotEditEdgeAdd

void MainWindow::slotEditEdgeAdd ( )
slot

Adds a new edge between two nodes specified by the user. 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

Called by Graph::signalEdgeClicked when the user clicks on an edge Displays information about the clicked edge on the statusbar.

Parameters
edge

◆ 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. Called from Edit->Edges menu option and Settings Dialog.

Parameters
color= QColor()
threshold= RAND_MAX

◆ slotEditEdgeCreate

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

Helper to slotEditEdgeAdd() above Also called from GW::userMiddleClicked() signal when user creates edges with middle-clicks Calls Graph::edgeCreate method to add the new edge to the active Graph.

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)

◆ 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 symmetric relation with ties only between pairs of nodes who are 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 from where the user may filter edges according to their weight All edges weighted more (or less) than the specified weight will be disabled.

◆ slotEditFilterEdgesUnilateral

void MainWindow::slotEditFilterEdgesUnilateral ( bool  checked)
slot

Calls Graph::edgeFilterUnilateral(bool). If bool==true, all unilateral edges are filtered out.

Parameters
checked

◆ slotEditFilterNodesIsolates

void MainWindow::slotEditFilterNodesIsolates ( bool  checked)
slot

Calls Graph::vertexIsolatedAllToggle to toggle visibility of isolated vertices.

◆ slotEditNodeAdd

void MainWindow::slotEditNodeAdd ( )
slot

MainWindow::slotEditNodeAdd Calls Graph::vertexCreate method to add a new RANDOM node into the activeGraph-> * Called when "Add Node" button is clicked on the Main Window.

◆ slotEditNodeColorAll

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

Changes the color of all nodes to parameter color Calls activeGraph->vertexColorSet to do the work If parameter color is invalid, opens a QColorDialog to select a new node color for all nodes. Called from Settings Dialog and Edit menu option.

Parameters
color

◆ slotEditNodeFind

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

MainWindow::slotEditNodeFind.

Parameters
list

◆ slotEditNodeFindDialog

void MainWindow::slotEditNodeFindDialog ( )
slot

Opens the node find dialog.

◆ slotEditNodeInfoStatusBar

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

Called by Graph::userClickedNode() signal, when the user clicks on a node. It displays information about the node on the statusbar.

Parameters
jim

◆ 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

MainWindow::slotEditNodePosition Called from GraphicsWidget when a node moves to update vertex coordinates in Graph.

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 Node Properties dialog for the selected nodes. If no nodes are selected, prompts the user for a node number.

◆ slotEditNodeRemove

void MainWindow::slotEditNodeRemove ( )
slot

MainWindow::slotEditNodeRemove Deletes a node and the attached objects (edges, etc). If user has clicked on a node (signaled from GW or set by another function) it deletes it Else it asks for a nodeNumber to remove. The nodeNumber is doomedJim. Called from nodeContextMenu.

◆ slotEditNodeSelectAll

void MainWindow::slotEditNodeSelectAll ( )
slot

◆ slotEditNodeSelectedToClique

void MainWindow::slotEditNodeSelectedToClique ( )
slot

Creates a complete subgraph (clique) from selected nodes. Calls Graph::verticesSelectedCreateClique()

◆ slotEditNodeSelectedToCycle

void MainWindow::slotEditNodeSelectedToCycle ( )
slot

Creates a cycle subgraph from selected nodes. Calls Graph::verticesSelectedCreateCycle()

◆ slotEditNodeSelectedToLine

void MainWindow::slotEditNodeSelectedToLine ( )
slot

Creates a line subgraph from selected nodes. Calls Graph::verticesSelectedCreateLine()

◆ slotEditNodeSelectedToStar

void MainWindow::slotEditNodeSelectedToStar ( )
slot

Creates a star subgraph from selected nodes. User must choose a central actor. Calls Graph::slotEditNodeSelectedToStar()

◆ slotEditNodeSelectNone

void MainWindow::slotEditNodeSelectNone ( )
slot

◆ 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. Calls activeGraph->vertexSizeSet to do the work. Called from Edit menu item, DialogSettings If newSize = 0 asks the user a new size for all nodes If normalized = true, changes node sizes according to their plethos.

Parameters
newSize
normalized

◆ slotEditOpenContextMenu

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

MainWindow::slotEditOpenContextMenu Popups a context menu with some options when the user right-clicks on the scene.

Parameters
mPos

◆ slotEditRelationAdd

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

Adds a new relation to our UI 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.

Parameters
newName

◆ slotEditRelationsClear

void MainWindow::slotEditRelationsClear ( )
slot

Clears the relations combo. Called from Graph::relationsClear()

◆ slotEditSelectionChanged

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

Called from Graph when the user-selected nodes/edges has changed.

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

Convenience method.

Parameters
message

◆ slotHelpMessageToUserError

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

Helper function to display a useful error message.

Parameters
text

◆ slotHelpMessageToUserInfo

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

Helper function to display a useful info message.

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

Enables/disables layout guides Called from.

Parameters
state

◆ slotLayoutKamadaKawai

void MainWindow::slotLayoutKamadaKawai ( )
slot

Calls Graph::layoutForceDirectedKamadaKawai to embed the Kamada-Kawai FDP model to the network.

◆ slotLayoutLevelByProminenceIndex [1/2]

void MainWindow::slotLayoutLevelByProminenceIndex ( )
slot

Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutLevelByProminenceIndex(QString)

◆ slotLayoutLevelByProminenceIndex [2/2]

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

Overloaded - called when user clicks on toolbox options and when the user selects a menu option (called by slotLayoutLevelByProminenceIndex()) Repositions all nodes on different top-down levels according to the chosen prominence index. More prominent nodes are closer to the top of the canvas.

◆ slotLayoutNodeColorByProminenceIndex [1/2]

void MainWindow::slotLayoutNodeColorByProminenceIndex ( )
slot

Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeColorByProminenceIndex(QString)

◆ slotLayoutNodeColorByProminenceIndex [2/2]

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

Calls Graph::layoutByProminenceIndex to apply a layout model where the color of each node follows its prominence score RED=rgb(255,0,0) most prominent BLUE=rgb(0,0,255) least prominent Called when selectbox changes in the toolbox.

◆ slotLayoutNodeSizeByProminenceIndex [1/2]

void MainWindow::slotLayoutNodeSizeByProminenceIndex ( )
slot

Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeSizeByProminenceIndex(QString)

◆ slotLayoutNodeSizeByProminenceIndex [2/2]

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

Calls Graph::layoutByProminenceIndex(2) to apply a layout model where the size of each node follows its prominence score Called when selectbox changes in the toolbox.

◆ slotLayoutRadialByProminenceIndex [1/2]

void MainWindow::slotLayoutRadialByProminenceIndex ( )
slot

Checks sender text() to find out who QMenu item was pressed calls slotLayoutRadialByProminenceIndex(QString)

◆ slotLayoutRadialByProminenceIndex [2/2]

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

Overloaded - called when user clicks Apply in the Layout toolbox or from slotLayoutRadialByProminenceIndex() when the user click on menu Places all nodes on concentric circles according to their index score. More prominent nodes are closer to the centre of the screen.

◆ 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.

◆ slotNetworkAvailableTextCodecs

void MainWindow::slotNetworkAvailableTextCodecs ( )
slot

Setup a list of all text codecs supported by OS.

◆ slotNetworkChanged

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

Called by Graph when the network has changed a lot. Makes the networkSave icon active and refreshes any LCD values. Also called from activeGraph and graphicsWidget.

◆ slotNetworkClose

void MainWindow::slotNetworkClose ( )
slot

Closes the network. Saves it if necessary.

◆ slotNetworkDataSetRecreate

void MainWindow::slotNetworkDataSetRecreate ( const QString  m_fileName)
slot

MainWindow::slotNetworkDataSetRecreate.

Parameters
m_fileNameRecreates some of the most famous and widely used data sets in network analysis studies

◆ slotNetworkDataSetSelect

void MainWindow::slotNetworkDataSetSelect ( )
slot

Calls the m_datasetSelectionDialog to display 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 a an image.

Returns

◆ 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.

Returns

◆ slotNetworkExportPDFDialog

void MainWindow::slotNetworkExportPDFDialog ( )
slot

Opens the Export to PDF Dialog.

◆ slotNetworkExportSM

void MainWindow::slotNetworkExportSM ( )
slot

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

◆ slotNetworkFileChoose

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

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
m_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 selects a file filter (i.e. GraphML) in the fileDialog.

Parameters
filter

◆ slotNetworkFileDialogRejected

void MainWindow::slotNetworkFileDialogRejected ( )
slot

◆ slotNetworkFileLoad

void MainWindow::slotNetworkFileLoad ( const QString  m_fileName,
const QString  m_codecName,
const int  m_fileFormat 
)
slot

Main network file loader method Called from m_dialogPreviewFile and slotNetworkDataSetRecreate Calls initApp to init to default values. Then calls activeGraph::graphLoad to actually load the network...

Parameters
m_fileName
m_codecName
m_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 QString &  message = QString() 
)
slot

Called from Parser/Graph when a network file is loaded. It informs the MW about the type of the network so that it can display the appropiate message.

Parameters
type
netName
aNodes
totalEdges

◆ slotNetworkFileLoadRecent

void MainWindow::slotNetworkFileLoadRecent ( )
slot

Called on click on any file entry in "Recent Files" menu Calls slotNetworkFileChoose() which checks file type and calls slotNetworkFilePreview.

◆ slotNetworkFilePreview

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

Called from slotNetworkFileChoose() Opens a window to preview the selected file where the user can select an appropriate text codec.

Parameters
m_fileName
m_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. Network must be unchanged since last save/load. Otherwise it will ask the user to first 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 containt info about the error code.

Parameters
code

◆ slotNetworkManagerRequest

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

On user demand, makes a network request to url and 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

Creates a new network.

◆ 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

MainWindow::slotNetworkRandomErdosRenyi.

Parameters
newNodes
model
edges
eprob
mode
diagCalls activeGraph->slotNetworkRandomErdosRenyi () to create a symmetric network Edge existance is controlled by a user specified possibility.

◆ slotNetworkRandomErdosRenyiDialog

void MainWindow::slotNetworkRandomErdosRenyiDialog ( )
slot

MainWindow::slotNetworkRandomErdosRenyiDialog Shows the Erdos-Renyi network creation dialog.

◆ 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 lattice network, i.e. a connected network whose drawing forms a regular tiling Lattices are also known as meshes or grids.

Parameters
newNodes
degree
mode
diag

◆ slotNetworkRandomLatticeDialog

void MainWindow::slotNetworkRandomLatticeDialog ( )
slot

Called from DialogRandLattice.

◆ slotNetworkRandomRegular

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

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

Parameters
newNodes
degree
mode
diag

◆ slotNetworkRandomRegularDialog

void MainWindow::slotNetworkRandomRegularDialog ( )
slot

◆ slotNetworkRandomRingLattice

void MainWindow::slotNetworkRandomRingLattice ( )
slot

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

◆ slotNetworkRandomScaleFree

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

MainWindow::slotNetworkRandomScaleFree.

Parameters
nodes
power
initialNodes
edgesPerStep
zeroAppeal
mode

◆ slotNetworkRandomScaleFreeDialog

void MainWindow::slotNetworkRandomScaleFreeDialog ( )
slot

◆ slotNetworkRandomSmallWorld

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

MainWindow::slotNetworkRandomSmallWorld.

Parameters
nodes
degree
beta
mode
diag

◆ slotNetworkRandomSmallWorldDialog

void MainWindow::slotNetworkRandomSmallWorldDialog ( )
slot

◆ slotNetworkSave

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

Saves the network to a file by calling Graph::graphSave(). 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.

◆ slotNetworkSaveAs

void MainWindow::slotNetworkSaveAs ( )
slot

Saves the network in a new GraphML file. Always uses the GraphML format and extension.

◆ slotNetworkSavedStatus

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

Called from Graph to update 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

Clears the loaded network then calls Graph::startWebCrawler() with the user options. Called from m_WebCrawlerDialog.

Parameters
seed
maxNodes
maxRecursion
extLinks
intLinks

◆ slotNetworkWebCrawlerDialog

void MainWindow::slotNetworkWebCrawlerDialog ( )
slot

Shows a dialog for the user to configure the webcrawler. The dialog passes the user options to slotNetworkWebCrawler()

◆ slotOpenSettingsDialog

void MainWindow::slotOpenSettingsDialog ( )
slot

Opens the Settings & Preferences 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

Sets canvas index method. Called from Settings dialog.

Parameters
toggle

◆ 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

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

◆ 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
sheetName

◆ slotStyleSheetDefault()

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

Toggles the use of SocNetV default Qt StyleSheet (.qss file defined in project resources)

Parameters
sheetName

◆ statusMessage

void MainWindow::statusMessage ( const QString  message)
slot

Convenience method to show a message in the status bar, with the given duration Slot called by Graph::statusMessage to display some message to the user.

Parameters
message

◆ terminateThreads()

void MainWindow::terminateThreads ( const QString &  reason)

MainWindow::terminateThreads.

Parameters
reason

◆ toolBoxAnalysisCohesionSelectChanged

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

Called from MW, 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 from MW, when user selects something in the Communities selectbox of the toolbox.

Parameters
selectedIndex

◆ toolBoxAnalysisMatricesSelectChanged

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

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

Parameters
selectedIndex

◆ toolBoxAnalysisProminenceSelectChanged

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

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

Parameters
selectedIndex

◆ toolBoxAnalysisStrEquivalenceSelectChanged

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

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

Parameters
selectedIndex

◆ toolBoxEditEdgeTransformSelectChanged

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

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

Parameters
selectedIndex

◆ toolBoxEditNodeSubgraphSelectChanged

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

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

Parameters
selectedIndex

◆ toolBoxLayoutByIndexApplyBtnPressed

void MainWindow::toolBoxLayoutByIndexApplyBtnPressed ( )
slot

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

◆ toolBoxLayoutForceDirectedApplyBtnPressed

void MainWindow::toolBoxLayoutForceDirectedApplyBtnPressed ( )
slot

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

◆ toolBoxNetworkAutoCreateSelectChanged

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

Called from MW, 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

◆ editDragModeScrollAct

QAction* MainWindow::editDragModeScrollAct
private

◆ editDragModeSelectAct

QAction * MainWindow::editDragModeSelectAct
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

◆ 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

◆ initFileCodec

QString MainWindow::initFileCodec
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

◆ 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

◆ 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: