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::null, 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::null, const QString &netName=QString::null, const int &totalNodes=0, const int &totalEdges=0, const QString &message=QString::null)
 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 slotNetworkSaved (const int &status)
 Called from Graph when we save file. Updates Save icon and window title. 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 slotNetworkImportSM ()
 Imports a network from a Adjacency matrix formatted file. More...
 
void slotNetworkImportDot ()
 Imports a network from a Dot (GraphViz) formatted file. More...
 
void slotNetworkImportGML ()
 Imports a network from a GML formatted file. More...
 
void slotNetworkImportDL ()
 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 int &graphStatus, const bool &undirected, const int &vertices, const int &edges, const float &density)
 MainWindow::slotNetworkChanged Activated when something has been changed in the graph. 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. First check if a fileName is currently used If not, calls slotNetworkSaveAs (which prompts for a fileName before returning here) If a fileName is currently set, it checks if fileFormat is supported for export If not supported, and the file is new, just tries to save in GraphML For other exporing options the user is informed to use the export menu. More...
 
void slotNetworkSaveAs ()
 Saves the network in a new file. Always uses the graphml extension. More...
 
void slotNetworkClose ()
 Closes the network. Saves it if necessary. Used by createNew. 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...
 
bool slotNetworkExportBMP ()
 Exports the network to a BMP image - Better Quality but larger file. More...
 
bool slotNetworkExportPNG ()
 Exports the network to a PNG image - Mediocre Quality but smaller file. More...
 
bool slotNetworkExportPDF ()
 Exports the network to a PDF Document - Best Quality. 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 float 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 float &zeroAppeal, const QString &mode)
 MainWindow::slotNetworkRandomScaleFree. More...
 
void slotNetworkRandomSmallWorldDialog ()
 MainWindow::slotNetworkRandomSmallWorldDialog. More...
 
void slotNetworkRandomSmallWorld (const int &newNodes, const int &degree, const float &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 ()
 MainWindow::slotNetworkWebCrawlerDialog Shows a dialog where enters a website url and the app creates a new network by crawling it. More...
 
void slotNetworkWebCrawler (const QString &urlSeed, const QStringList &urlPatternsIncluded, const QStringList &urlPatternsExcluded, const QStringList &linkClasses, const int &maxNodes, const int &maxLinksPerPage, const bool &extLinks, const bool &intLinks, const bool &selfLinks, const bool &delayedRequests)
 Called from m_WebCrawlerDialog. Clears the loaded network then passes parameters to Graph::webCrawl function. More...
 
void slotEditRelationsClear ()
 Called from Graph::relationsClear() to clear the relations combo. More...
 
void slotEditRelationAdd (QString newRelationName=QString::null, const bool &changeRelation=true)
 Called from MW when user clicks New Relation btn or when the user creates the first edge visually. Called from activeGraph::relationAdd(QString) via signal Graph::signalRelationChangedToMW() when the parser or a Graph method demands a new relation to be added in the Combobox. More...
 
void slotEditRelationChange (const int relIndex=RAND_MAX)
 if relIndex==RAND_MAX changes combo box index to last relation index else it changes the combo box index to relIndex Called from Graph::relationAddAndChangeTo via signal Graph::signalRelationChangedToMW() More...
 
void slotEditRelationRename (QString newName=QString::null)
 Renames a 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)
 MainWindow::slotEditSelectionChanged. More...
 
void slotEditClickOnEmptySpace (const QPointF &p)
 MainWindow::slotEditClickOnEmptySpace Called from GW when the user clicks on empty space. 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, const float &clc=0)
 MainWindow::slotEditNodeInfoStatusBar 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::null)
 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, const int, const QString, const QColor, const QString)
 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())
 MainWindow::slotEditNodeColorAll Changes the color of all nodes to parameter color Calls activeGraph->vertexColorAllSet 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)
 MainWindow::slotEditNodeSizeAll Changes the size of nodes to newSize. Calls activeGraph->vertexSizeAllSet 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 (QString shape=QString::null, const int vertex=0)
 MainWindow::slotEditNodeShape 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 Calls Graph::vertexShapeAllSet(QString) More...
 
void slotEditNodeNumberSize (int v1=0, int newSize=0, const bool prompt=true)
 MainWindow::slotEditNodeNumberSize 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)
 MainWindow::slotEditNodeNumberDistance 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 (QColor color=QColor())
 MainWindow::slotEditNodeNumbersColor Changes the color of all nodes' numbers. Called from Edit menu option and Settings dialog. Asks the user to enter a new node number color. More...
 
void slotEditNodeLabelSize (int v1=0, int newSize=0)
 MainWindow::slotEditNodeLabelSize 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())
 MainWindow::slotEditNodeLabelsColor Changes the color of all nodes' 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 int &v1, const int &v2, const float &weight, const int &type, 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 float &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. First deletes arc reference from object nodeVector then deletes arc item from scene. 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)
 Tranforms all directed arcs to undirected edges. The result is a undirected and symmetric network. 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)
 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)
 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)
 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)
 Calls Graph::layoutVertexColorByProminenceIndex 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 ()
 
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 slotAnalyzeCommunitiesCliqueCensus ()
 Calls Graph:: writeCliqueCensus() to write the number of cliques (triangles) of each vertex 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 toogle)
 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 slotOptionsToolbarVisibility (bool toggle)
 MainWindow::slotOptionsToolbarVisibility. More...
 
void slotOptionsStatusBarVisibility (bool toggle)
 MainWindow::slotOptionsStatusBarVisibility. More...
 
void slotOptionsLeftPanelVisibility (bool toggle)
 MainWindow::slotOptionsLeftPanelVisibility. More...
 
void slotOptionsRightPanelVisibility (bool toggle)
 MainWindow::slotOptionsRightPanelVisibility. More...
 
void slotOptionsDebugMessages (bool toggle)
 MainWindow::slotOptionsDebugMessages. More...
 
void slotOptionsBackgroundColor (QColor color=QColor())
 MainWindow::slotOptionsBackgroundColor Called from Options menu and Settings dialog. More...
 
void slotOptionsBackgroundImageSelect (bool toggle)
 MainWindow::slotOptionsBackgroundImageSelect 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 ()
 MainWindow::slotOptionsBackgroundImage Enables/disables displaying a user-defined custom image in the background Called from Settings Dialog and. 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 ()
 MainWindow::slotHelp Opens the system web browser to load the online Manual. More...
 
void slotHelpCheckUpdateDialog ()
 MainWindow::slotHelpCheckUpdateDialog Opens a web browser to SocNetV website. More...
 
void slotHelpCheckUpdateParse (QNetworkReply *reply)
 
void slotHelpCreateTips ()
 
void slotHelpAbout ()
 
void slotAboutQt ()
 
void slotHelpMessageToUserInfo (const QString text=QString::null)
 Helper function to display a useful info message. More...
 
void slotHelpMessageToUserError (const QString text=QString::null)
 Helper function to display a useful error message. More...
 
int slotHelpMessageToUser (const int type=0, const QString statusMsg=QString::null, const QString text=QString::null, const QString info=QString::null, QMessageBox::StandardButtons buttons=QMessageBox::NoButton, QMessageBox::StandardButton defBtn=QMessageBox::Ok, const QString btn1=QString::null, const QString btn2=QString::null)
 Convenience method. 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 toolBoxEditNodeSubgraphSelectChanged (int)
 Called from MW, when user selects something in the Subgraph from Selected Nodes selectbox of the toolbox. More...
 
void toolBoxEditEdgeSymmetrizeSelectChanged (int)
 Called from MW, when user selects something in the Edge Symmetrize selectbox of the toolbox. More...
 
void toolBoxAnalysisMatricesSelectChanged (int)
 Called from MW, when user selects something in the Matrices selectbox of the toolbox. More...
 
void toolBoxAnalysisCohesionSelectChanged (int)
 Called from MW, when user selects something in the Cohesion selectbox of the toolbox to compute basic graph theoretic / network properties. More...
 
void toolBoxAnalysisStrEquivalenceSelectChanged (int)
 Called from MW, when user selects something in the Structural Equivalence selectbox of the toolbox. More...
 
void toolBoxAnalysisProminenceSelectChanged (int)
 Called from MW, when user selects something in the Prominence selectbox of the toolbox. More...
 
void toolBoxAnalysisCommunitiesSelectChanged (int)
 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)
 

Public Member Functions

 MainWindow (const QString &f)
 MainWindow::MainWindow. More...
 
 ~MainWindow ()
 Deletes variables on MW closing. More...
 
void initGraph ()
 Initializes the Graph. More...
 
void terminateThreads (const QString &reason)
 MainWindow::terminateThreads. More...
 
void initView ()
 Initializes the scene and the corresponding graphicsWidget, The latter 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 ()
 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 ()
 Initializes default (or user-defined) 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 (QString filePath)
 Sets the last path used by user to open/save something. 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 *)
 Resizes the scene when the 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
 
QGraphicsScene * scene
 
GraphicsWidgetgraphicsWidget
 
GraphactiveGraph
 
QMap< QString, QString > appSettings
 
QStringList prominenceIndexList
 
DialogFilterEdgesByWeightm_DialogEdgeFilterByWeight
 
DialogWebCrawlerm_WebCrawlerDialog
 
DialogDataSetSelectm_datasetSelectDialog
 
DialogNodeEditm_nodeEditDialog
 
DialogNodeFindm_nodeFindDialog
 
DialogRandErdosRenyim_randErdosRenyiDialog
 
DialogRandSmallWorldm_randSmallWorldDialog
 
DialogRandScaleFreem_randScaleFreeDialog
 
DialogRandRegularm_randRegularDialog
 
DialogRandLatticem_randLatticeDialog
 
DialogSettingsm_settingsDialog
 
DialogSimilarityPearsonm_dialogSimilarityPearson
 
DialogSimilarityMatchesm_dialogSimilarityMatches
 
DialogDissimilaritiesm_dialogdissimilarities
 
DialogClusteringHierarchicalm_dialogClusteringHierarchical
 
DialogPreviewFilem_dialogPreviewFile
 
QList< QTextCodec * > codecs
 
QString userSelectedCodecName
 
QList< TextEditor * > m_textEditors
 
QPrinter * printer
 
QToolBar * toolBar
 
QGroupBox * leftPanel
 
QGroupBox * rightPanel
 
QComboBox * editRelationChangeCombo
 
QStack< QProgressDialog * > progressDialogs
 
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 * toolBoxEditNodeSubgraphSelect
 
QComboBox * toolBoxEditEdgeModeSelect
 
QComboBox * toolBoxEditEdgeSymmetrizeSelect
 
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 * networkNew
 
QAction * networkOpen
 
QAction * networkSave
 
QAction * networkSaveAs
 
QAction * networkClose
 
QAction * networkPrint
 
QAction * networkQuit
 
QAction * networkExportBMP
 
QAction * networkExportPNG
 
QAction * networkExportPajek
 
QAction * networkExportPDF
 
QAction * networkExportDL
 
QAction * networkExportGW
 
QAction * networkExportSM
 
QAction * networkExportList
 
QAction * networkImportPajek
 
QAction * networkImportGML
 
QAction * networkImportSM
 
QAction * networkImportList
 
QAction * networkImportDot
 
QAction * networkImportDL
 
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 * optionsNodeNumbersVisibilityAct
 
QAction * optionsNodeLabelsVisibilityAct
 
QAction * optionsNodeNumbersInsideAct
 
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 * changeBackColorAct
 
QAction * editNodeColorAll
 
QAction * editEdgeColorAllAct
 
QAction * editNodeNumbersColorAct
 
QAction * editNodeLabelsColorAct
 
QAction * editEdgesCocitationAct
 
QAction * optionsEdgeThicknessPerWeightAct
 
QAction * optionsEdgeWeightNumbersAct
 
QAction * optionsEdgesVisibilityAct
 
QAction * optionsEdgeArrowsAct
 
QAction * drawEdgesBezier
 
QAction * optionsEdgeWeightConsiderAct
 
QAction * optionsEdgeLabelsAct
 
QAction * backgroundImageAct
 
QAction * helpAboutApp
 
QAction * helpAboutQt
 
QAction * helpApp
 
QAction * tipsApp
 
QAction * helpCheckUpdatesApp
 
QAction * openSettingsAct
 
QAction * networkWebCrawlerAct
 
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]
 
QString fileName
 
QString previous_fileName
 
QString fileNameNoPath
 
QString progressMsg
 
QString settingsFilePath
 
QString settingsDir
 
QStringList fortuneCookie
 
QStringList tempFileNameNoPath
 
QStringList tips
 
QStringList recentFiles
 
int statusBarDuration
 
int progressCounter
 
int fileType
 
int maxNodes
 
int fortuneCookiesCounter
 
bool inverseWeights
 
bool askedAboutWeights
 
float randomErdosEdgeProb
 
QString initFileCodec
 
QLabel * rightPanelNetworkTypeLCD
 
QLabel * rightPanelEdgesLabel
 
QLabel * rightPanelClickedNodeHeaderLabel
 
QLabel * rightPanelNodesLCD
 
QLabel * rightPanelEdgesLCD
 
QLabel * rightPanelDensityLCD
 
QLabel * rightPanelClickedNodeLCD
 
QLabel * rightPanelClickedNodeInDegreeLCD
 
QLabel * rightPanelClickedNodeOutDegreeLCD
 
QLabel * rightPanelClickedNodeClucofLCD
 
QLabel * rightPanelSelectedNodesLCD
 
QLabel * rightPanelSelectedEdgesLCD
 
QLabel * rightPanelSelectedEdgesLabel
 
QLabel * rightPanelClickedEdgeNameLabel
 
QLabel * rightPanelClickedEdgeNameLCD
 
QLabel * rightPanelClickedEdgeWeightLabel
 
QLabel * rightPanelClickedEdgeWeightLCD
 
QLabel * rightPanelClickedEdgeReciprocalWeightLabel
 
QLabel * rightPanelClickedEdgeReciprocalWeightLCD
 
QDateTime actualDateTime
 
QDateTime actualDate
 
QDateTime actualTime
 
QTime eTime
 
QNetworkAccessManager * http
 
QNetworkRequest request
 
QNetworkReply * reply
 

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
private
Enumerator
MaxRecentFiles 

Constructor & Destructor Documentation

MainWindow::MainWindow ( const QString &  m_fileName)

MainWindow::MainWindow.

Parameters
m_fileNameMainWindow contruction method

functions that invoke all other construction parts

MainWindow::~MainWindow ( )

Deletes variables on MW closing.

Member Function Documentation

int MainWindow::activeEdges ( )

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

int MainWindow::activeNodes ( )

Returns the number of active nodes on the scene.

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.

void MainWindow::closeEvent ( QCloseEvent *  ce)
protected

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

Parameters
ce
void MainWindow::createFortuneCookies ( )

Creates the fortune cookies displayed on the above message.

QString MainWindow::getLastPath ( )

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

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

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

Clear graphicsWidget scene and reset settings and transformations

Clear LCDs

Clear toolbox and menu checkboxes

set window title

void MainWindow::initComboBoxes ( )
void MainWindow::initGraph ( )

Initializes the Graph.

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

void MainWindow::initPanels ( )

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

QMap< QString, QString > MainWindow::initSettings ( )

Initializes default (or user-defined) app settings.

void MainWindow::initSignalSlots ( )

Connects signals & slots between various parts of the app:

void MainWindow::initToolBar ( )

Initializes the toolbar.

void MainWindow::initView ( )

Initializes the scene and the corresponding graphicsWidget, The latter is a QGraphicsView canvas which is the main widget of SocNetV.

void MainWindow::initWindowLayout ( )

Initializes the application window UI: Creates helper widgets and sets the main layout of the MainWindow.

void MainWindow::resizeEvent ( QResizeEvent *  )
protected

Resizes the scene when the window is resized.

void MainWindow::saveSettings ( )

Saves default (or user-defined) app settings.

void MainWindow::setLastPath ( QString  filePath)

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

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

Displays a short message about the Qt Toolbox.

void MainWindow::slotAnalyzeCentralityBetweenness ( )
slot

Writes Betweenness Centralities into a file, then displays it.

void MainWindow::slotAnalyzeCentralityCloseness ( )
slot

Writes Closeness Centralities into a file, then displays it.

void MainWindow::slotAnalyzeCentralityClosenessIR ( )
slot

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

void MainWindow::slotAnalyzeCentralityDegree ( )
slot

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

void MainWindow::slotAnalyzeCentralityEccentricity ( )
slot

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

void MainWindow::slotAnalyzeCentralityEigenvector ( )
slot

Writes Eigenvector Centralities into a file, then displays it.

void MainWindow::slotAnalyzeCentralityInformation ( )
slot

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

void MainWindow::slotAnalyzeCentralityPower ( )
slot

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

void MainWindow::slotAnalyzeCentralityStress ( )
slot

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

void MainWindow::slotAnalyzeClusteringCoefficient ( )
slot

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

void MainWindow::slotAnalyzeCommunitiesCliqueCensus ( )
slot

Calls Graph:: writeCliqueCensus() to write the number of cliques (triangles) of each vertex into a file, then displays it.

void MainWindow::slotAnalyzeCommunitiesTriadCensus ( )
slot

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

void MainWindow::slotAnalyzeConnectedness ( )
slot

Reports the network connectedness.

void MainWindow::slotAnalyzeDiameter ( )
slot

Displays the network diameter (largest geodesic)

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.

void MainWindow::slotAnalyzeDistanceAverage ( )
slot

Displays the average shortest path length (average graph distance)

void MainWindow::slotAnalyzeEccentricity ( )
slot

Writes Eccentricity indices into a file, then displays it.

void MainWindow::slotAnalyzeMatrixAdjacencyCocitation ( )
slot

Writes the cocitation matrix.

void MainWindow::slotAnalyzeMatrixAdjacencyInverse ( )
slot

Writes the adjacency matrix inverse.

void MainWindow::slotAnalyzeMatrixAdjacencyTranspose ( )
slot

Writes the transpose adjacency matrix.

void MainWindow::slotAnalyzeMatrixDegree ( )
slot

Writes the degree matrix of the graph.

void MainWindow::slotAnalyzeMatrixDistances ( )
slot

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

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.

void MainWindow::slotAnalyzeMatrixLaplacian ( )
slot

Writes the Laplacian matrix of the graph.

void MainWindow::slotAnalyzePrestigeDegree ( )
slot

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

void MainWindow::slotAnalyzePrestigePageRank ( )
slot

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

void MainWindow::slotAnalyzePrestigeProximity ( )
slot

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

void MainWindow::slotAnalyzeReachabilityMatrix ( )
slot

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

void MainWindow::slotAnalyzeReciprocity ( )
slot

Displays the arc and dyad reciprocity of the network

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
void MainWindow::slotAnalyzeStrEquivalenceClusteringHierarchicalDialog ( )
slot

Displays the slotAnalyzeStrEquivalenceClusteringHierarchicalDialog dialog.

void MainWindow::slotAnalyzeStrEquivalenceDissimilaritiesDialog ( )
slot

Displays the DialogDissimilarities dialog.

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

void MainWindow::slotAnalyzeStrEquivalencePearsonDialog ( )
slot

Calls the m_dialogSimilarityPearson to display the Pearson statistics dialog.

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.

void MainWindow::slotAnalyzeStrEquivalenceSimilarityMeasureDialog ( )
slot

Displays the DialogSimilarityMatches dialog.

void MainWindow::slotAnalyzeSymmetryCheck ( )
slot

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

void MainWindow::slotAnalyzeWalksLength ( )
slot

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

void MainWindow::slotAnalyzeWalksTotal ( )
slot

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

void MainWindow::slotEditClickOnEmptySpace ( const QPointF &  p)
slot

MainWindow::slotEditClickOnEmptySpace Called from GW when the user clicks on empty space.

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

void MainWindow::slotEditEdgeClicked ( const int &  v1,
const int &  v2,
const float &  weight,
const int &  type,
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
void MainWindow::slotEditEdgeColor ( )
slot

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

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
void MainWindow::slotEditEdgeCreate ( const int &  source,
const int &  target,
const float &  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
void MainWindow::slotEditEdgeLabel ( )
slot

Changes the label of an edge.

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

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

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
void MainWindow::slotEditEdgeRemove ( )
slot

Removes a clicked edge. Otherwise asks the user to specify one edge. First deletes arc reference from object nodeVector then deletes arc item from scene.

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.

void MainWindow::slotEditEdgeSymmetrizeCocitation ( )
slot

Adds a new symmetric relation with ties only between pairs of nodes who are cocited by others.

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

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

void MainWindow::slotEditEdgeWeight ( )
slot

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

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.

void MainWindow::slotEditFilterEdgesUnilateral ( bool  checked)
slot

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

Parameters
checked
void MainWindow::slotEditFilterNodesIsolates ( bool  checked)
slot

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

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.

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

MainWindow::slotEditNodeColorAll Changes the color of all nodes to parameter color Calls activeGraph->vertexColorAllSet 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
void MainWindow::slotEditNodeFind ( const QStringList &  list,
const QString &  searchType,
const QString &  indexStr = QString::null 
)
slot

MainWindow::slotEditNodeFind.

Parameters
list
void MainWindow::slotEditNodeFindDialog ( )
slot

Opens the node find dialog.

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

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

Parameters
jim
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
void MainWindow::slotEditNodeLabelsColor ( QColor  color = QColor())
slot

MainWindow::slotEditNodeLabelsColor Changes the color of all nodes' labels. Asks the user to enter a new node label color.

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

MainWindow::slotEditNodeLabelSize 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
void MainWindow::slotEditNodeNumberDistance ( int  v1 = 0,
int  newDistance = 0 
)
slot

MainWindow::slotEditNodeNumberDistance 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
void MainWindow::slotEditNodeNumbersColor ( QColor  color = QColor())
slot

MainWindow::slotEditNodeNumbersColor Changes the color of all nodes' numbers. Called from Edit menu option and Settings dialog. Asks the user to enter a new node number color.

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

MainWindow::slotEditNodeNumberSize 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
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.

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
void MainWindow::slotEditNodeProperties ( const QString  label,
const int  size,
const QString  value,
const QColor  color,
const QString  shape 
)
slot

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

Parameters
label
size
value
color
shape
void MainWindow::slotEditNodePropertiesDialog ( )
slot

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

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.

void MainWindow::slotEditNodeSelectAll ( )
slot
void MainWindow::slotEditNodeSelectedToClique ( )
slot

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

void MainWindow::slotEditNodeSelectedToCycle ( )
slot

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

void MainWindow::slotEditNodeSelectedToLine ( )
slot

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

void MainWindow::slotEditNodeSelectedToStar ( )
slot

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

void MainWindow::slotEditNodeSelectNone ( )
slot
void MainWindow::slotEditNodeShape ( QString  shape = QString::null,
const int  vertex = 0 
)
slot

MainWindow::slotEditNodeShape 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 Calls Graph::vertexShapeAllSet(QString)

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

MainWindow::slotEditNodeSizeAll Changes the size of nodes to newSize. Calls activeGraph->vertexSizeAllSet 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
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
void MainWindow::slotEditRelationAdd ( QString  newRelationName = QString::null,
const bool &  changeRelation = true 
)
slot

Called from MW when user clicks New Relation btn or when the user creates the first edge visually. Called from activeGraph::relationAdd(QString) via signal Graph::signalRelationChangedToMW() when the parser or a Graph method demands a new relation to be added in the Combobox.

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

if relIndex==RAND_MAX changes combo box index to last relation index else it changes the combo box index to relIndex Called from Graph::relationAddAndChangeTo via signal Graph::signalRelationChangedToMW()

Parameters
relIndex
void MainWindow::slotEditRelationRename ( QString  newName = QString::null)
slot

Renames a relation.

Parameters
newName
void MainWindow::slotEditRelationsClear ( )
slot

Called from Graph::relationsClear() to clear the relations combo.

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

MainWindow::slotEditSelectionChanged.

Parameters
nodes
edges
void MainWindow::slotEditTransformNodes2Edges ( )
slot

Transforms all nodes to edges TODO slotEditTransformNodes2Edges

void MainWindow::slotFilterNodes ( )
slot

Filters Nodes by their value TODO slotFilterNodes

void MainWindow::slotHelp ( )
slot

MainWindow::slotHelp Opens the system web browser to load the online Manual.

void MainWindow::slotHelpAbout ( )
slot

Displays the following message!!

void MainWindow::slotHelpCheckUpdateDialog ( )
slot

MainWindow::slotHelpCheckUpdateDialog Opens a web browser to SocNetV website.

void MainWindow::slotHelpCheckUpdateParse ( QNetworkReply *  reply)
slot
void MainWindow::slotHelpCreateTips ( )
slot

Creates our tips.

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

Convenience method.

Parameters
message
void MainWindow::slotHelpMessageToUserError ( const QString  text = QString::null)
slot

Helper function to display a useful error message.

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

Helper function to display a useful info message.

Parameters
text
void MainWindow::slotHelpTips ( )
slot

Displays a random tip

void MainWindow::slotLayoutColorationRegular ( )
slot

TODO slotLayoutColorationRegular

void MainWindow::slotLayoutColorationStrongStructural ( )
slot

TODO slotLayoutColorationStrongStructural

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.

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

Enables/disables layout guides Called from.

Parameters
state
void MainWindow::slotLayoutKamadaKawai ( )
slot

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

void MainWindow::slotLayoutLevelByProminenceIndex ( )
slot

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

void MainWindow::slotLayoutLevelByProminenceIndex ( QString  choice = "")
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.

void MainWindow::slotLayoutNodeColorByProminenceIndex ( )
slot

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

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

Calls Graph::layoutVertexColorByProminenceIndex 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.

void MainWindow::slotLayoutNodeSizeByProminenceIndex ( )
slot

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

void MainWindow::slotLayoutNodeSizeByProminenceIndex ( QString  choice = "")
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.

void MainWindow::slotLayoutRadialByProminenceIndex ( )
slot

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

void MainWindow::slotLayoutRadialByProminenceIndex ( QString  choice = "")
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.

void MainWindow::slotLayoutRadialRandom ( )
slot

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

void MainWindow::slotLayoutRandom ( )
slot

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

void MainWindow::slotLayoutSpringEmbedder ( )
slot

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

void MainWindow::slotNetworkAvailableTextCodecs ( )
slot

Setup a list of all text codecs supported by OS.

void MainWindow::slotNetworkChanged ( const int &  graphStatus,
const bool &  undirected,
const int &  vertices,
const int &  edges,
const float &  density 
)
slot

MainWindow::slotNetworkChanged Activated when something has been changed in the graph. Makes the networkSave icon active and refreshes any LCD values. Also called from activeGraph and graphicsWidget.

void MainWindow::slotNetworkClose ( )
slot

Closes the network. Saves it if necessary. Used by createNew.

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
void MainWindow::slotNetworkDataSetSelect ( )
slot

Calls the m_datasetSelectionDialog to display the dataset selection dialog.

bool MainWindow::slotNetworkExportBMP ( )
slot

Exports the network to a BMP image - Better Quality but larger file.

Returns
bool MainWindow::slotNetworkExportDL ( )
slot

TODO Exports the network to a DL-formatted file.

Returns
bool MainWindow::slotNetworkExportGW ( )
slot

TODO: Exports the network to a GW-formatted file

bool MainWindow::slotNetworkExportList ( )
slot

TODO: Exports the network to a list-formatted file

void MainWindow::slotNetworkExportPajek ( )
slot

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

bool MainWindow::slotNetworkExportPDF ( )
slot

Exports the network to a PDF Document - Best Quality.

Returns
bool MainWindow::slotNetworkExportPNG ( )
slot

Exports the network to a PNG image - Mediocre Quality but smaller file.

Returns
void MainWindow::slotNetworkExportSM ( )
slot

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

void MainWindow::slotNetworkFileChoose ( QString  m_fileName = QString::null,
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
void MainWindow::slotNetworkFileDialogFileSelected ( const QString &  fileName)
slot

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

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

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

Parameters
filter
void MainWindow::slotNetworkFileDialogRejected ( )
slot
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
void MainWindow::slotNetworkFileLoaded ( const int &  type,
const QString &  fName = QString::null,
const QString &  netName = QString::null,
const int &  totalNodes = 0,
const int &  totalEdges = 0,
const QString &  message = QString::null 
)
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
void MainWindow::slotNetworkFileLoadRecent ( )
slot

Called on click on any file entry in "Recent Files" menu Calls slotNetworkFileChoose() which checks file type and calls 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
void MainWindow::slotNetworkFileRecentUpdateActions ( )
slot

Updates the Recent Files QActions in the menu.

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.

void MainWindow::slotNetworkImportDL ( )
slot

Imports a network from a UCINET formatted file.

void MainWindow::slotNetworkImportDot ( )
slot

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

void MainWindow::slotNetworkImportEdgeList ( )
slot

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

void MainWindow::slotNetworkImportGML ( )
slot

Imports a network from a GML formatted file.

void MainWindow::slotNetworkImportGraphML ( )
slot

Imports a network from a GraphML formatted file.

void MainWindow::slotNetworkImportPajek ( )
slot

Imports a network from a Pajek-like formatted file.

void MainWindow::slotNetworkImportSM ( )
slot

Imports a network from a Adjacency matrix formatted file.

void MainWindow::slotNetworkImportTwoModeSM ( )
slot

Imports a network from a two mode sociomatrix formatted file.

void MainWindow::slotNetworkNew ( )
slot

Creates a new network.

void MainWindow::slotNetworkPrint ( )
slot

Sends the active network to the printer.

void MainWindow::slotNetworkRandomErdosRenyi ( const int  newNodes,
const QString  model,
const int  edges,
const float  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.
void MainWindow::slotNetworkRandomErdosRenyiDialog ( )
slot

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

void MainWindow::slotNetworkRandomGaussian ( )
slot
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
void MainWindow::slotNetworkRandomLatticeDialog ( )
slot

Called from DialogRandLattice.

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
void MainWindow::slotNetworkRandomRegularDialog ( )
slot
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.

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

MainWindow::slotNetworkRandomScaleFree.

Parameters
nodes
power
initialNodes
edgesPerStep
zeroAppeal
mode
void MainWindow::slotNetworkRandomScaleFreeDialog ( )
slot
void MainWindow::slotNetworkRandomSmallWorld ( const int &  newNodes,
const int &  degree,
const float &  beta,
const QString &  mode,
const bool &  diag 
)
slot

MainWindow::slotNetworkRandomSmallWorld.

Parameters
nodes
degree
beta
mode
diag
void MainWindow::slotNetworkRandomSmallWorldDialog ( )
slot
void MainWindow::slotNetworkSave ( const int &  fileFormat = -1)
slot

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

void MainWindow::slotNetworkSaveAs ( )
slot

Saves the network in a new file. Always uses the graphml extension.

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

Called from Graph when we save file. Updates Save icon and window title.

Parameters
saved_ok
void MainWindow::slotNetworkTextEditor ( )
slot

Opens the embedded text editor.

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.

void MainWindow::slotNetworkViewSociomatrixPlotText ( )
slot

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

void MainWindow::slotNetworkWebCrawler ( const QString &  urlSeed,
const QStringList &  urlPatternsIncluded,
const QStringList &  urlPatternsExcluded,
const QStringList &  linkClasses,
const int &  maxNodes,
const int &  maxLinksPerPage,
const bool &  extLinks,
const bool &  intLinks,
const bool &  selfLinks,
const bool &  delayedRequests 
)
slot

Called from m_WebCrawlerDialog. Clears the loaded network then passes parameters to Graph::webCrawl function.

Parameters
seed
maxNodes
maxRecursion
extLinks
intLinks
void MainWindow::slotNetworkWebCrawlerDialog ( )
slot

MainWindow::slotNetworkWebCrawlerDialog Shows a dialog where enters a website url and the app creates a new network by crawling it.

void MainWindow::slotOpenSettingsDialog ( )
slot

Opens the Settings & Preferences dialog.

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

MainWindow::slotOptionsBackgroundColor Called from Options menu and Settings dialog.

Parameters
colorQColor
void MainWindow::slotOptionsBackgroundImage ( )
slot

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

void MainWindow::slotOptionsBackgroundImageSelect ( bool  toggle)
slot

MainWindow::slotOptionsBackgroundImageSelect 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
void MainWindow::slotOptionsCanvasAntialiasing ( bool  toggle)
slot

Turns antialiasing on or off.

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

Turns antialiasing auto-adjustment on or off.

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

Turns caching of canvas background on or off.

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

Turns selected edge highlighting.

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

Sets canvas index method. Called from Settings dialog.

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

Turns saving painter state on or off.

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

Turns smooth pixmap transformations on or off.

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

Sets canvas update mode.

Parameters
toggle
void MainWindow::slotOptionsDebugMessages ( bool  toggle)
slot

MainWindow::slotOptionsDebugMessages.

Parameters
toggleTurns debugging messages on or off
void MainWindow::slotOptionsEdgeArrowsVisibility ( bool  toggle)
slot

MainWindow::slotOptionsEdgeArrowsVisibility Turns on/off the arrows of edges.

Parameters
toggle
void MainWindow::slotOptionsEdgeLabelsVisibility ( bool  toggle)
slot

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

Parameters
toggle
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
void MainWindow::slotOptionsEdgesBezier ( bool  toggle)
slot

FIXME edges Bezier

void MainWindow::slotOptionsEdgesVisibility ( bool  toggle)
slot
void MainWindow::slotOptionsEdgeThicknessPerWeight ( bool  toogle)
slot
void MainWindow::slotOptionsEdgeWeightNumbersVisibility ( bool  toggle)
slot

MainWindow::slotOptionsEdgeWeightNumbersVisibility Turns on/off displaying edge weight numbers.

Parameters
toggle
void MainWindow::slotOptionsEdgeWeightsDuringComputation ( bool  toggle)
slot
void MainWindow::slotOptionsEmbedLogoExporting ( bool  toggle)
slot
void MainWindow::slotOptionsLeftPanelVisibility ( bool  toggle)
slot
void MainWindow::slotOptionsNodeLabelsVisibility ( bool  toggle)
slot

MainWindow::slotOptionsNodeLabelsVisibility Turns on/off displaying labels.

Parameters
toggle
void MainWindow::slotOptionsNodeNumbersInside ( bool  toggle)
slot

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

Parameters
toggle
void MainWindow::slotOptionsNodeNumbersVisibility ( bool  toggle)
slot

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

Parameters
toggle
void MainWindow::slotOptionsProgressDialogVisibility ( bool  toggle)
slot

Turns progress dialogs on or off.

Parameters
toggle
void MainWindow::slotOptionsRightPanelVisibility ( bool  toggle)
slot
void MainWindow::slotOptionsStatusBarVisibility ( bool  toggle)
slot

MainWindow::slotOptionsStatusBarVisibility.

Parameters
toggleTurns Statusbar on or off
void MainWindow::slotOptionsToolbarVisibility ( bool  toggle)
slot

MainWindow::slotOptionsToolbarVisibility.

Parameters
toggleTurns Toolbar on or off
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
void MainWindow::slotProgressBoxDestroy ( const int &  max = 0)
slot

Destroys the first in queue Progress dialog.

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
void MainWindow::terminateThreads ( const QString &  reason)

MainWindow::terminateThreads.

Parameters
reason
void MainWindow::toolBoxAnalysisCohesionSelectChanged ( 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
void MainWindow::toolBoxAnalysisCommunitiesSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxAnalysisMatricesSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxAnalysisProminenceSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxAnalysisStrEquivalenceSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxEditEdgeSymmetrizeSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxEditNodeSubgraphSelectChanged ( int  selectedIndex)
slot

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

Parameters
selectedIndex
void MainWindow::toolBoxLayoutByIndexApplyBtnPressed ( )
slot

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

void MainWindow::toolBoxLayoutForceDirectedApplyBtnPressed ( )
slot

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

Member Data Documentation

Graph* MainWindow::activeGraph
private
QDateTime MainWindow::actualDate
private
QDateTime MainWindow::actualDateTime
private
QDateTime MainWindow::actualTime
private
QMenu * MainWindow::analysisMenu
private
QAction* MainWindow::analyzeCommunitiesCliquesAct
private
QAction * MainWindow::analyzeCommunitiesTriadCensusAct
private
QAction * MainWindow::analyzeGraphConnectednessAct
private
QAction* MainWindow::analyzeGraphDiameterAct
private
QAction* MainWindow::analyzeGraphDistanceAct
private
QAction * MainWindow::analyzeGraphEccentricityAct
private
QAction * MainWindow::analyzeGraphReciprocityAct
private
QAction * MainWindow::analyzeGraphSymmetryAct
private
QAction* MainWindow::analyzeGraphWalksAct
private
QAction * MainWindow::analyzeGraphWalksTotalAct
private
QAction* MainWindow::analyzeMatrixAdjCocitationAct
private
QAction * MainWindow::analyzeMatrixAdjInvertAct
private
QAction* MainWindow::analyzeMatrixAdjTransposeAct
private
QAction* MainWindow::analyzeMatrixDegreeAct
private
QAction* MainWindow::analyzeMatrixDistancesGeodesicAct
private
QAction * MainWindow::analyzeMatrixGeodesicsAct
private
QAction * MainWindow::analyzeMatrixLaplacianAct
private
QAction * MainWindow::analyzeMatrixReachabilityAct
private
QAction* MainWindow::analyzeStrEquivalenceClusteringHierarchicalAct
private
QAction* MainWindow::analyzeStrEquivalenceMatchesAct
private
QAction * MainWindow::analyzeStrEquivalencePearsonAct
private
QAction* MainWindow::analyzeStrEquivalenceTieProfileDissimilaritiesAct
private
QMap<QString,QString> MainWindow::appSettings
private
bool MainWindow::askedAboutWeights
private
QAction * MainWindow::averGraphDistanceAct
private
QAction* MainWindow::backgroundImageAct
private
QAction * MainWindow::cBetweennessAct
private
QAction * MainWindow::cClosenessAct
private
QAction* MainWindow::cDegreeAct
private
QAction * MainWindow::cEccentAct
private
QAction * MainWindow::cEigenvectorAct
private
QMenu * MainWindow::centrlMenu
private
QAction* MainWindow::changeBackColorAct
private
QAction * MainWindow::cInDegreeAct
private
QAction * MainWindow::cInfluenceRangeClosenessAct
private
QAction * MainWindow::cInformationAct
private
QAction * MainWindow::clusteringCoefAct
private
QList<QTextCodec *> MainWindow::codecs
private
QMenu* MainWindow::cohesionMenu
private
QMenu* MainWindow::colorationMenu
private
QMenu * MainWindow::colorOptionsMenu
private
QMenu * MainWindow::communitiesMenu
private
QMenu * MainWindow::connectivityMenu
private
QAction * MainWindow::cPageRankAct
private
QAction * MainWindow::cPowerAct
private
QAction * MainWindow::cProximityPrestigeAct
private
QAction * MainWindow::cStressAct
private
QAction * MainWindow::drawEdgesBezier
private
QMenu * MainWindow::edgeOptionsMenu
private
QAction* MainWindow::editEdgeAddAct
private
QAction * MainWindow::editEdgeColorAct
private
QAction * MainWindow::editEdgeColorAllAct
private
QAction* MainWindow::editEdgeLabelAct
private
QMenu * MainWindow::editEdgeMenu
private
QAction * MainWindow::editEdgeRemoveAct
private
QAction * MainWindow::editEdgesCocitationAct
private
QAction * MainWindow::editEdgeSymmetrizeAllAct
private
QAction* MainWindow::editEdgeSymmetrizeStrongTiesAct
private
QAction * MainWindow::editEdgeUndirectedAllAct
private
QAction * MainWindow::editEdgeWeightAct
private
QAction * MainWindow::editFilterEdgesByWeightAct
private
QAction* MainWindow::editFilterEdgesUnilateralAct
private
QAction * MainWindow::editFilterNodesIsolatesAct
private
QMenu * MainWindow::editMenu
private
QAction * MainWindow::editNodeAddAct
private
QAction * MainWindow::editNodeColorAll
private
QAction* MainWindow::editNodeFindAct
private
QAction * MainWindow::editNodeLabelsColorAct
private
QAction * MainWindow::editNodeLabelsSizeAct
private
QMenu* MainWindow::editNodeMenu
private
QAction * MainWindow::editNodeNumbersColorAct
private
QAction* MainWindow::editNodeNumbersSizeAct
private
QAction* MainWindow::editNodePropertiesAct
private
QAction * MainWindow::editNodeRemoveAct
private
QAction * MainWindow::editNodeSelectAllAct
private
QAction * MainWindow::editNodeSelectedToCliqueAct
private
QAction * MainWindow::editNodeSelectedToCycleAct
private
QAction* MainWindow::editNodeSelectedToLineAct
private
QAction* MainWindow::editNodeSelectedToStarAct
private
QAction* MainWindow::editNodeSelectNoneAct
private
QAction * MainWindow::editNodeShapeAll
private
QAction* MainWindow::editNodeSizeAllAct
private
QAction * MainWindow::editRelationAddAct
private
QComboBox* MainWindow::editRelationChangeCombo
private
QAction* MainWindow::editRelationNextAct
private
QAction * MainWindow::editRelationPreviousAct
private
QAction* MainWindow::editRelationRenameAct
private
QAction * MainWindow::editResetSlidersAct
private
QAction * MainWindow::editRotateLeftAct
private
QAction * MainWindow::editRotateRightAct
private
QTime MainWindow::eTime
private
QMenu * MainWindow::exportSubMenu
private
QString MainWindow::fileName
private
QString MainWindow::fileNameNoPath
private
int MainWindow::fileType
private
QMenu * MainWindow::filterMenu
private
QAction* MainWindow::filterNodesAct
private
QStringList MainWindow::fortuneCookie
private
int MainWindow::fortuneCookiesCounter
private
GraphicsWidget* MainWindow::graphicsWidget
private
QThread MainWindow::graphThread
private
QAction * MainWindow::helpAboutApp
private
QAction * MainWindow::helpAboutQt
private
QAction * MainWindow::helpApp
private
QAction* MainWindow::helpCheckUpdatesApp
private
QMenu * MainWindow::helpMenu
private
QNetworkAccessManager* MainWindow::http
private
QMenu* MainWindow::importSubMenu
private
QString MainWindow::initFileCodec
private
bool MainWindow::inverseWeights
private
QAction* MainWindow::layoutFDP_Eades_Act
private
QAction * MainWindow::layoutFDP_FR_Act
private
QAction* MainWindow::layoutFDP_KamadaKawai_Act
private
QMenu* MainWindow::layoutForceDirectedMenu
private
QAction * MainWindow::layoutGuidesAct
private
QAction * MainWindow::layoutLevelProminence_BC_Act
private
QAction * MainWindow::layoutLevelProminence_CC_Act
private
QAction* MainWindow::layoutLevelProminence_DC_Act
private
QAction * MainWindow::layoutLevelProminence_DP_Act
private
QAction * MainWindow::layoutLevelProminence_EC_Act
private
QAction * MainWindow::layoutLevelProminence_EVC_Act
private
QAction * MainWindow::layoutLevelProminence_IC_Act
private
QAction * MainWindow::layoutLevelProminence_IRCC_Act
private
QAction * MainWindow::layoutLevelProminence_PC_Act
private
QAction * MainWindow::layoutLevelProminence_PP_Act
private
QAction * MainWindow::layoutLevelProminence_PRP_Act
private
QAction * MainWindow::layoutLevelProminence_SC_Act
private
QMenu * MainWindow::layoutLevelProminenceMenu
private
QMenu * MainWindow::layoutMenu
private
QAction * MainWindow::layoutNodeColorProminence_BC_Act
private
QAction * MainWindow::layoutNodeColorProminence_CC_Act
private
QAction* MainWindow::layoutNodeColorProminence_DC_Act
private
QAction * MainWindow::layoutNodeColorProminence_DP_Act
private
QAction * MainWindow::layoutNodeColorProminence_EC_Act
private
QAction * MainWindow::layoutNodeColorProminence_EVC_Act
private
QAction * MainWindow::layoutNodeColorProminence_IC_Act
private
QAction * MainWindow::layoutNodeColorProminence_IRCC_Act
private
QAction * MainWindow::layoutNodeColorProminence_PC_Act
private
QAction * MainWindow::layoutNodeColorProminence_PP_Act
private
QAction * MainWindow::layoutNodeColorProminence_PRP_Act
private
QAction * MainWindow::layoutNodeColorProminence_SC_Act
private
QMenu * MainWindow::layoutNodeColorProminenceMenu
private
QAction * MainWindow::layoutNodeSizeProminence_BC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_CC_Act
private
QAction* MainWindow::layoutNodeSizeProminence_DC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_DP_Act
private
QAction * MainWindow::layoutNodeSizeProminence_EC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_EVC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_IC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_IRCC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_PC_Act
private
QAction * MainWindow::layoutNodeSizeProminence_PP_Act
private
QAction * MainWindow::layoutNodeSizeProminence_PRP_Act
private
QAction * MainWindow::layoutNodeSizeProminence_SC_Act
private
QMenu * MainWindow::layoutNodeSizeProminenceMenu
private
QAction * MainWindow::layoutRadialProminence_BC_Act
private
QAction * MainWindow::layoutRadialProminence_CC_Act
private
QAction* MainWindow::layoutRadialProminence_DC_Act
private
QAction * MainWindow::layoutRadialProminence_DP_Act
private
QAction * MainWindow::layoutRadialProminence_EC_Act
private
QAction * MainWindow::layoutRadialProminence_EVC_Act
private
QAction * MainWindow::layoutRadialProminence_IC_Act
private
QAction * MainWindow::layoutRadialProminence_IRCC_Act
private
QAction * MainWindow::layoutRadialProminence_PC_Act
private
QAction * MainWindow::layoutRadialProminence_PP_Act
private
QAction * MainWindow::layoutRadialProminence_PRP_Act
private
QAction * MainWindow::layoutRadialProminence_SC_Act
private
QMenu * MainWindow::layoutRadialProminenceMenu
private
QAction* MainWindow::layoutRandomAct
private
QAction * MainWindow::layoutRandomRadialAct
private
QGroupBox* MainWindow::leftPanel
private
DialogDataSetSelect* MainWindow::m_datasetSelectDialog
private
DialogClusteringHierarchical* MainWindow::m_dialogClusteringHierarchical
private
DialogDissimilarities* MainWindow::m_dialogdissimilarities
private
DialogFilterEdgesByWeight* MainWindow::m_DialogEdgeFilterByWeight
private
DialogPreviewFile* MainWindow::m_dialogPreviewFile
private
DialogSimilarityMatches* MainWindow::m_dialogSimilarityMatches
private
DialogSimilarityPearson* MainWindow::m_dialogSimilarityPearson
private
DialogNodeEdit* MainWindow::m_nodeEditDialog
private
DialogNodeFind* MainWindow::m_nodeFindDialog
private
DialogRandErdosRenyi* MainWindow::m_randErdosRenyiDialog
private
DialogRandLattice* MainWindow::m_randLatticeDialog
private
DialogRandRegular* MainWindow::m_randRegularDialog
private
DialogRandScaleFree* MainWindow::m_randScaleFreeDialog
private
DialogRandSmallWorld* MainWindow::m_randSmallWorldDialog
private
DialogSettings* MainWindow::m_settingsDialog
private
QList<TextEditor *> MainWindow::m_textEditors
private
DialogWebCrawler* MainWindow::m_WebCrawlerDialog
private
QMenu* MainWindow::matrixMenu
private
int MainWindow::maxNodes
private
QAction* MainWindow::netDensity
private
QAction * MainWindow::networkClose
private
QAction * MainWindow::networkDataSetSelectAct
private
QAction* MainWindow::networkExportBMP
private
QAction * MainWindow::networkExportDL
private
QAction * MainWindow::networkExportGW
private
QAction * MainWindow::networkExportList
private
QAction * MainWindow::networkExportPajek
private
QAction * MainWindow::networkExportPDF
private
QAction * MainWindow::networkExportPNG
private
QAction * MainWindow::networkExportSM
private
QAction * MainWindow::networkImportDL
private
QAction * MainWindow::networkImportDot
private
QAction * MainWindow::networkImportGML
private
QAction * MainWindow::networkImportList
private
QAction* MainWindow::networkImportPajek
private
QAction * MainWindow::networkImportSM
private
QAction * MainWindow::networkImportTwoModeSM
private
QMenu* MainWindow::networkMenu
private
QAction* MainWindow::networkNew
private
QAction * MainWindow::networkOpen
private
QAction * MainWindow::networkPrint
private
QAction * MainWindow::networkQuit
private
QAction* MainWindow::networkRandomErdosRenyiAct
private
QAction* MainWindow::networkRandomGaussianAct
private
QAction* MainWindow::networkRandomLatticeAct
private
QAction* MainWindow::networkRandomLatticeRingAct
private
QAction* MainWindow::networkRandomRegularSameDegreeAct
private
QAction* MainWindow::networkRandomScaleFreeAct
private
QAction* MainWindow::networkRandomSmallWorldAct
private
QAction * MainWindow::networkSave
private
QAction * MainWindow::networkSaveAs
private
QAction* MainWindow::networkViewFileAct
private
QAction * MainWindow::networkViewSociomatrixAct
private
QAction * MainWindow::networkViewSociomatrixPlotAct
private
QAction* MainWindow::networkWebCrawlerAct
private
QMenu * MainWindow::nodeOptionsMenu
private
QAction* MainWindow::openSettingsAct
private
QAction * MainWindow::openTextEditorAct
private
QAction* MainWindow::optionsEdgeArrowsAct
private
QAction* MainWindow::optionsEdgeLabelsAct
private
QAction * MainWindow::optionsEdgesVisibilityAct
private
QAction* MainWindow::optionsEdgeThicknessPerWeightAct
private
QAction * MainWindow::optionsEdgeWeightConsiderAct
private
QAction * MainWindow::optionsEdgeWeightNumbersAct
private
QMenu* MainWindow::optionsMenu
private
QAction * MainWindow::optionsNodeLabelsVisibilityAct
private
QAction * MainWindow::optionsNodeNumbersInsideAct
private
QAction* MainWindow::optionsNodeNumbersVisibilityAct
private
QString MainWindow::previous_fileName
private
QPrinter* MainWindow::printer
private
int MainWindow::progressCounter
private
QStack<QProgressDialog *> MainWindow::progressDialogs
private
QString MainWindow::progressMsg
private
QStringList MainWindow::prominenceIndexList
private
float MainWindow::randomErdosEdgeProb
private
QMenu* MainWindow::randomLayoutMenu
private
QMenu * MainWindow::randomNetworkMenu
private
QAction* MainWindow::recentFileActs[MaxRecentFiles]
private
QStringList MainWindow::recentFiles
private
QMenu * MainWindow::recentFilesSubMenu
private
QAction * MainWindow::regularColorationAct
private
QNetworkReply* MainWindow::reply
private
QNetworkRequest MainWindow::request
private
QToolButton * MainWindow::resetSlidersBtn
private
QGroupBox * MainWindow::rightPanel
private
QLabel* MainWindow::rightPanelClickedEdgeNameLabel
private
QLabel* MainWindow::rightPanelClickedEdgeNameLCD
private
QLabel* MainWindow::rightPanelClickedEdgeReciprocalWeightLabel
private
QLabel* MainWindow::rightPanelClickedEdgeReciprocalWeightLCD
private
QLabel* MainWindow::rightPanelClickedEdgeWeightLabel
private
QLabel* MainWindow::rightPanelClickedEdgeWeightLCD
private
QLabel* MainWindow::rightPanelClickedNodeClucofLCD
private
QLabel* MainWindow::rightPanelClickedNodeHeaderLabel
private
QLabel* MainWindow::rightPanelClickedNodeInDegreeLCD
private
QLabel* MainWindow::rightPanelClickedNodeLCD
private
QLabel* MainWindow::rightPanelClickedNodeOutDegreeLCD
private
QLabel* MainWindow::rightPanelDensityLCD
private
QLabel* MainWindow::rightPanelEdgesLabel
private
QLabel* MainWindow::rightPanelEdgesLCD
private
QLabel* MainWindow::rightPanelNetworkTypeLCD
private
QLabel* MainWindow::rightPanelNodesLCD
private
QLabel* MainWindow::rightPanelSelectedEdgesLabel
private
QLabel* MainWindow::rightPanelSelectedEdgesLCD
private
QLabel* MainWindow::rightPanelSelectedNodesLCD
private
QToolButton * MainWindow::rotateLeftBtn
private
QToolButton * MainWindow::rotateRightBtn
private
QSlider * MainWindow::rotateSlider
private
QGraphicsScene* MainWindow::scene
private
QString MainWindow::settingsDir
private
QString MainWindow::settingsFilePath
private
int MainWindow::statusBarDuration
private
QMenu * MainWindow::strEquivalenceMenu
private
QAction* MainWindow::strongColorationAct
private
QStringList MainWindow::tempFileNameNoPath
private
QStringList MainWindow::tips
private
QAction * MainWindow::tipsApp
private
QToolBar* MainWindow::toolBar
private
QComboBox * MainWindow::toolBoxAnalysisCohesionSelect
private
QComboBox * MainWindow::toolBoxAnalysisCommunitiesSelect
private
QComboBox * MainWindow::toolBoxAnalysisMatricesSelect
private
QComboBox * MainWindow::toolBoxAnalysisProminenceSelect
private
QComboBox * MainWindow::toolBoxAnalysisStrEquivalenceSelect
private
QComboBox * MainWindow::toolBoxEditEdgeModeSelect
private
QComboBox * MainWindow::toolBoxEditEdgeSymmetrizeSelect
private
QComboBox* MainWindow::toolBoxEditNodeSubgraphSelect
private
QPushButton* MainWindow::toolBoxLayoutByIndexApplyButton
private
QComboBox* MainWindow::toolBoxLayoutByIndexSelect
private
QComboBox * MainWindow::toolBoxLayoutByIndexTypeSelect
private
QPushButton * MainWindow::toolBoxLayoutForceDirectedApplyButton
private
QComboBox* MainWindow::toolBoxLayoutForceDirectedSelect
private
QAction* MainWindow::transformNodes2EdgesAct
private
QString MainWindow::userSelectedCodecName
private
QMenu * MainWindow::viewOptionsMenu
private
QAction* MainWindow::zoomInAct
private
QToolButton* MainWindow::zoomInBtn
private
QAction * MainWindow::zoomOutAct
private
QToolButton * MainWindow::zoomOutBtn
private
QSlider* MainWindow::zoomSlider
private

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