PositionProperties Class Reference

Class representing the NeuroScope position preferences tab contained in the preferences or properties dialogs. More...

#include <positionproperties.h>

List of all members.

Public Slots

void setEnabled (bool state)
 Sets whether the widget is enabled.
void setEnabled (bool state)
 Sets whether the widget is enabled.

Public Member Functions

 PositionProperties (QWidget *parent=0, const char *name=0)
void setSamplingRate (double rate)
 Sets the video acquisition sampling rate.
void setWidth (int width)
 Sets the video image width.
void setHeight (int height)
 Sets the video image height.
void setBackgroundImage (QString image)
 Sets the background image.
void setPositionsBackground (bool draw)
 All the positions contained in a position file can be used to create a background image for the PositionView.
void setRotation (int angle)
 Sets the video image rotation angle.
void setFlip (int orientation)
 Sets the video image flip orientation.
double getSamplingRate () const
 Returns the video acquisition sampling rate.
int getWidth () const
 Returns the video image width.
int getHeight () const
 Returns the video image height.
QString getBackgroundImage () const
 Returns the background image.
bool getPositionsBackground () const
 All the positions contained in a position file can be used to create a background image for the PositionView.
int getRotation () const
 Returns the video image rotation angle.
int getFlip () const
 Returns the video image flip orientation.
 PositionProperties (QWidget *parent=0, const char *name=0)
void setSamplingRate (double rate)
 Sets the video acquisition sampling rate.
void setWidth (int width)
 Sets the video image width.
void setHeight (int height)
 Sets the video image height.
void setBackgroundImage (QString image)
 Sets the background image.
void setPositionsBackground (bool draw)
 All the positions contained in a position file can be used to create a background image for the PositionView.
void setRotation (int angle)
 Sets the video image rotation angle.
void setFlip (int orientation)
 Sets the video image flip orientation.
double getSamplingRate () const
 Returns the video acquisition sampling rate.
int getWidth () const
 Returns the video image width.
int getHeight () const
 Returns the video image height.
QString getBackgroundImage () const
 Returns the background image.
bool getPositionsBackground () const
 All the positions contained in a position file can be used to create a background image for the PositionView.
int getRotation () const
 Returns the video image rotation angle.
int getFlip () const
 Returns the video image flip orientation.


Detailed Description

Class representing the NeuroScope position preferences tab contained in the preferences or properties dialogs.

Author:
Lynn Hazan


Member Function Documentation

void PositionProperties::setPositionsBackground ( bool  draw  )  [inline]

All the positions contained in a position file can be used to create a background image for the PositionView.

This function sets if such background has to be created.

void PositionProperties::setFlip ( int  orientation  )  [inline]

Sets the video image flip orientation.

0 stands for none, 1 for vertical and 2 for horizontal.

bool PositionProperties::getPositionsBackground (  )  const [inline]

All the positions contained in a position file can be used to create a background image for the PositionView.

The value return by this function tells if such background has to be created.

Returns:
true if the all the positions contain in the position file have to be drawn on the background, false otherwise.

int PositionProperties::getFlip (  )  const [inline]

Returns the video image flip orientation.

0 stands for none, 1 for vertical and 2 for horizontal.

void PositionProperties::setEnabled ( bool  state  )  [inline, slot]

Sets whether the widget is enabled.

Parameters:
state true if the widget is enable, false otherwise.

void PositionProperties::setPositionsBackground ( bool  draw  )  [inline]

All the positions contained in a position file can be used to create a background image for the PositionView.

This function sets if such background has to be created.

void PositionProperties::setFlip ( int  orientation  )  [inline]

Sets the video image flip orientation.

0 stands for none, 1 for vertical and 2 for horizontal.

bool PositionProperties::getPositionsBackground (  )  const [inline]

All the positions contained in a position file can be used to create a background image for the PositionView.

The value return by this function tells if such background has to be created.

Returns:
true if the all the positions contain in the position file have to be drawn on the background, false otherwise.

int PositionProperties::getFlip (  )  const [inline]

Returns the video image flip orientation.

0 stands for none, 1 for vertical and 2 for horizontal.

void PositionProperties::setEnabled ( bool  state  )  [inline, slot]

Sets whether the widget is enabled.

Parameters:
state true if the widget is enable, false otherwise.


The documentation for this class was generated from the following files:
Generated on Mon Sep 17 20:47:34 2007 for NeuroScope by  doxygen 1.5.1