Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CChannelEditorDlg Class Reference

Complete dialog that handles setting up the channels for a TV tuner card. More...

#include <ChannelEditorDlg.h>

Inheritance diagram for CChannelEditorDlg:

CChannelEditor List of all members.

Signals

Public Member Functions

Protected Slots


Detailed Description

Complete dialog that handles setting up the channels for a TV tuner card.


Constructor & Destructor Documentation

CChannelEditorDlg::CChannelEditorDlg QWidget *  parent = 0,
const char *  name = 0
 


Member Function Documentation

void CChannelEditorDlg::ColorSystemChanged int  color  )  [protected, virtual, slot]
 

Helper slot for Color System dropdown box.

When the user select a new color system (a.k.a. 'norm') from the drop down box, this will set that norm in the current channel (if any). It also emits a NewColorSystem signal.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::DeleteClicked  )  [protected, virtual, slot]
 

Helper slot for "Delete" button.

Removes the current entry and selects the next (or previous in case of end-of-list) entry, or 0 if it was the last one.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::DownClicked  )  [protected, virtual, slot]
 

Move channel 'down' (later in list).

Reimplemented from CChannelEditor.

void CChannelEditorDlg::FinetuningMoved int  offset  )  [protected, virtual, slot]
 

Helper slot for the finetuning slider.

For finetuning the frequency of the current TV channel (preset)

Also emits new frequency.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::FrequencySystemChanged int  table  )  [protected, virtual, slot]
 

Helper slot for the Frequency system dropdown box.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::NameChanged const QString &  new_name  )  [protected, virtual, slot]
 

Helper slot for the Name linedit box.

Called whenever the user types something in the Name box (which contains the name of the channel)

Reimplemented from CChannelEditor.

void CChannelEditorDlg::NewClicked  )  [protected, virtual, slot]
 

Slot for when user clicked on "New...".

This will create a new entry and append it to the list of channel presets. A new entry will be based on the current channel (if any)

Reimplemented from CChannelEditor.

void CChannelEditorDlg::NewColorSystem TVChannel::TunerNorms  norm  )  [signal]
 

void CChannelEditorDlg::NewCurrentChannel  )  [signal]
 

void CChannelEditorDlg::NewFrequency float  frequency  )  [signal]
 

Signal that emits a newly set frequency.

Parameters:
frequency Tuned frequency, in Hz
When a new preset is selected, or the system channel or finetuning is adjusted, a new frequency is emitted. This allows decoupling of the ChannelEditorDialog from the real device.

The frequency is emitted as a float, in Hz. So for MHz, divide by 1,000,000

void CChannelEditorDlg::PresetClicked QListViewItem *  lvi  )  [protected, virtual, slot]
 

Helper slot for Preset list view.

Called when an item in the Preset listview is clicked. It will set the current TVChannel pointer belonging to the entry.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::SetTVChannels QList< TVChannel > *  tv_channels  ) 
 

void CChannelEditorDlg::SystemChannelClicked int  channel  )  [protected, virtual, slot]
 

Helper slot for the system channel listview box.

Called when the user selects one of the entries in the list of system channels systembox; this are the pre-programmed channels in the current frequency grid (not to be confused with the Preset list, which is the list of TV channels that the user programs).

Also emits new frequency.

Reimplemented from CChannelEditor.

void CChannelEditorDlg::UpClicked  )  [protected, virtual, slot]
 

Move channel 'up' (earlier in list).

Reimplemented from CChannelEditor.


The documentation for this class was generated from the following files:
Generated on Wed Dec 13 23:38:47 2006 for CamStream by doxygen 1.3.7