"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/worksheet/plots/cartesian/ReferenceLine.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.

ReferenceLine.cpp  (labplot-2.8.1):ReferenceLine.cpp  (labplot-2.8.2)
skipping to change at line 99 skipping to change at line 99
QIcon ReferenceLine::icon() const { QIcon ReferenceLine::icon() const {
return QIcon::fromTheme(QLatin1String("draw-line")); return QIcon::fromTheme(QLatin1String("draw-line"));
} }
void ReferenceLine::initActions() { void ReferenceLine::initActions() {
visibilityAction = new QAction(i18n("Visible"), this); visibilityAction = new QAction(i18n("Visible"), this);
visibilityAction->setCheckable(true); visibilityAction->setCheckable(true);
connect(visibilityAction, &QAction::triggered, this, &ReferenceLine::visi bilityChangedSlot); connect(visibilityAction, &QAction::triggered, this, &ReferenceLine::visi bilityChangedSlot);
//Orientation //Orientation
orientationActionGroup = new QActionGroup(this); auto* orientationActionGroup = new QActionGroup(this);
orientationActionGroup->setExclusive(true); orientationActionGroup->setExclusive(true);
connect(orientationActionGroup, &QActionGroup::triggered, this, &Referenc eLine::orientationChangedSlot); connect(orientationActionGroup, &QActionGroup::triggered, this, &Referenc eLine::orientationChangedSlot);
orientationHorizontalAction = new QAction(QIcon::fromTheme(QLatin1String( "labplot-axis-horizontal")), i18n("Horizontal"), orientationActionGroup); orientationHorizontalAction = new QAction(QIcon::fromTheme(QLatin1String( "labplot-axis-horizontal")), i18n("Horizontal"), orientationActionGroup);
orientationHorizontalAction->setCheckable(true); orientationHorizontalAction->setCheckable(true);
orientationVerticalAction = new QAction(QIcon::fromTheme(QLatin1String("l abplot-axis-vertical")), i18n("Vertical"), orientationActionGroup); orientationVerticalAction = new QAction(QIcon::fromTheme(QLatin1String("l abplot-axis-vertical")), i18n("Vertical"), orientationActionGroup);
orientationVerticalAction->setCheckable(true); orientationVerticalAction->setCheckable(true);
//Line //Line
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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