Isis Developer Reference
Isis::CnetEditorWidget Class Reference

This widget provides full editing, filtering and viewing capabilities for the raw data in a control network. More...

#include <CnetEditorWidget.h>

Inheritance diagram for Isis::CnetEditorWidget:
Inheritance graph
Collaboration diagram for Isis::CnetEditorWidget:
Collaboration graph

Public Types

enum  View { PointView, ImageView, ConnectionView }
 

Public Slots

void configSorting ()
 Configures the sorting dialog. More...
 
void setTablesFrozen (bool)
 Sets if the tables are frozen. More...
 
void rebuildModels ()
 Rebuilds the models. More...
 

Signals

void cnetModified ()
 
void editControlPoint (ControlPoint *controlPoint, QString serialNumber)
 

Public Member Functions

 CnetEditorWidget (Control *control, QString pathForSettings)
 
virtual ~CnetEditorWidget ()
 Destructor. More...
 
void readSettings ()
 Reads the working version settings stored at the settings path. More...
 
void writeSettings ()
 Writes the configuration settings used. More...
 
QWidgetpointTreeView ()
 Returns the point tree view. More...
 
QWidgetserialTreeView ()
 Returns the serial tree view. More...
 
QWidgetconnectionTreeView ()
 Returns the connection tree view. More...
 
QWidgetpointFilterWidget ()
 Returns the point filter widget. More...
 
QWidgetserialFilterWidget ()
 Returns the serial filter widget. More...
 
QWidgetconnectionFilterWidget ()
 Returns the connection filter widget. More...
 
TableViewpointTableView ()
 Returns the point table view. More...
 
TableViewmeasureTableView ()
 Returns the measure table view. More...
 
ControlNetcontrol ()
 Returns the control network. More...
 
AbstractTableModelmeasureTableModel ()
 Returns the measure table model. More...
 
AbstractTableModelpointTableModel ()
 Returns the point table model. More...
 
QMap< QAction *, QList< QString > > menuActions ()
 Returns the menu actions. More...
 
QMap< QString, QList< QAction * > > toolBarActions ()
 Returns the tool bar actions. More...
 
ControlNetfilteredNetwork () const
 Returns the filtered control net. More...
 
bool measureTableSortingEnabled () const
 Returns true if the measure table can be sorted. More...
 
int measureTableSortLimit () const
 Returns the sorting limit for the measure table. More...
 
bool pointTableSortingEnabled () const
 Returns true if the point table can be sorted. More...
 
int pointTableSortLimit () const
 Returns the sorting limit for the point table. More...
 
void setMeasureTableSortingEnabled (bool enabled)
 Sets if the measure table can be sorted. More...
 
void setMeasureTableSortLimit (int limit)
 Sets the measure table sorting limit. More...
 
void setPointTableSortingEnabled (bool enabled)
 Sets if the point table can be sorted. More...
 
void setPointTableSortLimit (int limit)
 Sets the point table sorting limit. More...
 

Detailed Description

This widget provides full editing, filtering and viewing capabilities for the raw data in a control network.

The raw data is, for example, chooser name or cube serial number. The display is all textual. Please use the widget accessors to appropriately place the various ancillary sections of the editor.

Author
????-??-?? Eric Hyer

Member Enumeration Documentation

◆ View

Enumerator
PointView 
ImageView 
ConnectionView 

Constructor & Destructor Documentation

◆ CnetEditorWidget()

Isis::CnetEditorWidget::CnetEditorWidget ( Control control,
QString  pathForSettings 
)

◆ ~CnetEditorWidget()

Isis::CnetEditorWidget::~CnetEditorWidget ( )
virtual

Destructor.

References writeSettings().

Member Function Documentation

◆ cnetModified

void Isis::CnetEditorWidget::cnetModified ( )
signal

Referenced by CnetEditorWidget().

◆ configSorting

void Isis::CnetEditorWidget::configSorting ( )
slot

Configures the sorting dialog.

If one does not already exist, create it, then show the dialog

◆ connectionFilterWidget()

QWidget * Isis::CnetEditorWidget::connectionFilterWidget ( )

Returns the connection filter widget.

Returns
QWidget The connection filter widget

◆ connectionTreeView()

QWidget * Isis::CnetEditorWidget::connectionTreeView ( )

Returns the connection tree view.

Returns
QWidget The connection tree view

◆ control()

ControlNet * Isis::CnetEditorWidget::control ( )

Returns the control network.

Returns
ControlNet The control network

References Isis::Control::controlNet().

Referenced by CnetEditorWidget().

◆ editControlPoint

void Isis::CnetEditorWidget::editControlPoint ( ControlPoint controlPoint,
QString  serialNumber 
)
signal

◆ filteredNetwork()

◆ measureTableModel()

AbstractTableModel * Isis::CnetEditorWidget::measureTableModel ( )

Returns the measure table model.

Returns
AbstractTableModel The measure table model

◆ measureTableSortingEnabled()

bool Isis::CnetEditorWidget::measureTableSortingEnabled ( ) const

Returns true if the measure table can be sorted.

Returns
bool True if sorting is enabled on the measure table

References Isis::AbstractTableModel::sortingIsEnabled().

Referenced by writeSettings().

◆ measureTableSortLimit()

int Isis::CnetEditorWidget::measureTableSortLimit ( ) const

Returns the sorting limit for the measure table.

Returns
int The sorting limit for the measure table

References Isis::AbstractTableModel::sortLimit().

Referenced by writeSettings().

◆ measureTableView()

TableView * Isis::CnetEditorWidget::measureTableView ( )

Returns the measure table view.

Returns
TableView The measure table view

Referenced by Isis::Directory::addCnetEditorView().

◆ menuActions()

QMap< QAction *, QList< QString > > Isis::CnetEditorWidget::menuActions ( )

Returns the menu actions.

Returns
QMap< QAction *, QList< QString > > QMap of menu actions

References ASSERT.

◆ pointFilterWidget()

QWidget * Isis::CnetEditorWidget::pointFilterWidget ( )

Returns the point filter widget.

Returns
QWidget The point filter widget

◆ pointTableModel()

AbstractTableModel * Isis::CnetEditorWidget::pointTableModel ( )

Returns the point table model.

Returns
AbstractTableModel The point table model

◆ pointTableSortingEnabled()

bool Isis::CnetEditorWidget::pointTableSortingEnabled ( ) const

Returns true if the point table can be sorted.

Returns
bool True if sorting is enabled on the point table

References Isis::AbstractTableModel::sortingIsEnabled().

Referenced by writeSettings().

◆ pointTableSortLimit()

int Isis::CnetEditorWidget::pointTableSortLimit ( ) const

Returns the sorting limit for the point table.

Returns
int The sorting limit for the point table

References Isis::AbstractTableModel::sortLimit().

Referenced by writeSettings().

◆ pointTableView()

TableView * Isis::CnetEditorWidget::pointTableView ( )

Returns the point table view.

Returns
TableView The point table view

Referenced by Isis::Directory::addCnetEditorView().

◆ pointTreeView()

QWidget * Isis::CnetEditorWidget::pointTreeView ( )

Returns the point tree view.

Returns
QWidget The point tree view

◆ readSettings()

◆ rebuildModels

void Isis::CnetEditorWidget::rebuildModels ( )
slot

Rebuilds the models.

Referenced by CnetEditorWidget().

◆ serialFilterWidget()

QWidget * Isis::CnetEditorWidget::serialFilterWidget ( )

Returns the serial filter widget.

Returns
QWidget The serial filter widget

◆ serialTreeView()

QWidget * Isis::CnetEditorWidget::serialTreeView ( )

Returns the serial tree view.

Returns
QWidget The serial tree view

◆ setMeasureTableSortingEnabled()

void Isis::CnetEditorWidget::setMeasureTableSortingEnabled ( bool  enabled)

Sets if the measure table can be sorted.

Parameters
boolBool if the table can be sorted or not

References Isis::AbstractTableModel::setSortingEnabled().

Referenced by readSettings().

◆ setMeasureTableSortLimit()

void Isis::CnetEditorWidget::setMeasureTableSortLimit ( int  limit)

Sets the measure table sorting limit.

Parameters
intSorting limit

References Isis::AbstractTableModel::setSortLimit().

Referenced by readSettings().

◆ setPointTableSortingEnabled()

void Isis::CnetEditorWidget::setPointTableSortingEnabled ( bool  enabled)

Sets if the point table can be sorted.

Parameters
boolBool if the table can be sorted or not

References Isis::AbstractTableModel::setSortingEnabled().

Referenced by readSettings().

◆ setPointTableSortLimit()

void Isis::CnetEditorWidget::setPointTableSortLimit ( int  limit)

Sets the point table sorting limit.

Parameters
intSorting limit

References Isis::AbstractTableModel::setSortLimit().

Referenced by readSettings().

◆ setTablesFrozen

void Isis::CnetEditorWidget::setTablesFrozen ( bool  freezeTables)
slot

Sets if the tables are frozen.

Parameters
boolBool that freezes the tables or not

References Isis::AbstractTreeModel::setFrozen().

◆ toolBarActions()

QMap< QString, QList< QAction * > > Isis::CnetEditorWidget::toolBarActions ( )

Returns the tool bar actions.

Returns
QMap< QAction *, QList< QString > > QMap of tool bar actions

References ASSERT.

◆ writeSettings()


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