#include <channelcolorspage.h>
Public Slots | |
void | chooseColor (int row, int column, int button) |
void | propertyModified () |
void | resetModificationStatus () |
Public Member Functions | |
ChannelColorsPage (QWidget *parent=0, const char *name=0) | |
void | setNbChannels (int nbChannels) |
void | getColors (QValueList< ChannelColors > &colors) |
void | setColors (QValueList< ChannelColors > &colors) |
bool | isModified () const |
void ChannelColorsPage::setNbChannels | ( | int | nbChannels | ) | [inline] |
Sets the number of channels, creating the correspondent number of lines in the table.
nbChannels | number of channels. |
void ChannelColorsPage::getColors | ( | QValueList< ChannelColors > & | colors | ) |
Returns the colors associated with the channels.
colors | list of ChannelColors given the 3 color used by each channel. |
void ChannelColorsPage::setColors | ( | QValueList< ChannelColors > & | colors | ) |
Sets the colors associated with the channels.
colors | list of ChannelColors given the 3 color used by each channel. |
bool ChannelColorsPage::isModified | ( | ) | const [inline] |
True if at least one property has been modified, false otherwise.
void ChannelColorsPage::chooseColor | ( | int | row, | |
int | column, | |||
int | button | |||
) | [slot] |
Will be called when the user wants to change a channel color.
row | row in the table corresponding to the channel color to modified. | |
column | rcolumn in the table corresponding to the type of channel color to modified. | |
button | mouse button which has been pressed.. |
void ChannelColorsPage::propertyModified | ( | ) | [inline, slot] |
Will be called when any properties is modified.
void ChannelColorsPage::resetModificationStatus | ( | ) | [inline, slot] |
Resets the internal modification status to false.