"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/kdefrontend/dockwidgets/AxisDock.cpp" between
labplot-2.8.1.tar.gz and labplot-2.8.2.tar.gz

About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.

AxisDock.cpp  (labplot-2.8.1):AxisDock.cpp  (labplot-2.8.2)
skipping to change at line 1656 skipping to change at line 1656
axis->setMinorGridOpacity(opacity); axis->setMinorGridOpacity(opacity);
} }
//************************************************************* //*************************************************************
//************ SLOTs for changes triggered in Axis ************ //************ SLOTs for changes triggered in Axis ************
//************************************************************* //*************************************************************
void AxisDock::axisDescriptionChanged(const AbstractAspect* aspect) { void AxisDock::axisDescriptionChanged(const AbstractAspect* aspect) {
if (m_axis != aspect) if (m_axis != aspect)
return; return;
m_initializing = true; const Lock lock(m_initializing);
if (aspect->name() != ui.leName->text()) { if (aspect->name() != ui.leName->text())
ui.leName->setText(aspect->name()); ui.leName->setText(aspect->name());
} else if (aspect->comment() != ui.leComment->text()) { else if (aspect->comment() != ui.leComment->text())
ui.leComment->setText(aspect->comment()); ui.leComment->setText(aspect->comment());
}
m_initializing = false;
} }
void AxisDock::axisOrientationChanged(Axis::Orientation orientation) { void AxisDock::axisOrientationChanged(Axis::Orientation orientation) {
m_initializing = true; m_initializing = true;
ui.cbOrientation->setCurrentIndex(static_cast<int>(orientation)); ui.cbOrientation->setCurrentIndex(static_cast<int>(orientation));
m_initializing = false; m_initializing = false;
} }
void AxisDock::axisPositionChanged(Axis::Position position) { void AxisDock::axisPositionChanged(Axis::Position position) {
m_initializing = true; m_initializing = true;
 End of changes. 3 change blocks. 
5 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)