Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
c96a2ff9
Commit
c96a2ff9
authored
Aug 13, 2020
by
Alexander Semke
Browse files
Improved and unified the layout in the setting dialogs for the different
backend systems.
parent
d90c425c
Pipeline
#30501
passed with stage
in 19 minutes and 27 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/backends/R/settings.ui
View file @
c96a2ff9
...
...
@@ -6,33 +6,36 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
41
4
</width>
<height>
231
</height>
<width>
41
6
</width>
<height>
380
</height>
</rect>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"toolTip"
>
<string/>
</property>
<property
name=
"text"
>
<string>
Path to local documentation:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
native=
"true"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
</layout>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"toolTip"
>
<string/>
</property>
<property
name=
"text"
>
<string>
Documentation:
</string>
</property>
</widget>
</item>
<item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"lPlotIntegration"
>
<property
name=
"text"
>
<string>
Plot Integration:
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
rowspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_integratePlots"
>
<property
name=
"toolTip"
>
<string>
If enabled, plots will be shown inside of the worksheet. Otherwise, plots will be shown in an external window.
</string>
...
...
@@ -42,7 +45,14 @@
</property>
</widget>
</item>
<item>
<item
row=
"2"
column=
"0"
rowspan=
"2"
>
<widget
class=
"QLabel"
name=
"lVariableManagement"
>
<property
name=
"text"
>
<string>
Variable Management:
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"kcfg_variableManagement"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel.
</string>
...
...
@@ -52,7 +62,23 @@
</property>
</widget>
</item>
<item>
<item
row=
"4"
column=
"0"
>
<spacer
name=
"verticalSpacer_3"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Fixed
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"5"
column=
"0"
colspan=
"2"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"toolTip"
>
<string>
Commands to automatically run on start. They can be useful for loading needed modules, changing environment, etc.
</string>
...
...
@@ -62,7 +88,7 @@
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayoutScripts"
>
<item>
<widget
class=
"KEditListWidget"
name=
"kcfg_autorunScripts"
native=
"true"
/>
<widget
class=
"KEditListWidget"
name=
"kcfg_autorunScripts"
/>
</item>
</layout>
</widget>
...
...
@@ -74,6 +100,7 @@
<class>
KUrlRequester
</class>
<extends>
QWidget
</extends>
<header>
kurlrequester.h
</header>
<container>
1
</container>
</customwidget>
<customwidget>
<class>
KEditListWidget
</class>
...
...
src/backends/julia/settings.ui
View file @
c96a2ff9
...
...
@@ -10,114 +10,76 @@
<height>
227
</height>
</rect>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Path to Julia:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_replPath"
/>
</item>
</layout>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
rowspan=
"2"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Path to Julia:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"kcfg_integratePlots"
>
<property
name=
"toolTip"
>
<string>
If enabled, plots will be shown inside of the worksheet. Otherwise, plots will be shown in an external window.
</string>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QLabel"
name=
"lPlotIntegration"
>
<property
name=
"text"
>
<string>
Plot Integration:
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"lVariableManagement"
>
<property
name=
"text"
>
<string>
Variable Management:
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Inte
grate Plots in Worksheet
</string>
<string>
Inte
rnal Plot Format:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"Q
CheckBox"
name=
"kcfg_variableManagement
"
>
<item
row=
"5"
column=
"0"
colspan=
"2"
>
<widget
class=
"Q
Label"
name=
"label3
"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel
.
</string>
<string>
Graphic package, which code will be used for plotting via
"
Plot
"
Cantor menu
.
</string>
</property>
<property
name=
"text"
>
<string>
Enable Variable Manageme
nt
</string>
<string>
Graphic Package for
"
Plot
"
-assista
nt
</string>
</property>
</widget>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout2"
>
<item
row=
"5"
column=
"2"
>
<widget
class=
"KComboBox"
name=
"kcfg_plotExtenstionGraphicPackage"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<item>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Inline Plots Intermediate Format:
</string>
</property>
</widget>
<property
name=
"text"
>
<string>
GR
</string>
</property>
</item>
<item>
<widget
class=
"QComboBox"
name=
"kcfg_inlinePlotFormat"
>
<property
name=
"toolTip"
>
<string>
Inner format of plots, if plots embedding is enabled.
</string>
</property>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
svg
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
png
</string>
</property>
</item>
</widget>
<property
name=
"text"
>
<string>
Plots
</string>
</property>
</item>
</layout>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout3"
>
<item>
<widget
class=
"QLabel"
name=
"label3"
>
<property
name=
"toolTip"
>
<string>
Graphic package, which code will be used for plotting via
"
Plot
"
Cantor menu.
</string>
</property>
<property
name=
"text"
>
<string>
Preferred package for the
"
Plot
"
menu:
</string>
</property>
</widget>
<property
name=
"text"
>
<string>
PyPlot
</string>
</property>
</item>
<item>
<widget
class=
"KComboBox"
name=
"kcfg_plotExtenstionGraphicPackage"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<item>
<property
name=
"text"
>
<string>
GR
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
Plots
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
PyPlot
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
Gadfly
</string>
</property>
</item>
</widget>
<property
name=
"text"
>
<string>
Gadfly
</string>
</property>
</item>
</
layou
t>
</
widge
t>
</item>
<item>
<item
row=
"6"
column=
"0"
>
<spacer
name=
"verticalSpacer1"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
@@ -130,6 +92,46 @@
</property>
</spacer>
</item>
<item
row=
"4"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"kcfg_inlinePlotFormat"
>
<property
name=
"toolTip"
>
<string>
Inner format of plots, if plots embedding is enabled.
</string>
</property>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
svg
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
png
</string>
</property>
</item>
</widget>
</item>
<item
row=
"3"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_variableManagement"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel.
</string>
</property>
<property
name=
"text"
>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
rowspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_integratePlots"
>
<property
name=
"toolTip"
>
<string>
If enabled, plots will be shown inside of the worksheet. Otherwise, plots will be shown in an external window.
</string>
</property>
<property
name=
"text"
>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"2"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_replPath"
/>
</item>
</layout>
</widget>
<customwidgets>
...
...
@@ -140,7 +142,7 @@
</customwidget>
<customwidget>
<class>
KUrlRequester
</class>
<extends>
Q
Frame
</extends>
<extends>
Q
Widget
</extends>
<header>
kurlrequester.h
</header>
<container>
1
</container>
</customwidget>
...
...
src/backends/maxima/settings.ui
View file @
c96a2ff9
...
...
@@ -6,64 +6,29 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
4
14
</width>
<height>
241
</height>
<width>
4
62
</width>
<height>
486
</height>
</rect>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Path to Maxima:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_Path"
/>
</item>
</layout>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout1"
>
<item>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Path to local documentation:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_integratePlots"
>
<property
name=
"toolTip"
>
<string>
If enabled, plots will be shown inside of the worksheet. Otherwise, plots will be shown in an external window.
</string>
</property>
<property
name=
"text"
>
<string>
Integrate Plots in Worksheet
</string>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"kcfg_variableManagement"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel.
</string>
</property>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Enable Variable Management
</string>
<string>
Documentation:
</string>
</property>
</widget>
</item>
<item>
<item
row=
"5"
column=
"0"
colspan=
"3"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"toolTip"
>
<string>
Commands to automatically run on start. They can be useful for loading needed modules, changing environment, etc.
</string>
...
...
@@ -73,12 +38,35 @@
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayoutScripts"
>
<item>
<widget
class=
"KEditListWidget"
name=
"kcfg_autorunScripts"
native=
"true"
/>
<widget
class=
"KEditListWidget"
name=
"kcfg_autorunScripts"
/>
</item>
</layout>
</widget>
</item>
<item>
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Executable:
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"1"
>
<spacer
name=
"verticalSpacer_3"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Fixed
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"6"
column=
"0"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
@@ -91,12 +79,46 @@
</property>
</spacer>
</item>
<item
row=
"3"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_variableManagement"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel.
</string>
</property>
<property
name=
"text"
>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"2"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_Path"
/>
</item>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"lPlotIntegration"
>
<property
name=
"text"
>
<string>
Plot Integration:
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"lVariableManagement"
>
<property
name=
"text"
>
<string>
Variable Management:
</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>
KUrlRequester
</class>
<extends>
Q
Frame
</extends>
<extends>
Q
Widget
</extends>
<header>
kurlrequester.h
</header>
<container>
1
</container>
</customwidget>
...
...
src/backends/octave/settings.ui.in
View file @
c96a2ff9
...
...
@@ -6,96 +6,113 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
4
00
</width>
<height>
300
</height>
<width>
4
16
</width>
<height>
499
</height>
</rect>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Path to Octave:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_Path"
/>
</item>
</layout>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Executable:
</string>
</property>
</widget>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Path to local documentation:
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
</layout>
<item
row=
"0"
column=
"2"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_Path"
/>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label2"
>
<property
name=
"text"
>
<string>
Documentation:
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"KUrlRequester"
name=
"kcfg_localDoc"
>
<property
name=
"toolTip"
>
<string>
If empty, the
"
Show help
"
action will show the default online documentation. Otherwise, the specified URL will be opened.
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"lPlotIntegration"
>
<property
name=
"text"
>
<string>
Plot Integration:
</string>
</property>
</widget>
</item>
<item>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_integratePlots"
>
<property
name=
"toolTip"
>
<string>
If enabled, plots will be shown inside of the worksheet. Otherwise, plots will be shown in an external window.
</string>
</property>
<property
name=
"text"
>
<string>
Integrate Plots in Worksheet
</string>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"lVariableManagement"
>
<property
name=
"text"
>
<string>
Variable Management:
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"kcfg_variableManagement"
>
<property
name=
"toolTip"
>
<string>
Monitor the creation and destruction of variables and show the existing variables in the variable panel.
</string>
</property>
<property
name=
"text"
>
<string>
Enable Variable Management
</string>
<string>
Enabled
</string>
</property>
</widget>
</item>
<item
row=
"4"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"text"
>
<string>
Internal Plot Format:
</string>
</property>
</widget>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item
row=
"4"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"kcfg_inlinePlotFormat"
>
<item>
<property
name=
"text"
>
<string
notr=
"true"
>
png
</string>
</property>
</item>
<item>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"text"
>
<string>
Inline Plots Intermediate Format:
</string>
</property>
</widget>
<property
name=
"text"
>
<string
notr=
"true"
>
svg
</string>