Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GeoModelDev
GeoModel
Commits
19ff6634
Commit
19ff6634
authored
3 years ago
by
Raees Khan
Browse files
Options
Downloads
Patches
Plain Diff
Getting rid of Shape extensions tab and adding mag field map browse button
parent
069d141e
No related branches found
No related tags found
1 merge request
!137
Fsl user actions
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
FSL/src/fsl_mainwindow.cpp
+31
-22
31 additions, 22 deletions
FSL/src/fsl_mainwindow.cpp
FSL/src/fsl_mainwindow.h
+9
-8
9 additions, 8 deletions
FSL/src/fsl_mainwindow.h
FSL/src/fsl_mainwindow.ui
+23
-94
23 additions, 94 deletions
FSL/src/fsl_mainwindow.ui
with
63 additions
and
124 deletions
FSL/src/fsl_mainwindow.cpp
+
31
−
22
View file @
19ff6634
...
@@ -25,11 +25,11 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -25,11 +25,11 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
//Setting up Models
//Setting up Models
sens_det_model
=
new
QStringListModel
(
this
);
sens_det_model
=
new
QStringListModel
(
this
);
g4ui_model
=
new
QStringListModel
(
this
);
g4ui_model
=
new
QStringListModel
(
this
);
shape_model
=
new
QStringListModel
(
this
);
//
shape_model = new QStringListModel(this);
ui
->
shape_view
->
setEditTriggers
(
QAbstractItemView
::
DoubleClicked
);
//
ui->shape_view->setEditTriggers(QAbstractItemView::DoubleClicked);
ui
->
sens_det_view
->
setModel
(
sens_det_model
);
ui
->
sens_det_view
->
setModel
(
sens_det_model
);
ui
->
g4ui_view
->
setModel
(
g4ui_model
);
ui
->
g4ui_view
->
setModel
(
g4ui_model
);
ui
->
shape_view
->
setModel
(
shape_model
);
//
ui->shape_view->setModel(shape_model);
ui
->
sens_det_view
->
setEditTriggers
(
QAbstractItemView
::
DoubleClicked
);
ui
->
sens_det_view
->
setEditTriggers
(
QAbstractItemView
::
DoubleClicked
);
ui
->
g4ui_view
->
setEditTriggers
(
QAbstractItemView
::
DoubleClicked
);
ui
->
g4ui_view
->
setEditTriggers
(
QAbstractItemView
::
DoubleClicked
);
...
@@ -73,6 +73,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -73,6 +73,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
connect
(
ui
->
pB_main_clear
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
clear_main_status
);
connect
(
ui
->
pB_main_clear
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
clear_main_status
);
connect
(
ui
->
pB_pythia_browse
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_pythia_file
);
connect
(
ui
->
pB_pythia_browse
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_pythia_file
);
connect
(
ui
->
pB_magnetic_field_plugin
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_magnetic_field_plugin_file
);
connect
(
ui
->
pB_magnetic_field_plugin
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_magnetic_field_plugin_file
);
connect
(
ui
->
pB_magnetic_field_map
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_magnetic_field_map
);
connect
(
ui
->
pB_add_sens_det
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
add_sens_det
);
connect
(
ui
->
pB_add_sens_det
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
add_sens_det
);
connect
(
ui
->
pB_del_sens_det
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_sens_det
);
connect
(
ui
->
pB_del_sens_det
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_sens_det
);
...
@@ -80,8 +81,8 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -80,8 +81,8 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
connect
(
ui
->
pB_del_region
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_region
);
connect
(
ui
->
pB_del_region
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_region
);
connect
(
ui
->
pB_add_g4ui
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
add_g4ui
);
connect
(
ui
->
pB_add_g4ui
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
add_g4ui
);
connect
(
ui
->
pB_del_g4ui
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_g4ui
);
connect
(
ui
->
pB_del_g4ui
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_g4ui
);
connect
(
ui
->
pB_add_shape_ext_file
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
add_shape_ext
);
//
connect(ui->pB_add_shape_ext_file, &QPushButton::released, this, &FSLMainWindow::add_shape_ext);
connect
(
ui
->
pB_del_shape_ext_file
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
del_shape_ext
);
//
connect(ui->pB_del_shape_ext_file, &QPushButton::released, this, &FSLMainWindow::del_shape_ext);
connect
(
ui
->
pB_run_actions
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_run_actions_file
);
connect
(
ui
->
pB_run_actions
,
&
QPushButton
::
released
,
this
,
&
FSLMainWindow
::
assign_run_actions_file
);
...
@@ -105,7 +106,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -105,7 +106,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
ui
->
cB_particle
->
setCurrentIndex
(
0
);
ui
->
cB_particle
->
setCurrentIndex
(
0
);
ui
->
pB_pythia_browse
->
setEnabled
(
false
);
ui
->
pB_pythia_browse
->
setEnabled
(
false
);
ui
->
cB_pythia_type_of_eve
->
setEnabled
(
false
);
ui
->
cB_pythia_type_of_eve
->
setEnabled
(
false
);
ui
->
lE
_magnetic_field_map
->
setEnabled
(
false
);
ui
->
pB
_magnetic_field_map
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
ui
->
cB_particle
->
setCurrentIndex
(
0
);
ui
->
cB_particle
->
setCurrentIndex
(
0
);
ui
->
lE_px
->
setText
(
"0"
);
ui
->
lE_px
->
setText
(
"0"
);
...
@@ -137,7 +138,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -137,7 +138,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
ui
->
lE_histo
->
setEnabled
(
false
);
ui
->
lE_histo
->
setEnabled
(
false
);
ui
->
tab
->
setEnabled
(
false
);
//Shape tab (Change name on UI)
//
ui->tab->setEnabled(false);//Shape tab (Change name on UI)
ui
->
Region
->
setEnabled
(
false
);
ui
->
Region
->
setEnabled
(
false
);
// ui->User_Actions->setEnabled(false);
// ui->User_Actions->setEnabled(false);
...
@@ -151,7 +152,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
...
@@ -151,7 +152,7 @@ FSLMainWindow::FSLMainWindow(QWidget *parent)
connect
(
this
,
&
FSLMainWindow
::
send_error_message
,
this
,
&
FSLMainWindow
::
catch_error_message
);
connect
(
this
,
&
FSLMainWindow
::
send_error_message
,
this
,
&
FSLMainWindow
::
catch_error_message
);
connect
(
ui
->
sens_det_view
,
SIGNAL
(
clicked
(
QModelIndex
)),
this
,
SLOT
(
get_sens_det_index
(
QModelIndex
)));
connect
(
ui
->
sens_det_view
,
SIGNAL
(
clicked
(
QModelIndex
)),
this
,
SLOT
(
get_sens_det_index
(
QModelIndex
)));
connect
(
ui
->
g4ui_view
,
SIGNAL
(
clicked
(
QModelIndex
)),
this
,
SLOT
(
get_g4ui_index
(
QModelIndex
)));
connect
(
ui
->
g4ui_view
,
SIGNAL
(
clicked
(
QModelIndex
)),
this
,
SLOT
(
get_g4ui_index
(
QModelIndex
)));
connect
(
ui
->
shape_view
,
SIGNAL
(
clicked
(
QModelIndex
)),
this
,
SLOT
(
get_shape_index
(
QModelIndex
)));
//
connect(ui->shape_view, SIGNAL(clicked(QModelIndex)), this, SLOT(get_shape_index(QModelIndex)));
connect
(
region
,
&
ConfigRegions
::
send_config
,
this
,
&
FSLMainWindow
::
add_region
);
connect
(
region
,
&
ConfigRegions
::
send_config
,
this
,
&
FSLMainWindow
::
add_region
);
connect
(
&
fullSimLight_process
,
SIGNAL
(
readyReadStandardOutput
()),
this
,
SLOT
(
fsmlreadyReadStandardOutput
()));
connect
(
&
fullSimLight_process
,
SIGNAL
(
readyReadStandardOutput
()),
this
,
SLOT
(
fsmlreadyReadStandardOutput
()));
connect
(
&
fullSimLight_process
,
SIGNAL
(
readyReadStandardError
()),
this
,
SLOT
(
fsmlreadyReadStandardError
()));
connect
(
&
fullSimLight_process
,
SIGNAL
(
readyReadStandardError
()),
this
,
SLOT
(
fsmlreadyReadStandardError
()));
...
@@ -173,7 +174,7 @@ FSLMainWindow::~FSLMainWindow()
...
@@ -173,7 +174,7 @@ FSLMainWindow::~FSLMainWindow()
delete
region
;
delete
region
;
delete
region_model
;
delete
region_model
;
delete
user_action_model
;
delete
user_action_model
;
delete
shape_model
;
//
delete shape_model;
delete
p_x_validator
;
delete
p_x_validator
;
delete
p_y_validator
;
delete
p_y_validator
;
delete
p_z_validator
;
delete
p_z_validator
;
...
@@ -228,7 +229,7 @@ void FSLMainWindow::configure_sens_det_actions()
...
@@ -228,7 +229,7 @@ void FSLMainWindow::configure_sens_det_actions()
//Get index of the row in the Shape extensions display when clicked
//Get index of the row in the Shape extensions display when clicked
void
FSLMainWindow
::
get_shape_index
(
QModelIndex
shape_index
)
/*
void FSLMainWindow::get_shape_index(QModelIndex shape_index)
{
{
shape_number = shape_index.row();
shape_number = shape_index.row();
}
}
...
@@ -261,7 +262,7 @@ void FSLMainWindow::configure_shape_ext()
...
@@ -261,7 +262,7 @@ void FSLMainWindow::configure_shape_ext()
index( i, 0 ).data( Qt::DisplayRole ).toString()).toStdString());
index( i, 0 ).data( Qt::DisplayRole ).toString()).toStdString());
}
}
}
}
*/
//Get index of row in g4ui display when clicked
//Get index of row in g4ui display when clicked
...
@@ -652,6 +653,12 @@ void FSLMainWindow::assign_magnetic_field_plugin_file()
...
@@ -652,6 +653,12 @@ void FSLMainWindow::assign_magnetic_field_plugin_file()
magnetic_field_plugin_file
=
this
->
get_file_name
();
magnetic_field_plugin_file
=
this
->
get_file_name
();
}
}
//Function to assign magnetic field map
void
FSLMainWindow
::
assign_magnetic_field_map
()
{
magnetic_field_map
=
this
->
get_file_name
();
}
//Function to configure particle energy and direction
//Function to configure particle energy and direction
void
FSLMainWindow
::
configure_energy_direction
()
void
FSLMainWindow
::
configure_energy_direction
()
{
{
...
@@ -738,7 +745,7 @@ void FSLMainWindow::configure_magnetic_field()
...
@@ -738,7 +745,7 @@ void FSLMainWindow::configure_magnetic_field()
magnetic_field
=
(
ui
->
lE_fixed_MF
->
text
()).
toStdString
();
magnetic_field
=
(
ui
->
lE_fixed_MF
->
text
()).
toStdString
();
magnetic_field_plugin_file
=
""
;
magnetic_field_plugin_file
=
""
;
magnetic_field_map
=
""
;
magnetic_field_map
=
""
;
ui
->
lE
_magnetic_field_map
->
setEnabled
(
false
);
ui
->
pB
_magnetic_field_map
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
ui
->
lE_fixed_MF
->
setEnabled
(
true
);
ui
->
lE_fixed_MF
->
setEnabled
(
true
);
...
@@ -749,11 +756,11 @@ void FSLMainWindow::configure_magnetic_field()
...
@@ -749,11 +756,11 @@ void FSLMainWindow::configure_magnetic_field()
else
else
{
{
magnetic_field_map
=
(
ui
->
lE_magnetic_field_map
->
text
()).
toStdString
();
//
magnetic_field_map = (ui->lE_magnetic_field_map->text()).toStdString();
magnetic_field
=
""
;
magnetic_field
=
""
;
ui
->
lE_fixed_MF
->
setEnabled
(
false
);
ui
->
lE_fixed_MF
->
setEnabled
(
false
);
ui
->
lE
_magnetic_field_map
->
setEnabled
(
true
);
ui
->
pB
_magnetic_field_map
->
setEnabled
(
true
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
true
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
true
);
}
}
}
}
...
@@ -1118,19 +1125,21 @@ void FSLMainWindow::load_configuration()
...
@@ -1118,19 +1125,21 @@ void FSLMainWindow::load_configuration()
magnetic_field_plugin_file
=
""
;
magnetic_field_plugin_file
=
""
;
ui
->
lE_magnetic_field_map
->
clear
();
// ui->lE_magnetic_field_map->clear();
ui
->
lE_magnetic_field_map
->
setEnabled
(
false
);
// ui->lE_magnetic_field_map->setEnabled(false);
magnetic_field_map
=
""
;
ui
->
pB_magnetic_field_map
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
false
);
}
}
else
{
else
{
ui
->
lE
_magnetic_field_map
->
setEnabled
(
true
);
ui
->
pB
_magnetic_field_map
->
setEnabled
(
true
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
true
);
ui
->
pB_magnetic_field_plugin
->
setEnabled
(
true
);
ui
->
cB_magnetic_field
->
setCurrentIndex
(
1
);
ui
->
cB_magnetic_field
->
setCurrentIndex
(
1
);
magnetic_field_plugin_file
=
j_load
[
"Magnetic Field Plugin"
];
magnetic_field_plugin_file
=
j_load
[
"Magnetic Field Plugin"
];
magnetic_field_map
=
j_load
[
"Magnetic Field Map"
];
magnetic_field_map
=
j_load
[
"Magnetic Field Map"
];
ui
->
lE_magnetic_field_map
->
setText
(
QString
::
fromUtf8
(
magnetic_field_map
.
c_str
()));
//
ui->lE_magnetic_field_map->setText(QString::fromUtf8(magnetic_field_map.c_str()));
magnetic_field
=
""
;
magnetic_field
=
""
;
ui
->
lE_fixed_MF
->
clear
();
ui
->
lE_fixed_MF
->
clear
();
...
@@ -1267,7 +1276,7 @@ void FSLMainWindow::load_configuration()
...
@@ -1267,7 +1276,7 @@ void FSLMainWindow::load_configuration()
}
}
shape_model
->
removeRows
(
0
,
shape_model
->
rowCount
());
/*
shape_model->removeRows(0,shape_model->rowCount());
for(const auto& element : j_load["Shape Extensions"] )
for(const auto& element : j_load["Shape Extensions"] )
{
{
std::string ele = element;
std::string ele = element;
...
@@ -1275,7 +1284,7 @@ void FSLMainWindow::load_configuration()
...
@@ -1275,7 +1284,7 @@ void FSLMainWindow::load_configuration()
shape_model->insertRow(shape_model->rowCount());
shape_model->insertRow(shape_model->rowCount());
QModelIndex shape_index = shape_model->index(shape_model->rowCount()-1);
QModelIndex shape_index = shape_model->index(shape_model->rowCount()-1);
shape_model->setData(shape_index, q_element);
shape_model->setData(shape_index, q_element);
}
}
*/
}
}
...
@@ -1331,8 +1340,8 @@ void FSLMainWindow::create_configuration()
...
@@ -1331,8 +1340,8 @@ void FSLMainWindow::create_configuration()
this
->
configure_regions
();
this
->
configure_regions
();
j
[
"Regions data"
]
=
regions
;
j
[
"Regions data"
]
=
regions
;
this
->
configure_shape_ext
();
//
this->configure_shape_ext();
j
[
"Shape Extensions"
]
=
shape_extensions
;
//
j["Shape Extensions"] = shape_extensions;
this
->
configure_g4ui_command
();
this
->
configure_g4ui_command
();
j
[
"g4ui_commands"
]
=
g4ui_commands
;
j
[
"g4ui_commands"
]
=
g4ui_commands
;
...
...
This diff is collapsed.
Click to expand it.
FSL/src/fsl_mainwindow.h
+
9
−
8
View file @
19ff6634
...
@@ -103,8 +103,8 @@ public:
...
@@ -103,8 +103,8 @@ public:
int
g4ui_number
;
int
g4ui_number
;
//Parameters associated with the shape commands tab
//Parameters associated with the shape commands tab
int
shape_number
;
//
int shape_number;
std
::
vector
<
std
::
string
>
shape_extensions
;
//
std::vector<std::string> shape_extensions;
//Parameters associated with the Region tab
//Parameters associated with the Region tab
std
::
vector
<
Region
>
regions
;
std
::
vector
<
Region
>
regions
;
...
@@ -149,14 +149,15 @@ public:
...
@@ -149,14 +149,15 @@ public:
void
configure_actions
();
void
configure_actions
();
void
del_shape_ext
();
//
void del_shape_ext();
void
add_shape_ext
();
//
void add_shape_ext();
void
configure_shape_ext
();
//
void configure_shape_ext();
void
assign_geom_file
();
void
assign_geom_file
();
void
assign_pythia_file
();
void
assign_pythia_file
();
void
assign_magnetic_field_plugin_file
();
void
assign_magnetic_field_plugin_file
();
void
assign_shape_ext_file
();
void
assign_magnetic_field_map
();
//void assign_shape_ext_file();
void
assign_run_actions_file
();
void
assign_run_actions_file
();
void
assign_event_actions_file
();
void
assign_event_actions_file
();
...
@@ -184,7 +185,7 @@ private slots:
...
@@ -184,7 +185,7 @@ private slots:
void
catch_error_message
(
std
::
string
info
);
void
catch_error_message
(
std
::
string
info
);
void
get_sens_det_index
(
QModelIndex
region_index
);
void
get_sens_det_index
(
QModelIndex
region_index
);
void
get_g4ui_index
(
QModelIndex
g4ui_index
);
void
get_g4ui_index
(
QModelIndex
g4ui_index
);
void
get_shape_index
(
QModelIndex
g4ui_index
);
//
void get_shape_index(QModelIndex g4ui_index);
void
add_region
(
std
::
string
region_name
,
std
::
string
frootLV_names
void
add_region
(
std
::
string
region_name
,
std
::
string
frootLV_names
,
double
electron_cut
,
double
proton_cut
,
double
electron_cut
,
double
proton_cut
,
double
positron_cut
,
double
gamma_cut
);
,
double
positron_cut
,
double
gamma_cut
);
...
@@ -205,7 +206,7 @@ private:
...
@@ -205,7 +206,7 @@ private:
Ui
::
FSLMainWindow
*
ui
;
Ui
::
FSLMainWindow
*
ui
;
QStringListModel
*
sens_det_model
;
QStringListModel
*
sens_det_model
;
QStringListModel
*
g4ui_model
;
QStringListModel
*
g4ui_model
;
QStringListModel
*
shape_model
;
//
QStringListModel *shape_model;
ConfigRegions
*
region
;
ConfigRegions
*
region
;
QStandardItemModel
*
region_model
;
QStandardItemModel
*
region_model
;
QStandardItemModel
*
user_action_model
;
QStandardItemModel
*
user_action_model
;
...
...
This diff is collapsed.
Click to expand it.
FSL/src/fsl_mainwindow.ui
+
23
−
94
View file @
19ff6634
...
@@ -995,40 +995,48 @@
...
@@ -995,40 +995,48 @@
<property
name=
"title"
>
<property
name=
"title"
>
<string>
Map
</string>
<string>
Map
</string>
</property>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<item>
<item
row=
"0"
column=
"0"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_7"
>
<item
row=
"0"
column=
"1"
colspan=
"2"
>
<item>
<widget
class=
"QLineEdit"
name=
"lE_magnetic_field_map"
/>
<widget
class=
"QLabel"
name=
"label_7"
>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"label_21"
>
<property
name=
"font"
>
<property
name=
"font"
>
<font>
<font>
<pointsize>
15
</pointsize>
<pointsize>
15
</pointsize>
</font>
</font>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Magnetic Field
Plugin
</string>
<string>
Magnetic Field
Map
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"1"
column=
"2"
>
<item>
<widget
class=
"QPushButton"
name=
"pB_magnetic_field_
plugin
"
>
<widget
class=
"QPushButton"
name=
"pB_magnetic_field_
map
"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Browse Files
</string>
<string>
Browse Files
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"0"
column=
"0"
>
</layout>
<widget
class=
"QLabel"
name=
"label_7"
>
</item>
<item
row=
"1"
column=
"0"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_10"
>
<item>
<widget
class=
"QLabel"
name=
"label_21"
>
<property
name=
"font"
>
<property
name=
"font"
>
<font>
<font>
<pointsize>
15
</pointsize>
<pointsize>
15
</pointsize>
</font>
</font>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Magnetic Field Map
</string>
<string>
Magnetic Field Plugin
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pB_magnetic_field_plugin"
>
<property
name=
"text"
>
<string>
Browse Files
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -1469,85 +1477,6 @@
...
@@ -1469,85 +1477,6 @@
</item>
</item>
</layout>
</layout>
</widget>
</widget>
<widget
class=
"QWidget"
name=
"tab"
>
<attribute
name=
"title"
>
<string>
Shape
</string>
</attribute>
<layout
class=
"QGridLayout"
name=
"gridLayout_4"
>
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<spacer
name=
"horizontalSpacer_15"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
387
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"0"
column=
"2"
>
<widget
class=
"QLabel"
name=
"label_28"
>
<property
name=
"font"
>
<font>
<pointsize>
16
</pointsize>
</font>
</property>
<property
name=
"text"
>
<string>
Shape Extensions
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"3"
>
<spacer
name=
"horizontalSpacer_16"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
406
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"1"
column=
"0"
colspan=
"4"
>
<widget
class=
"QListView"
name=
"shape_view"
/>
</item>
<item
row=
"2"
column=
"0"
rowspan=
"2"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_7"
>
<item>
<widget
class=
"QPushButton"
name=
"pB_add_shape_ext_file"
>
<property
name=
"text"
>
<string>
+
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pB_del_shape_ext_file"
>
<property
name=
"text"
>
<string>
−
</string>
</property>
</widget>
</item>
</layout>
</item>
<item
row=
"3"
column=
"1"
colspan=
"3"
>
<spacer
name=
"horizontalSpacer_10"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
546
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</item>
</layout>
</layout>
...
@@ -1558,7 +1487,7 @@
...
@@ -1558,7 +1487,7 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
1261
</width>
<width>
1261
</width>
<height>
2
2
</height>
<height>
2
4
</height>
</rect>
</rect>
</property>
</property>
<widget
class=
"QMenu"
name=
"menuFile"
>
<widget
class=
"QMenu"
name=
"menuFile"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment