The base window of SocNetV contains all widgets and functionality. More...
#include <mainwindow.h>


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 °ree, 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 °ree, 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 } |
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
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_fileName the 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
|
slot |
If the network has weighted / valued edges, it asks the user if the app should consider weights or not.
◆ closeEvent()
|
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:
- the GraphicsWidget and the Graph
- the GraphicsWidget and the MainWindow This must be called after all widgets have been created.
◆ 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()
|
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
|
signal |
◆ signalSetReportsDataDir
|
signal |
◆ slotAboutQt
|
slot |
Displays a short message about the Qt Toolbox.
◆ slotAnalyzeCentralityBetweenness
|
slot |
Writes Betweenness Centralities into a file, then displays it.
◆ slotAnalyzeCentralityCloseness
|
slot |
Writes Closeness Centralities into a file, then displays it.
◆ slotAnalyzeCentralityClosenessIR
|
slot |
MainWindow::slotAnalyzeCentralityClosenessIR Writes Centrality Closeness (based on Influence Range) indices into a file, then displays it.
◆ slotAnalyzeCentralityDegree
|
slot |
Writes Out-Degree Centralities into a file, then displays it.
◆ slotAnalyzeCentralityEccentricity
|
slot |
MainWindow::slotAnalyzeCentralityEccentricity Writes Eccentricity Centralities into a file, then displays it.
◆ slotAnalyzeCentralityEigenvector
|
slot |
Writes Eigenvector Centralities into a file, then displays it.
◆ slotAnalyzeCentralityInformation
|
slot |
MainWindow::slotAnalyzeCentralityInformation Writes Informational Centralities into a file, then displays it.
◆ slotAnalyzeCentralityPower
|
slot |
MainWindow::slotAnalyzeCentralityPower Writes Gil-Schmidt Power Centralities into a file, then displays it.
◆ slotAnalyzeCentralityStress
|
slot |
MainWindow::slotAnalyzeCentralityStress Writes Stress Centralities into a file, then displays it.
◆ slotAnalyzeClusteringCoefficient
|
slot |
Calls Graph::writeClusteringCoefficient() to write Clustering Coefficients into a file, and displays it.
◆ slotAnalyzeCommunitiesCliqueCensus
|
slot |
Calls Graph:: writeCliqueCensus() to write the Clique Census into a file, then displays it.
◆ slotAnalyzeCommunitiesTriadCensus
|
slot |
Calls Graph to compute and write a triad census into a file, then displays it.
◆ slotAnalyzeConnectedness
|
slot |
Reports the network connectedness.
◆ slotAnalyzeDiameter
|
slot |
Displays the network diameter (largest geodesic)
◆ slotAnalyzeDistance
|
slot |
Displays the graph distance (geodesic distance) between two user-specified nodes This is the length of the shortest path between them.
◆ slotAnalyzeDistanceAverage
|
slot |
Displays the average shortest path length (average graph distance)
◆ slotAnalyzeEccentricity
|
slot |
Writes Eccentricity indices into a file, then displays it.
◆ slotAnalyzeMatrixAdjacencyCocitation
|
slot |
Writes the cocitation matrix.
◆ slotAnalyzeMatrixAdjacencyInverse
|
slot |
Writes the adjacency matrix inverse.
◆ slotAnalyzeMatrixAdjacencyTranspose
|
slot |
Writes the transpose adjacency matrix.
◆ slotAnalyzeMatrixDegree
|
slot |
Writes the degree matrix of the graph.
◆ slotAnalyzeMatrixDistances
|
slot |
Invokes calculation of the matrix of geodesic distances for the loaded network, then displays it.
◆ 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
|
slot |
Writes the Laplacian matrix of the graph.
◆ slotAnalyzePrestigeDegree
|
slot |
Writes Degree Prestige indices (In-Degree Centralities) into a file, then displays it.
◆ slotAnalyzePrestigePageRank
|
slot |
Writes PageRank Prestige indices into a file, then displays it.
◆ slotAnalyzePrestigeProximity
|
slot |
MainWindow::slotAnalyzePrestigeProximity Writes Proximity Prestige indices into a file, then displays them.
◆ slotAnalyzeProminenceDistributionChartUpdate
|
slot |
Updates the distribution miniChart Called from Graph::signalPromininenceDistributionChartUpdate after computing the prominence index distribution.
- Parameters
-
series axisX min max
◆ slotAnalyzeReachabilityMatrix
|
slot |
◆ slotAnalyzeReciprocity
|
slot |
Displays the arc and dyad reciprocity of the network
◆ slotAnalyzeStrEquivalenceClusteringHierarchical
|
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
|
slot |
Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.
◆ slotAnalyzeStrEquivalenceDissimilaritiesDialog
|
slot |
Displays the DialogDissimilarities dialog.
◆ slotAnalyzeStrEquivalenceDissimilaritiesTieProfile
|
slot |
Invokes calculation of pair-wise tie profile dissimilarities of the network, then displays it.
- Parameters
-
metric varLocation diagonal
◆ slotAnalyzeStrEquivalencePearson
|
slot |
Calls Graph::writeMatrixSimilarityPearson() to write Pearson Correlation Coefficients into a file, and displays it.
◆ slotAnalyzeStrEquivalencePearsonDialog
|
slot |
Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.
◆ slotAnalyzeStrEquivalenceSimilarityByMeasure
|
slot |
Calls Graph::writeMatrixSimilarityMatching() to write a similarity matrix according to given measure into a file, and displays it.
◆ slotAnalyzeStrEquivalenceSimilarityMeasureDialog
|
slot |
Displays the DialogSimilarityMatches dialog.
◆ slotAnalyzeSymmetryCheck
|
slot |
Displays a box informing the user about the symmetry or not of the adjacency matrix
◆ slotAnalyzeWalksLength
|
slot |
Calls Graph:: writeWalksOfLengthMatrixPlainText() to calculate and print the number of walks of a given length , between each pair of nodes.
◆ slotAnalyzeWalksTotal
|
slot |
Calls Graph:: writeWalksTotalMatrixPlainText() to calculate and print the total number of walks of any length , between each pair of nodes.
◆ slotEditDragModeScroll
|
slot |
Called from editDragModeSelectAct to toggle the drag mode (select or scroll).
◆ slotEditDragModeSelection
|
slot |
Called from editDragModeSelectAct to toggle the drag mode (select or scroll).
◆ 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
|
slot |
Called by Graph::signalEdgeClicked when the user clicks on an edge Displays information about the clicked edge on the statusbar.
- Parameters
-
edge
◆ slotEditEdgeColor
|
slot |
Changes the color of the clicked edge. If no edge is clicked, then it asks the user to specify one.
◆ slotEditEdgeColorAll
|
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
|
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
|
slot |
Calls Graph::graphDichotomization() to create a new binary relation in a valued network using edge dichotomization according to threshold value.
◆ slotEditEdgeDichotomizationDialog
|
slot |
Opens up the edge dichotomization dialog.
◆ slotEditEdgeLabel
|
slot |
Changes the label of an edge.
◆ slotEditEdgeMode
|
slot |
Toggles between directed (mode=0) and undirected edges (mode=1)
◆ slotEditEdgeOpenContextMenu
|
slot |
Popups a context menu with edge-related options Called when the user right-clicks on an edge.
- Parameters
-
str
◆ slotEditEdgeRemove
|
slot |
Removes a clicked edge. Otherwise asks the user to specify one edge.
◆ 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
|
slot |
Adds a new symmetric relation with ties only between pairs of nodes who are cocited by others.
◆ slotEditEdgeSymmetrizeStrongTies
|
slot |
◆ slotEditEdgeUndirectedAll
|
slot |
Transforms all directed arcs to undirected edges. The result is a undirected and symmetric network.
◆ slotEditEdgeWeight
|
slot |
Changes the weight of the clicked edge. If no edge is clicked, asks the user to specify an Edge.
◆ 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
|
slot |
Calls Graph::edgeFilterUnilateral(bool). If bool==true, all unilateral edges are filtered out.
- Parameters
-
checked
◆ slotEditFilterNodesIsolates
|
slot |
Calls Graph::vertexIsolatedAllToggle to toggle visibility of isolated vertices.
◆ 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
|
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
|
slot |
- Parameters
-
list
◆ slotEditNodeFindDialog
|
slot |
Opens the node find dialog.
◆ slotEditNodeInfoStatusBar
|
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
|
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
|
slot |
Changes the color of all node labels. Asks the user to enter a new node label color.
◆ slotEditNodeLabelSize
|
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
|
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
|
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
|
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
|
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
|
slot |
MainWindow::slotEditNodePosition Called from GraphicsWidget when a node moves to update vertex coordinates in Graph.
- Parameters
-
nodeNumber x y
◆ slotEditNodeProperties
|
slot |
Applies new (user-defined) values to all selected nodes Called on exit from DialogNodeEdit.
- Parameters
-
label size value color shape
◆ slotEditNodePropertiesDialog
|
slot |
Opens Node Properties dialog for the selected nodes. If no nodes are selected, prompts the user for a node number.
◆ 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
|
slot |
◆ slotEditNodeSelectedToClique
|
slot |
Creates a complete subgraph (clique) from selected nodes. Calls Graph::verticesSelectedCreateClique()
◆ slotEditNodeSelectedToCycle
|
slot |
Creates a cycle subgraph from selected nodes. Calls Graph::verticesSelectedCreateCycle()
◆ slotEditNodeSelectedToLine
|
slot |
Creates a line subgraph from selected nodes. Calls Graph::verticesSelectedCreateLine()
◆ slotEditNodeSelectedToStar
|
slot |
Creates a star subgraph from selected nodes. User must choose a central actor. Calls Graph::slotEditNodeSelectedToStar()
◆ slotEditNodeSelectNone
|
slot |
◆ slotEditNodeShape
|
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
|
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
|
slot |
MainWindow::slotEditOpenContextMenu Popups a context menu with some options when the user right-clicks on the scene.
- Parameters
-
mPos
◆ slotEditRelationAdd
|
slot |
◆ 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
|
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
|
slot |
Prompts the user to enter a new name for the current relation.
- Parameters
-
newName
◆ slotEditRelationsClear
|
slot |
Clears the relations combo. Called from Graph::relationsClear()
◆ slotEditSelectionChanged
|
slot |
Called from Graph when the user-selected nodes/edges has changed.
- Parameters
-
nodes edges
◆ slotEditTransformNodes2Edges
|
slot |
Transforms all nodes to edges TODO slotEditTransformNodes2Edges
◆ slotFilterNodes
|
slot |
Filters Nodes by their value
TODO slotFilterNodes
◆ slotHelp
|
slot |
Opens the system web browser to load the online Manual.
◆ slotHelpAbout
|
slot |
Displays the following message!!
◆ slotHelpCheckUpdateDialog
|
slot |
On user demand, makes a network request to SocNetV website to download the latest version text file.
◆ slotHelpCheckUpdateParse
|
slot |
Parses the reply from the network request we do in slotHelpCheckUpdateDialog.
- Parameters
-
reply
◆ slotHelpCreateTips
|
slot |
Creates our tips.
◆ slotHelpMessageToUser
|
slot |
Convenience method.
- Parameters
-
message
◆ slotHelpMessageToUserError
|
slot |
Helper function to display a useful error message.
- Parameters
-
text
◆ slotHelpMessageToUserInfo
|
slot |
Helper function to display a useful info message.
- Parameters
-
text
◆ slotHelpSystemInfo
|
slot |
MainWindow::slotHelpSystemInfo Shows a dialog with system information for bug reporting purposes.
◆ slotHelpTips
|
slot |
Displays a random tip
◆ slotLayoutColorationRegular
|
slot |
TODO slotLayoutColorationRegular
◆ slotLayoutColorationStrongStructural
|
slot |
TODO slotLayoutColorationStrongStructural
◆ slotLayoutFruchterman
|
slot |
Calls Graph::layoutForceDirectedFruchtermanReingold to embed the Fruchterman-Reingold model of repelling-attracting forces to the network. Called from menu or toolbox.
◆ slotLayoutGuides
|
slot |
Enables/disables layout guides Called from.
- Parameters
-
state
◆ slotLayoutKamadaKawai
|
slot |
Calls Graph::layoutForceDirectedKamadaKawai to embed the Kamada-Kawai FDP model to the network.
◆ slotLayoutLevelByProminenceIndex [1/2]
|
slot |
Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutLevelByProminenceIndex(QString)
◆ slotLayoutLevelByProminenceIndex [2/2]
|
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]
|
slot |
Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeColorByProminenceIndex(QString)
◆ slotLayoutNodeColorByProminenceIndex [2/2]
|
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]
|
slot |
Checks sender text() to find out who QMenu item was pressed and what prominence index was chosen calls slotLayoutNodeSizeByProminenceIndex(QString)
◆ slotLayoutNodeSizeByProminenceIndex [2/2]
|
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]
|
slot |
Checks sender text() to find out who QMenu item was pressed calls slotLayoutRadialByProminenceIndex(QString)
◆ slotLayoutRadialByProminenceIndex [2/2]
|
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
|
slot |
Calls Graph::layoutRadialRandom to reposition all nodes on a radial layout randomly.
◆ slotLayoutRandom
|
slot |
Calls Graph::layoutRandom to reposition all nodes on a random layout.
◆ slotLayoutSpringEmbedder
|
slot |
Calls Graph::layoutForceDirectedSpringEmbedder to embed the Eades spring-gravitational model to the network. Called from menu or toolbox checkbox.
◆ slotNetworkAvailableTextCodecs
|
slot |
Setup a list of all text codecs supported by OS.
◆ slotNetworkChanged
|
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
|
slot |
Closes the network. Saves it if necessary.
◆ slotNetworkDataSetRecreate
|
slot |
MainWindow::slotNetworkDataSetRecreate.
- Parameters
-
m_fileName Recreates some of the most famous and widely used data sets in network analysis studies
◆ slotNetworkDataSetSelect
|
slot |
Calls the m_datasetSelectionDialog to display the dataset selection dialog.
◆ slotNetworkExportDL
|
slot |
TODO Exports the network to a DL-formatted file.
- Returns
◆ slotNetworkExportGW
|
slot |
TODO: Exports the network to a GW-formatted file
◆ slotNetworkExportImage
|
slot |
Exports the network to a an image.
- Returns
◆ slotNetworkExportImageDialog
|
slot |
Opens the Export to Image Dialog.
◆ slotNetworkExportList
|
slot |
TODO: Exports the network to a list-formatted file
◆ slotNetworkExportPajek
|
slot |
Exports the network to a Pajek-formatted file Calls the relevant Graph method.
◆ slotNetworkExportPDF
|
slot |
Exports the visible part of the network to a PDF Document.
- Returns
◆ slotNetworkExportPDFDialog
|
slot |
Opens the Export to PDF Dialog.
◆ slotNetworkExportSM
|
slot |
Exports the network to a adjacency matrix-formatted file Calls the relevant Graph method.
◆ slotNetworkFileChoose
|
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
|
slot |
Called when user selects a file in the fileDialog Calls slotNetworkFileChoose() again.
- Parameters
-
fileName
◆ slotNetworkFileDialogFilterSelected
|
slot |
Called when user selects a file filter (i.e. GraphML) in the fileDialog.
- Parameters
-
filter
◆ slotNetworkFileDialogRejected
|
slot |
◆ slotNetworkFileLoad
|
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
|
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
|
slot |
Called on click on any file entry in "Recent Files" menu Calls slotNetworkFileChoose() which checks file type and calls slotNetworkFilePreview.
◆ slotNetworkFilePreview
|
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
|
slot |
Updates the Recent Files QActions in the menu.
◆ 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
|
slot |
Imports a network from a Adjacency matrix formatted file.
◆ slotNetworkImportEdgeList
|
slot |
Imports a network from a simple List or weighted List formatted file.
◆ slotNetworkImportGML
|
slot |
Imports a network from a GML formatted file.
◆ slotNetworkImportGraphML
|
slot |
Imports a network from a GraphML formatted file.
◆ slotNetworkImportGraphviz
|
slot |
Imports a network from a Dot (GraphViz) formatted file.
◆ slotNetworkImportPajek
|
slot |
Imports a network from a Pajek-like formatted file.
◆ slotNetworkImportTwoModeSM
|
slot |
Imports a network from a two mode sociomatrix formatted file.
◆ slotNetworkImportUcinet
|
slot |
Imports a network from a UCINET formatted file.
◆ slotNetworkManagerReplyError
|
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
|
slot |
On user demand, makes a network request to url and creates the QNetworkReply object to handle the reply.
- Parameters
-
url requestType
◆ slotNetworkManagerSslErrors
|
slot |
Shows a message box to the user when the Network Manager encounters any SSL error.
- Parameters
-
reply errors
◆ slotNetworkNew
|
slot |
Creates a new network.
◆ slotNetworkPrint
|
slot |
Sends the active network to the printer.
◆ slotNetworkRandomErdosRenyi
|
slot |
MainWindow::slotNetworkRandomErdosRenyi.
- Parameters
-
newNodes model edges eprob mode diag Calls activeGraph->slotNetworkRandomErdosRenyi () to create a symmetric network Edge existance is controlled by a user specified possibility.
◆ slotNetworkRandomErdosRenyiDialog
|
slot |
MainWindow::slotNetworkRandomErdosRenyiDialog Shows the Erdos-Renyi network creation dialog.
◆ slotNetworkRandomGaussian
|
slot |
◆ slotNetworkRandomLattice
|
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
|
slot |
Called from DialogRandLattice.
◆ slotNetworkRandomRegular
|
slot |
Creates a pseudo-random k-regular network where every node has the same degree.
- Parameters
-
newNodes degree mode diag
◆ slotNetworkRandomRegularDialog
|
slot |
◆ 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
|
slot |
MainWindow::slotNetworkRandomScaleFree.
- Parameters
-
nodes power initialNodes edgesPerStep zeroAppeal mode
◆ slotNetworkRandomScaleFreeDialog
|
slot |
◆ slotNetworkRandomSmallWorld
|
slot |
MainWindow::slotNetworkRandomSmallWorld.
- Parameters
-
nodes degree beta mode diag
◆ slotNetworkRandomSmallWorldDialog
|
slot |
◆ slotNetworkSave
|
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
|
slot |
Saves the network in a new GraphML file. Always uses the GraphML format and extension.
◆ slotNetworkSavedStatus
|
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
|
slot |
Opens the embedded text editor.
◆ slotNetworkViewSociomatrix
|
slot |
◆ slotNetworkViewSociomatrixPlotText
|
slot |
Displays a text-only plot of the network adjacency matrix.
◆ slotNetworkWebCrawler
|
slot |
Clears the loaded network then calls Graph::startWebCrawler() with the user options. Called from m_WebCrawlerDialog.
- Parameters
-
seed maxNodes maxRecursion extLinks intLinks
◆ slotNetworkWebCrawlerDialog
|
slot |
Shows a dialog for the user to configure the webcrawler. The dialog passes the user options to slotNetworkWebCrawler()
◆ slotOpenSettingsDialog
|
slot |
Opens the Settings & Preferences dialog.
◆ slotOptionsBackgroundColor
|
slot |
Called from Options menu and Settings dialog.
- Parameters
-
color QColor
◆ slotOptionsBackgroundImage
|
slot |
Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog and.
◆ slotOptionsBackgroundImageSelect
|
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
|
slot |
Turns antialiasing on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasAntialiasingAutoAdjust
|
slot |
Turns antialiasing auto-adjustment on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasCacheBackground
|
slot |
Turns caching of canvas background on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasEdgeHighlighting
|
slot |
Turns selected edge highlighting.
- Parameters
-
toggle
◆ slotOptionsCanvasIndexMethod
|
slot |
Sets canvas index method. Called from Settings dialog.
- Parameters
-
toggle
◆ slotOptionsCanvasOpenGL
|
slot |
Turns opengl on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasSavePainterState
|
slot |
Turns saving painter state on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasSmoothPixmapTransform
|
slot |
Turns smooth pixmap transformations on or off.
- Parameters
-
toggle
◆ slotOptionsCanvasUpdateMode
|
slot |
Sets canvas update mode.
- Parameters
-
toggle
◆ slotOptionsDebugMessages
|
slot |
Turns debugging messages on or off.
- Parameters
-
toggle
◆ slotOptionsEdgeArrowsVisibility
|
slot |
MainWindow::slotOptionsEdgeArrowsVisibility Turns on/off the arrows of edges.
- Parameters
-
toggle
◆ slotOptionsEdgeLabelsVisibility
|
slot |
MainWindow::slotOptionsEdgeLabelsVisibility Turns on/off displaying edge labels.
- Parameters
-
toggle
◆ slotOptionsEdgeOffsetFromNode
|
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
|
slot |
FIXME edges Bezier
◆ slotOptionsEdgesVisibility
|
slot |
MainWindow::slotOptionsEdgesVisibility.
- Parameters
-
toggle
◆ slotOptionsEdgeThicknessPerWeight
|
slot |
MainWindow::slotOptionsEdgeThicknessPerWeight.
- Parameters
-
toggle
◆ slotOptionsEdgeWeightNumbersVisibility
|
slot |
MainWindow::slotOptionsEdgeWeightNumbersVisibility Turns on/off displaying edge weight numbers.
- Parameters
-
toggle
◆ slotOptionsEdgeWeightsDuringComputation
|
slot |
MainWindow::slotOptionsEdgeWeightsDuringComputation.
- Parameters
-
toggle
◆ slotOptionsEmbedLogoExporting
|
slot |
MainWindow::slotOptionsEmbedLogoExporting.
- Parameters
-
toggle
◆ slotOptionsNodeLabelsVisibility
|
slot |
MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.
- Parameters
-
toggle
◆ slotOptionsNodeNumbersInside
|
slot |
MainWindow::slotOptionsNodeNumbersInside Turns on/off displaying the nodenumbers inside the nodes.
- Parameters
-
toggle
◆ slotOptionsNodeNumbersVisibility
|
slot |
MainWindow::slotOptionsNodeNumbersVisibility Turns on/off displaying the numbers of nodes (outside ones)
- Parameters
-
toggle
◆ slotOptionsProgressDialogVisibility
|
slot |
Turns progress dialogs on or off.
- Parameters
-
toggle
◆ slotOptionsWindowFullScreen
|
slot |
Toggles full screen mode (F11)
- Parameters
-
toggle
◆ slotOptionsWindowLeftPanelVisibility
|
slot |
Toggles left panel.
- Parameters
-
toggle
◆ slotOptionsWindowRightPanelVisibility
|
slot |
Toggles right panel.
- Parameters
-
toggle
◆ slotOptionsWindowStatusbarVisibility
|
slot |
Turns window statusbar on or off.
- Parameters
-
toggle
◆ slotOptionsWindowToolbarVisibility
|
slot |
Turns Toolbar on or off.
- Parameters
-
toggle
◆ slotProgressBoxCreate
|
slot |
Creates a Qt Progress Dialog if max = 0, then max becomes equal to active vertices*.
- Parameters
-
max msg
◆ slotProgressBoxDestroy
|
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
|
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 | ) |
- Parameters
-
reason
◆ toolBoxAnalysisCohesionSelectChanged
|
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
|
slot |
Called from MW, when user selects something in the Communities selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxAnalysisMatricesSelectChanged
|
slot |
Called from MW, when user selects something in the Matrices selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxAnalysisProminenceSelectChanged
|
slot |
Called from MW, when user selects something in the Prominence selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxAnalysisStrEquivalenceSelectChanged
|
slot |
Called from MW, when user selects something in the Structural Equivalence selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxEditEdgeTransformSelectChanged
|
slot |
Called from MW, when user selects something in the Edge Transform selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxEditNodeSubgraphSelectChanged
|
slot |
Called from MW, when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox.
- Parameters
-
selectedIndex
◆ toolBoxLayoutByIndexApplyBtnPressed
|
slot |
Called from MW, when user selects a Prominence index in the Layout selectbox of the Control Panel .
◆ toolBoxLayoutForceDirectedApplyBtnPressed
|
slot |
Called from MW, when user selects a model in the Layout by Force Directed selectbox of left panel.
◆ toolBoxNetworkAutoCreateSelectChanged
|
slot |
Called from MW, when user selects something in the Network Auto Create selectbox of the toolbox.
- Parameters
-
selectedIndex
Member Data Documentation
◆ activeGraph
|
private |
◆ analysisMenu
|
private |
◆ analyzeCommunitiesCliquesAct
|
private |
◆ analyzeCommunitiesTriadCensusAct
|
private |
◆ analyzeGraphConnectednessAct
|
private |
◆ analyzeGraphDiameterAct
|
private |
◆ analyzeGraphDistanceAct
|
private |
◆ analyzeGraphEccentricityAct
|
private |
◆ analyzeGraphReciprocityAct
|
private |
◆ analyzeGraphSymmetryAct
|
private |
◆ analyzeGraphWalksAct
|
private |
◆ analyzeGraphWalksTotalAct
|
private |
◆ analyzeMatrixAdjCocitationAct
|
private |
◆ analyzeMatrixAdjInvertAct
|
private |
◆ analyzeMatrixAdjTransposeAct
|
private |
◆ analyzeMatrixDegreeAct
|
private |
◆ analyzeMatrixDistancesGeodesicAct
|
private |
◆ analyzeMatrixGeodesicsAct
|
private |
◆ analyzeMatrixLaplacianAct
|
private |
◆ analyzeMatrixReachabilityAct
|
private |
◆ analyzeStrEquivalenceClusteringHierarchicalAct
|
private |
◆ analyzeStrEquivalenceMatchesAct
|
private |
◆ analyzeStrEquivalencePearsonAct
|
private |
◆ analyzeStrEquivalenceTieProfileDissimilaritiesAct
|
private |
◆ appSettings
|
private |
◆ askedAboutWeights
|
private |
◆ averGraphDistanceAct
|
private |
◆ backgroundImageAct
|
private |
◆ cBetweennessAct
|
private |
◆ cClosenessAct
|
private |
◆ cDegreeAct
|
private |
◆ cEccentAct
|
private |
◆ cEigenvectorAct
|
private |
◆ centrlMenu
|
private |
◆ changeBackColorAct
|
private |
◆ cInDegreeAct
|
private |
◆ cInfluenceRangeClosenessAct
|
private |
◆ cInformationAct
|
private |
◆ clusteringCoefAct
|
private |
◆ codecs
|
private |
◆ cohesionMenu
|
private |
◆ colorationMenu
|
private |
◆ colorOptionsMenu
|
private |
◆ communitiesMenu
|
private |
◆ connectivityMenu
|
private |
◆ cPageRankAct
|
private |
◆ cPowerAct
|
private |
◆ cProximityPrestigeAct
|
private |
◆ cStressAct
|
private |
◆ drawEdgesBezier
|
private |
◆ edgeOptionsMenu
|
private |
◆ editDragModeScrollAct
|
private |
◆ editDragModeSelectAct
|
private |
◆ editEdgeAddAct
|
private |
◆ editEdgeColorAct
|
private |
◆ editEdgeColorAllAct
|
private |
◆ editEdgeDichotomizeAct
|
private |
◆ editEdgeLabelAct
|
private |
◆ editEdgeMenu
|
private |
◆ editEdgeRemoveAct
|
private |
◆ editEdgesCocitationAct
|
private |
◆ editEdgeSymmetrizeAllAct
|
private |
◆ editEdgeSymmetrizeStrongTiesAct
|
private |
◆ editEdgeUndirectedAllAct
|
private |
◆ editEdgeWeightAct
|
private |
◆ editFilterEdgesByWeightAct
|
private |
◆ editFilterEdgesUnilateralAct
|
private |
◆ editFilterNodesIsolatesAct
|
private |
◆ editMenu
|
private |
◆ editNodeAddAct
|
private |
◆ editNodeColorAll
|
private |
◆ editNodeFindAct
|
private |
◆ editNodeLabelsColorAct
|
private |
◆ editNodeLabelsSizeAct
|
private |
◆ editNodeMenu
|
private |
◆ editNodeNumbersColorAct
|
private |
◆ editNodeNumbersSizeAct
|
private |
◆ editNodePropertiesAct
|
private |
◆ editNodeRemoveAct
|
private |
◆ editNodeSelectAllAct
|
private |
◆ editNodeSelectedToCliqueAct
|
private |
◆ editNodeSelectedToCycleAct
|
private |
◆ editNodeSelectedToLineAct
|
private |
◆ editNodeSelectedToStarAct
|
private |
◆ editNodeSelectNoneAct
|
private |
◆ editNodeShapeAll
|
private |
◆ editNodeSizeAllAct
|
private |
◆ editRelationAddAct
|
private |
◆ editRelationChangeCombo
|
private |
◆ editRelationNextAct
|
private |
◆ editRelationPreviousAct
|
private |
◆ editRelationRenameAct
|
private |
◆ editResetSlidersAct
|
private |
◆ editRotateLeftAct
|
private |
◆ editRotateRightAct
|
private |
◆ exportSubMenu
|
private |
◆ fileName
|
private |
◆ fileNameNoPath
|
private |
◆ fileType
|
private |
◆ filterMenu
|
private |
◆ filterNodesAct
|
private |
◆ fortuneCookie
|
private |
◆ fortuneCookiesCounter
|
private |
◆ fullScreenModeAct
|
private |
◆ graphicsWidget
|
private |
◆ graphThread
|
private |
◆ helpAboutApp
|
private |
◆ helpAboutQt
|
private |
◆ helpApp
|
private |
◆ helpCheckUpdatesApp
|
private |
◆ helpMenu
|
private |
◆ helpSystemInfoAct
|
private |
◆ iconPathList
|
private |
◆ importSubMenu
|
private |
◆ initFileCodec
|
private |
◆ inverseWeights
|
private |
◆ layoutFDP_Eades_Act
|
private |
◆ layoutFDP_FR_Act
|
private |
◆ layoutFDP_KamadaKawai_Act
|
private |
◆ layoutForceDirectedMenu
|
private |
◆ layoutGuidesAct
|
private |
◆ layoutLevelProminence_BC_Act
|
private |
◆ layoutLevelProminence_CC_Act
|
private |
◆ layoutLevelProminence_DC_Act
|
private |
◆ layoutLevelProminence_DP_Act
|
private |
◆ layoutLevelProminence_EC_Act
|
private |
◆ layoutLevelProminence_EVC_Act
|
private |
◆ layoutLevelProminence_IC_Act
|
private |
◆ layoutLevelProminence_IRCC_Act
|
private |
◆ layoutLevelProminence_PC_Act
|
private |
◆ layoutLevelProminence_PP_Act
|
private |
◆ layoutLevelProminence_PRP_Act
|
private |
◆ layoutLevelProminence_SC_Act
|
private |
◆ layoutLevelProminenceMenu
|
private |
◆ layoutMenu
|
private |
◆ layoutNodeColorProminence_BC_Act
|
private |
◆ layoutNodeColorProminence_CC_Act
|
private |
◆ layoutNodeColorProminence_DC_Act
|
private |
◆ layoutNodeColorProminence_DP_Act
|
private |
◆ layoutNodeColorProminence_EC_Act
|
private |
◆ layoutNodeColorProminence_EVC_Act
|
private |
◆ layoutNodeColorProminence_IC_Act
|
private |
◆ layoutNodeColorProminence_IRCC_Act
|
private |
◆ layoutNodeColorProminence_PC_Act
|
private |
◆ layoutNodeColorProminence_PP_Act
|
private |
◆ layoutNodeColorProminence_PRP_Act
|
private |
◆ layoutNodeColorProminence_SC_Act
|
private |
◆ layoutNodeColorProminenceMenu
|
private |
◆ layoutNodeSizeProminence_BC_Act
|
private |
◆ layoutNodeSizeProminence_CC_Act
|
private |
◆ layoutNodeSizeProminence_DC_Act
|
private |
◆ layoutNodeSizeProminence_DP_Act
|
private |
◆ layoutNodeSizeProminence_EC_Act
|
private |
◆ layoutNodeSizeProminence_EVC_Act
|
private |
◆ layoutNodeSizeProminence_IC_Act
|
private |
◆ layoutNodeSizeProminence_IRCC_Act
|
private |
◆ layoutNodeSizeProminence_PC_Act
|
private |
◆ layoutNodeSizeProminence_PP_Act
|
private |
◆ layoutNodeSizeProminence_PRP_Act
|
private |
◆ layoutNodeSizeProminence_SC_Act
|
private |
◆ layoutNodeSizeProminenceMenu
|
private |
◆ layoutRadialProminence_BC_Act
|
private |
◆ layoutRadialProminence_CC_Act
|
private |
◆ layoutRadialProminence_DC_Act
|
private |
◆ layoutRadialProminence_DP_Act
|
private |
◆ layoutRadialProminence_EC_Act
|
private |
◆ layoutRadialProminence_EVC_Act
|
private |
◆ layoutRadialProminence_IC_Act
|
private |
◆ layoutRadialProminence_IRCC_Act
|
private |
◆ layoutRadialProminence_PC_Act
|
private |
◆ layoutRadialProminence_PP_Act
|
private |
◆ layoutRadialProminence_PRP_Act
|
private |
◆ layoutRadialProminence_SC_Act
|
private |
◆ layoutRadialProminenceMenu
|
private |
◆ layoutRandomAct
|
private |
◆ layoutRandomRadialAct
|
private |
◆ leftPanel
|
private |
◆ m_datasetSelectDialog
|
private |
◆ m_dialogClusteringHierarchical
|
private |
◆ m_dialogdissimilarities
|
private |
◆ m_DialogEdgeFilterByWeight
|
private |
◆ m_dialogExportImage
|
private |
◆ m_dialogExportPDF
|
private |
◆ m_dialogPreviewFile
|
private |
◆ m_dialogSimilarityMatches
|
private |
◆ m_dialogSimilarityPearson
|
private |
◆ m_edgeDichotomizationDialog
|
private |
◆ m_nodeEditDialog
|
private |
◆ m_nodeFindDialog
|
private |
◆ m_randErdosRenyiDialog
|
private |
◆ m_randLatticeDialog
|
private |
◆ m_randRegularDialog
|
private |
◆ m_randScaleFreeDialog
|
private |
◆ m_randSmallWorldDialog
|
private |
◆ m_settingsDialog
|
private |
◆ m_systemInfoDialog
|
private |
◆ m_textEditors
|
private |
◆ m_WebCrawlerDialog
|
private |
◆ matrixMenu
|
private |
◆ maxRandomlyCreatedNodes
|
private |
◆ miniChart
|
private |
◆ netDensity
|
private |
◆ networkCloseAct
|
private |
◆ networkDataSetSelectAct
|
private |
◆ networkExportDLAct
|
private |
◆ networkExportGWAct
|
private |
◆ networkExportImageAct
|
private |
◆ networkExportListAct
|
private |
◆ networkExportPajek
|
private |
◆ networkExportPDFAct
|
private |
◆ networkExportSMAct
|
private |
◆ networkImportAdjAct
|
private |
◆ networkImportGMLAct
|
private |
◆ networkImportGraphvizAct
|
private |
◆ networkImportListAct
|
private |
◆ networkImportPajekAct
|
private |
◆ networkImportTwoModeSM
|
private |
◆ networkImportUcinetAct
|
private |
◆ networkManager
|
private |
◆ networkMenu
|
private |
◆ networkNewAct
|
private |
◆ networkOpenAct
|
private |
◆ networkPrintAct
|
private |
◆ networkQuitAct
|
private |
◆ networkRandomErdosRenyiAct
|
private |
◆ networkRandomGaussianAct
|
private |
◆ networkRandomLatticeAct
|
private |
◆ networkRandomLatticeRingAct
|
private |
◆ networkRandomRegularSameDegreeAct
|
private |
◆ networkRandomScaleFreeAct
|
private |
◆ networkRandomSmallWorldAct
|
private |
◆ networkSaveAct
|
private |
◆ networkSaveAsAct
|
private |
◆ networkViewFileAct
|
private |
◆ networkViewSociomatrixAct
|
private |
◆ networkViewSociomatrixPlotAct
|
private |
◆ networkWebCrawlerAct
|
private |
◆ nodeOptionsMenu
|
private |
◆ nodeShapeList
|
private |
◆ openSettingsAct
|
private |
◆ openTextEditorAct
|
private |
◆ optionsEdgeArrowsAct
|
private |
◆ optionsEdgeLabelsAct
|
private |
◆ optionsEdgesVisibilityAct
|
private |
◆ optionsEdgeThicknessPerWeightAct
|
private |
◆ optionsEdgeWeightConsiderAct
|
private |
◆ optionsEdgeWeightNumbersAct
|
private |
◆ optionsMenu
|
private |
◆ optionsNodeLabelsVisibilityAct
|
private |
◆ optionsNodeNumbersInsideAct
|
private |
◆ optionsNodeNumbersVisibilityAct
|
private |
◆ previous_fileName
|
private |
◆ printer
|
private |
◆ printerPDF
|
private |
◆ progressCounter
|
private |
◆ progressDialogs
|
private |
◆ progressMsg
|
private |
◆ prominenceIndexList
|
private |
◆ randomLayoutMenu
|
private |
◆ randomNetworkMenu
|
private |
◆ recentFileActs
|
private |
◆ recentFiles
|
private |
◆ recentFilesSubMenu
|
private |
◆ regularColorationAct
|
private |
◆ resetSlidersBtn
|
private |
◆ rightPanel
|
private |
◆ rightPanelClickedEdgeNameLabel
|
private |
◆ rightPanelClickedEdgeNameLCD
|
private |
◆ rightPanelClickedEdgeReciprocalWeightLabel
|
private |
◆ rightPanelClickedEdgeReciprocalWeightLCD
|
private |
◆ rightPanelClickedEdgeWeightLabel
|
private |
◆ rightPanelClickedEdgeWeightLCD
|
private |
◆ rightPanelClickedNodeHeaderLabel
|
private |
◆ rightPanelClickedNodeInDegreeLCD
|
private |
◆ rightPanelClickedNodeLCD
|
private |
◆ rightPanelClickedNodeOutDegreeLCD
|
private |
◆ rightPanelDensityLCD
|
private |
◆ rightPanelEdgesLabel
|
private |
◆ rightPanelEdgesLCD
|
private |
◆ rightPanelNetworkTypeLCD
|
private |
◆ rightPanelNodesLCD
|
private |
◆ rightPanelSelectedEdgesLabel
|
private |
◆ rightPanelSelectedEdgesLCD
|
private |
◆ rightPanelSelectedNodesLCD
|
private |
◆ rotateLeftBtn
|
private |
◆ rotateRightBtn
|
private |
◆ rotateSlider
|
private |
◆ scene
|
private |
◆ settingsDir
|
private |
◆ settingsFilePath
|
private |
◆ strEquivalenceMenu
|
private |
◆ strongColorationAct
|
private |
◆ tempFileNameNoPath
|
private |
◆ tips
|
private |
◆ tipsApp
|
private |
◆ toolBar
|
private |
◆ toolBoxAnalysisCohesionSelect
|
private |
◆ toolBoxAnalysisCommunitiesSelect
|
private |
◆ toolBoxAnalysisMatricesSelect
|
private |
◆ toolBoxAnalysisProminenceSelect
|
private |
◆ toolBoxAnalysisStrEquivalenceSelect
|
private |
◆ toolBoxEditEdgeModeSelect
|
private |
◆ toolBoxEditEdgeTransformSelect
|
private |
◆ toolBoxEditNodeSubgraphSelect
|
private |
◆ toolBoxLayoutByIndexApplyButton
|
private |
◆ toolBoxLayoutByIndexSelect
|
private |
◆ toolBoxLayoutByIndexTypeSelect
|
private |
◆ toolBoxLayoutForceDirectedApplyButton
|
private |
◆ toolBoxLayoutForceDirectedSelect
|
private |
◆ toolBoxNetworkAutoCreateSelect
|
private |
◆ transformNodes2EdgesAct
|
private |
◆ userSelectedCodecName
|
private |
◆ viewOptionsMenu
|
private |
◆ zoomInAct
|
private |
◆ zoomInBtn
|
private |
◆ zoomOutAct
|
private |
◆ zoomOutBtn
|
private |
◆ zoomSlider
|
private |
The documentation for this class was generated from the following files:
- app/src/mainwindow.h
- app/src/mainwindow.cpp