"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/kdefrontend/dockwidgets/WorksheetDock.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.

WorksheetDock.cpp  (labplot-2.8.1):WorksheetDock.cpp  (labplot-2.8.2)
skipping to change at line 87 skipping to change at line 87
layout->setHorizontalSpacing(2); layout->setHorizontalSpacing(2);
layout->setVerticalSpacing(2); layout->setVerticalSpacing(2);
} }
WorksheetDock::updateLocale(); WorksheetDock::updateLocale();
//SLOTs //SLOTs
//General //General
connect(ui.leName, &QLineEdit::textChanged, this, &WorksheetDock::nameCha nged); connect(ui.leName, &QLineEdit::textChanged, this, &WorksheetDock::nameCha nged);
connect(ui.leComment, &QLineEdit::textChanged, this, &WorksheetDock::comm entChanged); connect(ui.leComment, &QLineEdit::textChanged, this, &WorksheetDock::comm entChanged);
connect(ui.cbSize, static_cast<void (QComboBox::*)(int)>(&QComboBox::curr entIndexChanged), connect(ui.cbSize, QOverload<int>::of(&QComboBox::currentIndexChanged),
this, static_cast<void (WorksheetDock::*)(int)>(&Workshe etDock::sizeChanged)); this, static_cast<void (WorksheetDock::*)(int)>(&Workshe etDock::sizeChanged));
connect(ui.sbWidth, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubl eSpinBox::valueChanged), connect(ui.sbWidth, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubl eSpinBox::valueChanged),
this, static_cast<void (WorksheetDock::*)()>(&WorksheetDo ck::sizeChanged)); this, static_cast<void (WorksheetDock::*)()>(&WorksheetDo ck::sizeChanged));
connect(ui.sbHeight, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoub leSpinBox::valueChanged), connect(ui.sbHeight, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoub leSpinBox::valueChanged),
this, static_cast<void (WorksheetDock::*)()>(&WorksheetD ock::sizeChanged)); this, static_cast<void (WorksheetDock::*)()>(&WorksheetD ock::sizeChanged));
connect(ui.cbOrientation, static_cast<void (QComboBox::*)(int)>(&QComboBo x::currentIndexChanged), connect(ui.cbOrientation, QOverload<int>::of(&QComboBox::currentIndexChan ged),
this, &WorksheetDock::orientationChanged); this, &WorksheetDock::orientationChanged);
//Background //Background
connect(ui.cbBackgroundType, static_cast<void (QComboBox::*)(int)>(&QComb oBox::currentIndexChanged), connect(ui.cbBackgroundType, QOverload<int>::of(&QComboBox::currentIndexC hanged),
this, &WorksheetDock::backgroundTypeChanged); this, &WorksheetDock::backgroundTypeChanged);
connect(ui.cbBackgroundColorStyle, static_cast<void (QComboBox::*)(int)>( &QComboBox::currentIndexChanged), connect(ui.cbBackgroundColorStyle, QOverload<int>::of(&QComboBox::current IndexChanged),
this, &WorksheetDock::backgroundColorStyleChanged); this, &WorksheetDock::backgroundColorStyleChanged);
connect(ui.cbBackgroundImageStyle, static_cast<void (QComboBox::*)(int)>( &QComboBox::currentIndexChanged), connect(ui.cbBackgroundImageStyle, QOverload<int>::of(&QComboBox::current IndexChanged),
this, &WorksheetDock::backgroundImageStyleChanged); this, &WorksheetDock::backgroundImageStyleChanged);
connect(ui.cbBackgroundBrushStyle, static_cast<void (QComboBox::*)(int)>( &QComboBox::currentIndexChanged), connect(ui.cbBackgroundBrushStyle, QOverload<int>::of(&QComboBox::current IndexChanged),
this, &WorksheetDock::backgroundBrushStyleChanged); this, &WorksheetDock::backgroundBrushStyleChanged);
connect(ui.bOpen, &QPushButton::clicked, this, &WorksheetDock::selectFile ); connect(ui.bOpen, &QPushButton::clicked, this, &WorksheetDock::selectFile );
connect(ui.leBackgroundFileName, &QLineEdit::returnPressed, this, &Worksh eetDock::fileNameChanged); connect(ui.leBackgroundFileName, &QLineEdit::returnPressed, this, &Worksh eetDock::fileNameChanged);
connect(ui.leBackgroundFileName, &QLineEdit::textChanged, this, &Workshee tDock::fileNameChanged); connect(ui.leBackgroundFileName, &QLineEdit::textChanged, this, &Workshee tDock::fileNameChanged);
connect(ui.kcbBackgroundFirstColor, &KColorButton::changed, this, &Worksh eetDock::backgroundFirstColorChanged); connect(ui.kcbBackgroundFirstColor, &KColorButton::changed, this, &Worksh eetDock::backgroundFirstColorChanged);
connect(ui.kcbBackgroundSecondColor, &KColorButton::changed, this, &Works heetDock::backgroundSecondColorChanged); connect(ui.kcbBackgroundSecondColor, &KColorButton::changed, this, &Works heetDock::backgroundSecondColorChanged);
connect(ui.sbBackgroundOpacity, static_cast<void (QSpinBox::*)(int)>(&QSp inBox::valueChanged), connect(ui.sbBackgroundOpacity, static_cast<void (QSpinBox::*)(int)>(&QSp inBox::valueChanged),
this, &WorksheetDock::backgroundOpacityChanged); this, &WorksheetDock::backgroundOpacityChanged);
//Layout //Layout
connect(ui.cbLayout, static_cast<void (QComboBox::*)(int)>(&QComboBox::cu rrentIndexChanged), connect(ui.cbLayout, QOverload<int>::of(&QComboBox::currentIndexChanged),
this, &WorksheetDock::layoutChanged); this, &WorksheetDock::layoutChanged);
connect( ui.chScaleContent, &QCheckBox::clicked, this, &WorksheetDock::sc aleContentChanged); connect( ui.chScaleContent, &QCheckBox::clicked, this, &WorksheetDock::sc aleContentChanged);
connect( ui.sbLayoutTopMargin, static_cast<void (QDoubleSpinBox::*)(doubl e)>(&QDoubleSpinBox::valueChanged), connect( ui.sbLayoutTopMargin, static_cast<void (QDoubleSpinBox::*)(doubl e)>(&QDoubleSpinBox::valueChanged),
this, &WorksheetDock::layoutTopMarginChanged); this, &WorksheetDock::layoutTopMarginChanged);
connect( ui.sbLayoutBottomMargin, static_cast<void (QDoubleSpinBox::*)(do uble)>(&QDoubleSpinBox::valueChanged), connect( ui.sbLayoutBottomMargin, static_cast<void (QDoubleSpinBox::*)(do uble)>(&QDoubleSpinBox::valueChanged),
this, &WorksheetDock::layoutBottomMarginChanged); this, &WorksheetDock::layoutBottomMarginChanged);
connect( ui.sbLayoutLeftMargin, static_cast<void (QDoubleSpinBox::*)(doub le)>(&QDoubleSpinBox::valueChanged), connect( ui.sbLayoutLeftMargin, static_cast<void (QDoubleSpinBox::*)(doub le)>(&QDoubleSpinBox::valueChanged),
this, &WorksheetDock::layoutLeftMarginChanged); this, &WorksheetDock::layoutLeftMarginChanged);
connect( ui.sbLayoutRightMargin, static_cast<void (QDoubleSpinBox::*)(dou ble)>(&QDoubleSpinBox::valueChanged), connect( ui.sbLayoutRightMargin, static_cast<void (QDoubleSpinBox::*)(dou ble)>(&QDoubleSpinBox::valueChanged),
this, &WorksheetDock::layoutRightMarginChanged); this, &WorksheetDock::layoutRightMarginChanged);
 End of changes. 7 change blocks. 
7 lines changed or deleted 7 lines changed or added

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