解决多次改变“自定义色调曲线”设置需手动重置后才能生效的问题;BUG-851
This commit is contained in:
parent
a818471b33
commit
c5d2e05360
|
@ -1,4 +1,4 @@
|
|||
#include "widget.h"
|
||||
#include "widget.h"
|
||||
#include "ui_widget.h"
|
||||
#include "gaosixy.h"
|
||||
#include <iostream>
|
||||
|
@ -37,6 +37,7 @@ Widget::~Widget()
|
|||
void Widget::setLstPnt_RGB(const QList<QPoint> &plst)
|
||||
{
|
||||
rgbLine = QList<QPoint>(plst);
|
||||
drawLineFromPoint(rgbLine, RGB);
|
||||
}
|
||||
|
||||
QList<QPoint> Widget::getLstPnt_RGB() const
|
||||
|
@ -47,11 +48,13 @@ QList<QPoint> Widget::getLstPnt_RGB() const
|
|||
void Widget::setLstPnt_RED(const QList<QPoint> &plst)
|
||||
{
|
||||
redLine = QList<QPoint>(plst);
|
||||
drawLineFromPoint(redLine, RED);
|
||||
}
|
||||
|
||||
void Widget::setLstPnt_BLUE(const QList<QPoint> &plst)
|
||||
{
|
||||
blueLine = QList<QPoint>(plst);
|
||||
drawLineFromPoint(blueLine, BLUE);
|
||||
}
|
||||
|
||||
QList<QPoint> Widget::getLstPnt_BLUE() const
|
||||
|
@ -62,6 +65,7 @@ QList<QPoint> Widget::getLstPnt_BLUE() const
|
|||
void Widget::setLstPnt_GREEN(const QList<QPoint> &plst)
|
||||
{
|
||||
greenLine = QList<QPoint>(plst);
|
||||
drawLineFromPoint(greenLine, GREEN);
|
||||
}
|
||||
|
||||
QList<QPoint> Widget::getLstPnt_GREEN() const
|
||||
|
@ -72,6 +76,7 @@ QList<QPoint> Widget::getLstPnt_GREEN() const
|
|||
void Widget::setLstPnt_GRAY(const QList<QPoint> &plst)
|
||||
{
|
||||
grayLine = QList<QPoint>(plst);
|
||||
drawLineFromPoint(grayLine, GRAY);
|
||||
}
|
||||
|
||||
QList<QPoint> Widget::getLstPnt_GRAY() const
|
||||
|
|
Loading…
Reference in New Issue