mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
MSVC: Fix warning C4138: '*/' found outside of comment
This commit is contained in:
parent
6ef70f7b55
commit
fac3bd744d
@ -861,27 +861,27 @@ void JKQTPgraphErrors::intPlotXYErrorIndicators(JKQTPEnhancedPainter& painter, J
|
||||
//std::cout<<"end\n";
|
||||
}
|
||||
|
||||
bool JKQTPgraphErrors::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter */*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long /*index*/, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
bool JKQTPgraphErrors::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter * /*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long /*index*/, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getXErrorU(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getXErrorU(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getXErrorL(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getXErrorL(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getYErrorU(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getYErrorU(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getYErrorL(int/* i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getYErrorL(int/* i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
@ -4348,7 +4348,7 @@ void JKQtBasePlotter::getDataColumnsByUserComboBoxSelected(const QString &name)
|
||||
}
|
||||
}
|
||||
|
||||
void JKQtBasePlotter::getDataColumnsByUserItemChanged(QListWidgetItem */*widgetitem*/) {
|
||||
void JKQtBasePlotter::getDataColumnsByUserItemChanged(QListWidgetItem * /*widgetitem*/) {
|
||||
if (!dataColumnsListWidget) return;
|
||||
QStringList data;
|
||||
for (int i=0; i<dataColumnsListWidget->count(); i++) {
|
||||
|
@ -1690,7 +1690,7 @@ void JKQTPxyParametrizedErrorScatterGraph::drawErrorsBefore(JKQTPEnhancedPainter
|
||||
else plotErrorIndicators(painter, parent, xAxis, yAxis, xColumn, yColumn, datarange_start, datarange_end, 0, 0, &sortedIndices);
|
||||
}
|
||||
|
||||
bool JKQTPxyParametrizedErrorScatterGraph::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter */*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long index, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
bool JKQTPxyParametrizedErrorScatterGraph::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter * /*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long index, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
{
|
||||
QColor c=getLocalColor(index);
|
||||
errorColor=c.darker();
|
||||
|
@ -2506,7 +2506,7 @@ void JKQTPColumnRGBMathImage::ensureImageData()
|
||||
this->dataModifier=parent->getDatastore()->getColumn(modifierColumn).getPointer(0);
|
||||
}
|
||||
|
||||
JKQTPImageModifierModeComboBox::JKQTPImageModifierModeComboBox(QWidget */*parent*/)
|
||||
JKQTPImageModifierModeComboBox::JKQTPImageModifierModeComboBox(QWidget * /*parent*/)
|
||||
{
|
||||
addMode(JKQTPMathImageBase::ModifyNone, tr("none"));
|
||||
addMode(JKQTPMathImageBase::ModifyValue, tr("value"));
|
||||
|
@ -573,15 +573,15 @@ void JKQtPlotter::update_overlays() {
|
||||
update();
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeXAxis(double newxmin, double newxmax, double /*newymin*/, double /*newymax*/, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeXAxis(double newxmin, double newxmax, double /*newymin*/, double /*newymax*/, JKQtPlotter * /*sender*/) {
|
||||
setX(newxmin, newxmax);
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeYAxis(double /*newxmin*/, double /*newxmax*/, double newymin, double newymax, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeYAxis(double /*newxmin*/, double /*newxmax*/, double newymin, double newymax, JKQtPlotter * /*sender*/) {
|
||||
setY(newymin, newymax);
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeXYAxis(double newxmin, double newxmax, double newymin, double newymax, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeXYAxis(double newxmin, double newxmax, double newymin, double newymax, JKQtPlotter * /*sender*/) {
|
||||
setXY(newxmin, newxmax, newymin, newymax);
|
||||
}
|
||||
|
||||
@ -729,7 +729,7 @@ void JKQtPlotter::delayedResizeEvent()
|
||||
if (sizeChanged) update_plot();
|
||||
}
|
||||
|
||||
void JKQtPlotter::leaveEvent(QEvent */*event*/) {
|
||||
void JKQtPlotter::leaveEvent(QEvent * /*event*/) {
|
||||
if (!toolbarAlwaysOn) toolbar->hide();
|
||||
}
|
||||
|
||||
@ -829,7 +829,7 @@ bool JKQtPlotter::get_zoomByMouseRectangle() const {
|
||||
return (mouseActionMode==JKQtPlotter::ZoomRectangle);
|
||||
}
|
||||
|
||||
void JKQtPlotter::modifyContextMenu(QMenu */*menu*/)
|
||||
void JKQtPlotter::modifyContextMenu(QMenu * /*menu*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user