GraphTool  1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Slots | Public Member Functions | Protected Member Functions | List of all members
GraphToolMainWindow Class Reference

#include <main_window.h>

Inheritance diagram for GraphToolMainWindow:
Inheritance graph
[legend]
Collaboration diagram for GraphToolMainWindow:
Collaboration graph
[legend]

Public Slots

void on_actionTreeView_triggered ()
 
void on_actionGraphView_triggered ()
 
void on_actionSearch_triggered ()
 
void on_actionFilter_triggered ()
 
void on_actionConditionalFormatting_triggered ()
 
void on_actionDependents_triggered ()
 
void on_actionDependencies_triggered ()
 
void on_actionColorEdgesMemType_triggered ()
 
void on_actionAntiAliasing_triggered ()
 
void on_actionForce_triggered ()
 
void on_actionBubble_triggered ()
 
void on_actionHierarchy_triggered ()
 
void on_actionOpenXML_triggered ()
 
void on_actionOpen_XML_show_difference_triggered ()
 
void on_actionImportFilters_triggered ()
 
void on_actionExportFilters_triggered ()
 
void on_actionImportCondFormattings_triggered ()
 
void on_actionExportCondFormattings_triggered ()
 
void on_actionQuit_triggered ()
 
void on_actionOpenManual_triggered ()
 
void on_actionExportGraph_triggered ()
 
void on_actionPrint_triggered ()
 
void on_menuFilter_triggered (QAction *)
 
void create_right_click_menu (const QPoint &point, std::string item_name)
 
void right_click_menu_action (QAction *action)
 
void select_item_in_graph (std::string item_name, bool first, bool multiple)
 
void select_item_in_treeview (std::string item_name, bool first)
 
void post_filter_model_changed ()
 Slot for notification if the Main Controller changes the post filter model.
 
void pre_filter_model_changed ()
 Slot for notification if the Main Controller changes the pre filter model.
 
void excludeSelection ()
 Excludes (hides) all currently selected nodes. This fuction is called on keyboard shortcut press.
 
void tree_visibility_changed (bool visibility)
 Slot for updating the menu bar when the movable docks change.
 
void filter_visibility_changed (bool visibility)
 Slot for updating the menu bar when the movable docks change.
 
void conditional_formatting_visibility_changed (bool visibility)
 Slot for updating the menu bar when the movable docks change.
 

Public Member Functions

 GraphToolMainWindow (QWidget *parent=0)
 
virtual ~GraphToolMainWindow ()
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 

Detailed Description

GraphToolMainWindow inherits QMainWindow and is the mainwindow for the graphical interface for the GraphTool application. It holds references to all the main components used by interface and the necessary connections to the controller(MainController).

Constructor & Destructor Documentation

GraphToolMainWindow::GraphToolMainWindow ( QWidget *  parent = 0)

Constructor for the GraphToolMainWindow

Parameters
parentThe parent widget for this window, default(null) is always used.

Add the filter dock

GraphToolMainWindow::~GraphToolMainWindow ( )
virtual

Default destructor for the GraphToolMainWindow

Member Function Documentation

void GraphToolMainWindow::create_right_click_menu ( const QPoint &  point,
std::string  item_name 
)
slot

Slot for creating the right click menu inside the GraphScene/GraphView

Parameters
pointThe point where the right click occurred
item_nameName of the item that was below the click
void GraphToolMainWindow::on_actionAntiAliasing_triggered ( )
slot

Slot for enabling/disabling antialiasing for the graph visualization the TreeView in the GraphToolMainWindow

void GraphToolMainWindow::on_actionBubble_triggered ( )
slot

Slot for switching graph layout to the Bubble layout in the GraphToolMainWindow

void GraphToolMainWindow::on_actionColorEdgesMemType_triggered ( )
slot

Slot for enabling/disabling edge coloring according to LDM/LPM/Both type in the graph the TreeView in the GraphToolMainWindow

void GraphToolMainWindow::on_actionConditionalFormatting_triggered ( )
slot

Slot for enabling/disabling the conditional formatting menu

void GraphToolMainWindow::on_actionDependencies_triggered ( )
slot

Slot for showing/hiding dependencies in the graph the TreeView in the GraphToolMainWindow

void GraphToolMainWindow::on_actionDependents_triggered ( )
slot

Slot for showing/hiding dependents in the graph in the GraphToolMainWindow

void GraphToolMainWindow::on_actionExportCondFormattings_triggered ( )
slot

Slot for showing the Export Conditional Formattings dialog

void GraphToolMainWindow::on_actionExportFilters_triggered ( )
slot

Slot for showing the Export Filters dialog

void GraphToolMainWindow::on_actionExportGraph_triggered ( )
slot

Slot for exporting the loaded xml to a file

void GraphToolMainWindow::on_actionFilter_triggered ( )
slot

Slot for enabling/disabling the FilterMenu in the GraphToolMainWindow

void GraphToolMainWindow::on_actionForce_triggered ( )
slot

Slot for switching graph layout to the Force layout in the GraphToolMainWindow

void GraphToolMainWindow::on_actionGraphView_triggered ( )
slot

Slot for enabling/disabling the area where the graph is visualized in the GraphToolMainWindow

void GraphToolMainWindow::on_actionHierarchy_triggered ( )
slot

Slot for switching graph layout to the Hierarchy layout in the GraphToolMainWindow

void GraphToolMainWindow::on_actionImportCondFormattings_triggered ( )
slot

Slot for showing the Import Conditional Formattings dialog

void GraphToolMainWindow::on_actionImportFilters_triggered ( )
slot

Slot for showing the Import Filters dialog

void GraphToolMainWindow::on_actionOpen_XML_show_difference_triggered ( )
slot

Slot for showing the Open XML(show diff) dialog

void GraphToolMainWindow::on_actionOpenManual_triggered ( )
slot

Slot for showing the user manual in the default browser

void GraphToolMainWindow::on_actionOpenXML_triggered ( )
slot

Slot for showing the Open XML dialog

void GraphToolMainWindow::on_actionPrint_triggered ( )
slot

Slot for printing the graph into a pdf or any other static file.

void GraphToolMainWindow::on_actionQuit_triggered ( )
slot

Slot for exiting the applicaiton

void GraphToolMainWindow::on_actionSearch_triggered ( )
slot

Slot for enabling/disabling the SearchBox in the GraphToolMainWindow

void GraphToolMainWindow::on_actionTreeView_triggered ( )
slot

Slot for enabling/disabling the TreeView in the GraphToolMainWindow

void GraphToolMainWindow::on_menuFilter_triggered ( QAction *  a)
slot

Any time any action is triggerd in the filter menu from the menubar we run this action to show the filter menu.

void GraphToolMainWindow::right_click_menu_action ( QAction *  action)
slot

Slot used for executing the action chosen by the user inside the right click menu

Parameters
actionThe action to be executed
void GraphToolMainWindow::select_item_in_graph ( std::string  item_name,
bool  first,
bool  multiple 
)
slot

Slot for selecting an item in the graph

Parameters
item_nameName of the item
firstTrue if the first item, false if not
void GraphToolMainWindow::select_item_in_treeview ( std::string  item_name,
bool  first 
)
slot

Slot for selecting an item in the TreeView

Parameters
item_nameName of the item
firsttrue if the first item, false if not

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