@@ -25,49 +25,19 @@ class Ui_ImportDialog(object):
2525 def setupUi (self , ImportDialog ):
2626 if not ImportDialog .objectName ():
2727 ImportDialog .setObjectName (u"ImportDialog" )
28- ImportDialog .resize (529 , 148 )
28+ ImportDialog .resize (533 , 202 )
2929 icon = QIcon ()
3030 icon .addFile (u":/fmi.svg" , QSize (), QIcon .Mode .Normal , QIcon .State .Off )
3131 ImportDialog .setWindowIcon (icon )
3232 self .gridLayout = QGridLayout (ImportDialog )
3333 self .gridLayout .setSpacing (12 )
3434 self .gridLayout .setObjectName (u"gridLayout" )
3535 self .gridLayout .setContentsMargins (12 , 12 , 12 , 12 )
36- self .label = QLabel (ImportDialog )
37- self .label .setObjectName (u"label" )
38-
39- self .gridLayout .addWidget (self .label , 0 , 0 , 1 , 1 )
40-
41- self .buttonBox = QDialogButtonBox (ImportDialog )
42- self .buttonBox .setObjectName (u"buttonBox" )
43- self .buttonBox .setOrientation (Qt .Orientation .Horizontal )
44- self .buttonBox .setStandardButtons (QDialogButtonBox .StandardButton .Cancel | QDialogButtonBox .StandardButton .Ok )
45-
46- self .gridLayout .addWidget (self .buttonBox , 4 , 0 , 1 , 2 )
47-
4836 self .mo = QLabel (ImportDialog )
4937 self .mo .setObjectName (u"mo" )
5038
5139 self .gridLayout .addWidget (self .mo , 1 , 0 , 1 , 1 )
5240
53- self .widget = QWidget (ImportDialog )
54- self .widget .setObjectName (u"widget" )
55- self .horizontalLayout = QHBoxLayout (self .widget )
56- self .horizontalLayout .setObjectName (u"horizontalLayout" )
57- self .horizontalLayout .setContentsMargins (0 , 0 , 0 , 0 )
58- self .modelPathLineEdit = QLineEdit (self .widget )
59- self .modelPathLineEdit .setObjectName (u"modelPathLineEdit" )
60-
61- self .horizontalLayout .addWidget (self .modelPathLineEdit )
62-
63- self .selectModelPathButton = QToolButton (self .widget )
64- self .selectModelPathButton .setObjectName (u"selectModelPathButton" )
65-
66- self .horizontalLayout .addWidget (self .selectModelPathButton )
67-
68-
69- self .gridLayout .addWidget (self .widget , 1 , 1 , 1 , 1 )
70-
7141 self .widget_2 = QWidget (ImportDialog )
7242 self .widget_2 .setObjectName (u"widget_2" )
7343 self .horizontalLayout_2 = QHBoxLayout (self .widget_2 )
@@ -86,15 +56,50 @@ def setupUi(self, ImportDialog):
8656
8757 self .gridLayout .addWidget (self .widget_2 , 0 , 1 , 1 , 1 )
8858
59+ self .label = QLabel (ImportDialog )
60+ self .label .setObjectName (u"label" )
61+
62+ self .gridLayout .addWidget (self .label , 0 , 0 , 1 , 1 )
63+
8964 self .verticalSpacer = QSpacerItem (20 , 40 , QSizePolicy .Policy .Minimum , QSizePolicy .Policy .Expanding )
9065
91- self .gridLayout .addItem (self .verticalSpacer , 3 , 0 , 1 , 1 )
66+ self .gridLayout .addItem (self .verticalSpacer , 4 , 0 , 1 , 1 )
67+
68+ self .widget = QWidget (ImportDialog )
69+ self .widget .setObjectName (u"widget" )
70+ self .horizontalLayout = QHBoxLayout (self .widget )
71+ self .horizontalLayout .setObjectName (u"horizontalLayout" )
72+ self .horizontalLayout .setContentsMargins (0 , 0 , 0 , 0 )
73+ self .modelPathLineEdit = QLineEdit (self .widget )
74+ self .modelPathLineEdit .setObjectName (u"modelPathLineEdit" )
75+
76+ self .horizontalLayout .addWidget (self .modelPathLineEdit )
77+
78+ self .selectModelPathButton = QToolButton (self .widget )
79+ self .selectModelPathButton .setObjectName (u"selectModelPathButton" )
80+
81+ self .horizontalLayout .addWidget (self .selectModelPathButton )
82+
83+
84+ self .gridLayout .addWidget (self .widget , 1 , 1 , 1 , 1 )
9285
9386 self .hideConnectorsCheckBox = QCheckBox (ImportDialog )
9487 self .hideConnectorsCheckBox .setObjectName (u"hideConnectorsCheckBox" )
9588
9689 self .gridLayout .addWidget (self .hideConnectorsCheckBox , 2 , 0 , 1 , 2 )
9790
91+ self .buttonBox = QDialogButtonBox (ImportDialog )
92+ self .buttonBox .setObjectName (u"buttonBox" )
93+ self .buttonBox .setOrientation (Qt .Orientation .Horizontal )
94+ self .buttonBox .setStandardButtons (QDialogButtonBox .StandardButton .Cancel | QDialogButtonBox .StandardButton .Ok )
95+
96+ self .gridLayout .addWidget (self .buttonBox , 6 , 0 , 1 , 2 )
97+
98+ self .hideLargeArraysCheckBox = QCheckBox (ImportDialog )
99+ self .hideLargeArraysCheckBox .setObjectName (u"hideLargeArraysCheckBox" )
100+
101+ self .gridLayout .addWidget (self .hideLargeArraysCheckBox , 3 , 0 , 1 , 2 )
102+
98103
99104 self .retranslateUi (ImportDialog )
100105 self .buttonBox .accepted .connect (ImportDialog .accept )
@@ -105,10 +110,11 @@ def setupUi(self, ImportDialog):
105110
106111 def retranslateUi (self , ImportDialog ):
107112 ImportDialog .setWindowTitle (QCoreApplication .translate ("ImportDialog" , u"Import an FMU to Modelica" , None ))
108- self .label .setText (QCoreApplication .translate ("ImportDialog" , u"FMU" , None ))
109113 self .mo .setText (QCoreApplication .translate ("ImportDialog" , u"Modelica File" , None ))
110- self .selectModelPathButton .setText (QCoreApplication .translate ("ImportDialog" , u"..." , None ))
111114 self .selectFMUPathButton .setText (QCoreApplication .translate ("ImportDialog" , u"..." , None ))
115+ self .label .setText (QCoreApplication .translate ("ImportDialog" , u"FMU" , None ))
116+ self .selectModelPathButton .setText (QCoreApplication .translate ("ImportDialog" , u"..." , None ))
112117 self .hideConnectorsCheckBox .setText (QCoreApplication .translate ("ImportDialog" , u"Hide Connectors" , None ))
118+ self .hideLargeArraysCheckBox .setText (QCoreApplication .translate ("ImportDialog" , u"Hide Large Arrays" , None ))
113119 # retranslateUi
114120
0 commit comments