QpListView Class Reference

#include <qpui.h>

Inheritance diagram for QpListView:

QguListView

List of all members.

Public Slots

void setPlotType (int)
void setFrameType (int)
void deleteOneItem ()
void deleteSelectedItems ()
void dropEvent (QDropEvent *event)
 Event handler called when the drag is dropped on this list view. Re-implemented from QWidget. Drop uses dragList.
void dragEnterEvent (QDragEnterEvent *event)
void moveItemDown ()
 Method that moves a selected item down within the current list view. Will move in and out of folders.
void moveItemUp ()
 Method that moves a selected item up within the current list view. Moves in and out of folders.
void emitStatusMsg (const QString &str)
void plotCurrentItem ()
void plotSelectedItems ()
void setDefaultSelectedItems ()
void setDefaultCurrentItem ()
virtual void rightButtonPressEvent (Q_LIST_VIEW_ITEM *, const QPoint &, int)
void renameSelectedItem ()
 Method that renames a selected item within the current list view. Launches dialog using QguListView::reNameItem().
void setPageLayout (QpPageItem *pageItem)
void refreshWLitems ()
void updateOnSelection ()
void makeTraceItem ()
void makeSpectrumItem ()
void makeConstXTraceItem ()
void makeConstYTraceItem ()
void makeEventItem ()
void makePanelItem ()
void makeTSFrameItem ()
void makeXYFrameItem ()
void makePageItem ()
void linkPlots ()
void unlinkPlots ()
void makeVector_RXYZ_Item ()
void makeVector_XYZ_Item ()
void makeVector_R_TP_Item ()
void makeVector_R_LP_Item ()
void makeVector_R_XYZ_Item ()
void makeVector_R_X_Y_Z_Item ()
void makeVector_X_Y_Z_Item ()
void makeVector_R_T_P_Item ()
void makeVector_R_L_P_Item ()
void makeC1234_Item ()
void makeC1_2_3_4_Item ()
void make2Panel_Item ()
void make3Panel_Item ()
void make4Panel_Item ()

Signals

void selectionModified ()
void status_msg (const QString &)
void pageLayoutChanged (QpPageItem *)

Public Member Functions

 QpListView (QWidget *parent, QpWindow *window, const char *name=0)
 ~QpListView ()
void setPageOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setFrameOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setTraceOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setEventOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setSpectrumOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setLegendOption (int option, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setAxisOption (int option, int axis=T_AXIS, int iChoice=0, float fChoice=0.0, QString sChoice="", bool bChoice=false, QColor cChoice=QColor(0, 0, 0))
void setPlotOption (int option, bool bChoice=false)
QString nextFrameName ()
QString nextPanelName ()
QpListItemlastChild () const
QpListItemgetDropTarget (QpListItem *dropAt, const string type)
void insertDragItem (QguListItem *dropAt, QguListItem *item)
 Method that inserts an item within the current list at dropAt. Used for drag and drop.
void insertEntries (QguListItem *dropAt, QguListItem *item)
 Method that inserts a new item at target dropAt in the current list view. Item takes WLcontext as its name.
QpListItemmakePlotItem (QpListItem *target, QString obj_name)
QpPlotItemmakePlot (QpListItem *target, QpItemType plotType, QpFrameType frameType=QP_TS, QString WL="")
QpFrameItemmakeXYFrame (QpPageItem *pageItem)
QpFrameItemmakeTSFrame (QpPageItem *pageItem)
QpPageItemmakePage ()
QpPanelItemmakePanel (QpFrameItem *frameItem)
QpTraceItemmakeTrace (QpPanelItem *panelItem, QString WL)
QpTraceItemmakeConstXTrace (QpPanelItem *panelItem, QString WL)
QpTraceItemmakeConstYTrace (QpPanelItem *panelItem, QString WL)
QpSpectrumItemmakeSpectrum (QpPanelItem *panelItem, QString WL)
QpEventItemmakeEvent (QpPanelItem *panelItem)
void makeMultiTraceItem (vector< int > &nTraces, vector< QpTraceItem * > &stack)
void plot ()
bool reNameItem (QpListItem *item)
void selectAll ()
 Method that selects all the items within the current list view and puts them on localList.
void setSelectedList (QguListItem *item)
 Method that sets the selected list (localList) to contain item and all its descendents.
void makeEmptyItem (QpItemType type)
bool findPItem (QpListItem *item)
void deleteItem (QpListItem *item)
void selectSomething ()
void removeLink (QpPlotItem *plot_item)
void linkTraceItems (vector< QpTraceItem * > stack, bool onceOnly)
void raisePlotWindow ()

Public Attributes

QTabWidget * tabWidget
vector< QpPageItem * > _plot_page_list
QpTabType I_LastTab
bool isLink
int LinkNumber

Protected Member Functions

virtual void contentsMouseReleaseEvent (QMouseEvent *event)
 Method that processes the mouse up event. It has been re-implemented from QListView.
virtual void contentsMouseDoubleClickEvent (QMouseEvent *event)
 Method that processes the mouse double-click event. It has been re-implemented from QListView.
void keyPressEvent (QKeyEvent *e)

Friends

class QpPageItem
class QpFrameItem
class QpPanelItem
class QpTraceItem
class QpSpectrumItem
class QpWindow


Constructor & Destructor Documentation

QpListView::QpListView ( QWidget *  parent,
QpWindow window,
const char *  name = 0 
)

QpListView::~QpListView (  )  [inline]


Member Function Documentation

void QpListView::contentsMouseDoubleClickEvent ( QMouseEvent *  event  )  [protected, virtual]

Method that processes the mouse double-click event. It has been re-implemented from QListView.

Method that processes the mouse double-click event. It has been re-implemented from Q3ListView.

Parameters:
event of type QMouseEvent *
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::contentsMouseReleaseEvent ( QMouseEvent *  event  )  [protected, virtual]

Method that processes the mouse up event. It has been re-implemented from QListView.

Method that processes the mouse up event. It has been re-implemented from Q3ListView.

Parameters:
event of type QMouseEvent *
Exceptions:
none 
Returns:
none

Reimplemented from QguListView.

void QpListView::deleteItem ( QpListItem item  ) 

void QpListView::deleteOneItem (  )  [slot]

void QpListView::deleteSelectedItems (  )  [slot]

void QpListView::dragEnterEvent ( QDragEnterEvent *  event  )  [virtual, slot]

Reimplemented from QguListView.

void QpListView::dropEvent ( QDropEvent *  event  )  [virtual, slot]

Event handler called when the drag is dropped on this list view. Re-implemented from QWidget. Drop uses dragList.

Parameters:
event of type QDropEvent *
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::emitStatusMsg ( const QString &  str  )  [inline, slot]

bool QpListView::findPItem ( QpListItem item  ) 

QpListItem * QpListView::getDropTarget ( QpListItem dropAt,
const string  type 
)

void QpListView::insertDragItem ( QguListItem dropAt,
QguListItem item 
) [virtual]

Method that inserts an item within the current list at dropAt. Used for drag and drop.

Parameters:
dropAtItem of type QguListItem *
item of type QguListItem *
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::insertEntries ( QguListItem dropAt,
QguListItem item 
) [virtual]

Method that inserts a new item at target dropAt in the current list view. Item takes WLcontext as its name.

Parameters:
dropAt of type QguListItem*
item of type QguListItem*
Exceptions:
none 
Returns:
None

Reimplemented from QguListView.

void QpListView::keyPressEvent ( QKeyEvent *  e  )  [protected]

QpListItem * QpListView::lastChild (  )  const

void QpListView::linkPlots (  )  [slot]

void QpListView::linkTraceItems ( vector< QpTraceItem * >  stack,
bool  onceOnly 
)

void QpListView::make2Panel_Item (  )  [slot]

void QpListView::make3Panel_Item (  )  [slot]

void QpListView::make4Panel_Item (  )  [slot]

void QpListView::makeC1234_Item (  )  [slot]

void QpListView::makeC1_2_3_4_Item (  )  [slot]

QpTraceItem * QpListView::makeConstXTrace ( QpPanelItem panelItem,
QString  WL 
)

void QpListView::makeConstXTraceItem (  )  [slot]

QpTraceItem * QpListView::makeConstYTrace ( QpPanelItem panelItem,
QString  WL 
)

void QpListView::makeConstYTraceItem (  )  [slot]

void QpListView::makeEmptyItem ( QpItemType  type  ) 

QpEventItem * QpListView::makeEvent ( QpPanelItem panelItem  ) 

void QpListView::makeEventItem (  )  [slot]

void QpListView::makeMultiTraceItem ( vector< int > &  nTraces,
vector< QpTraceItem * > &  stack 
)

QpPageItem * QpListView::makePage (  ) 

void QpListView::makePageItem (  )  [slot]

QpPanelItem * QpListView::makePanel ( QpFrameItem frameItem  ) 

void QpListView::makePanelItem (  )  [slot]

QpPlotItem * QpListView::makePlot ( QpListItem target,
QpItemType  plotType,
QpFrameType  frameType = QP_TS,
QString  WL = "" 
)

QpListItem * QpListView::makePlotItem ( QpListItem target,
QString  obj_name 
)

QpSpectrumItem * QpListView::makeSpectrum ( QpPanelItem panelItem,
QString  WL 
)

void QpListView::makeSpectrumItem (  )  [slot]

QpTraceItem * QpListView::makeTrace ( QpPanelItem panelItem,
QString  WL 
)

void QpListView::makeTraceItem (  )  [slot]

QpFrameItem * QpListView::makeTSFrame ( QpPageItem pageItem  ) 

void QpListView::makeTSFrameItem (  )  [slot]

void QpListView::makeVector_R_L_P_Item (  )  [slot]

void QpListView::makeVector_R_LP_Item (  )  [slot]

void QpListView::makeVector_R_T_P_Item (  )  [slot]

void QpListView::makeVector_R_TP_Item (  )  [slot]

void QpListView::makeVector_R_X_Y_Z_Item (  )  [slot]

void QpListView::makeVector_R_XYZ_Item (  )  [slot]

void QpListView::makeVector_RXYZ_Item (  )  [slot]

void QpListView::makeVector_X_Y_Z_Item (  )  [slot]

void QpListView::makeVector_XYZ_Item (  )  [slot]

QpFrameItem * QpListView::makeXYFrame ( QpPageItem pageItem  ) 

void QpListView::makeXYFrameItem (  )  [slot]

void QpListView::moveItemDown (  )  [slot]

Method that moves a selected item down within the current list view. Will move in and out of folders.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::moveItemUp (  )  [slot]

Method that moves a selected item up within the current list view. Moves in and out of folders.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

QString QpListView::nextFrameName (  ) 

QString QpListView::nextPanelName (  ) 

void QpListView::pageLayoutChanged ( QpPageItem  )  [signal]

void QpListView::plot (  ) 

void QpListView::plotCurrentItem (  )  [slot]

void QpListView::plotSelectedItems (  )  [slot]

void QpListView::raisePlotWindow (  ) 

void QpListView::refreshWLitems (  )  [slot]

void QpListView::removeLink ( QpPlotItem plot_item  ) 

bool QpListView::reNameItem ( QpListItem item  ) 

void QpListView::renameSelectedItem (  )  [slot]

Method that renames a selected item within the current list view. Launches dialog using QguListView::reNameItem().

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::rightButtonPressEvent ( Q_LIST_VIEW_ITEM *  item,
const QPoint &  P,
int  c 
) [virtual, slot]

void QpListView::selectAll (  ) 

Method that selects all the items within the current list view and puts them on localList.

Parameters:
None 
Exceptions:
None 
Returns:
None

Reimplemented from QguListView.

void QpListView::selectionModified (  )  [signal]

void QpListView::selectSomething (  ) 

void QpListView::setAxisOption ( int  option,
int  axis = T_AXIS,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setDefaultCurrentItem (  )  [slot]

void QpListView::setDefaultSelectedItems (  )  [slot]

void QpListView::setEventOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setFrameOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setFrameType ( int  frameType  )  [slot]

void QpListView::setLegendOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setPageLayout ( QpPageItem pageItem  )  [slot]

void QpListView::setPageOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setPlotOption ( int  option,
bool  bChoice = false 
)

void QpListView::setPlotType ( int  plotType  )  [slot]

void QpListView::setSelectedList ( QguListItem item  ) 

Method that sets the selected list (localList) to contain item and all its descendents.

Parameters:
item of type QguListItem *
Exceptions:
none 
Returns:
none

Reimplemented from QguListView.

void QpListView::setSpectrumOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::setTraceOption ( int  option,
int  iChoice = 0,
float  fChoice = 0.0,
QString  sChoice = "",
bool  bChoice = false,
QColor  cChoice = QColor(0, 0, 0) 
)

void QpListView::status_msg ( const QString &   )  [signal]

void QpListView::unlinkPlots (  )  [slot]

void QpListView::updateOnSelection (  )  [slot]


Friends And Related Function Documentation

friend class QpFrameItem [friend]

friend class QpPageItem [friend]

friend class QpPanelItem [friend]

friend class QpSpectrumItem [friend]

friend class QpTraceItem [friend]

friend class QpWindow [friend]


Member Data Documentation

QTabWidget* QpListView::tabWidget


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

Generated on Tue Dec 9 16:55:37 2008 for QSAS by  doxygen 1.5.7