HomoBFieldWidget soweit erstmal fertig

git-svn-id: http://svn.lsim.tuxzone.org/trunk@8 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-10-15 20:23:41 +00:00
parent eab7792a79
commit 4c6bb8e3f6
6 changed files with 598 additions and 56 deletions

543
lsim.tag
View File

@@ -1,5 +1,24 @@
<?xml version='1.0' encoding='ISO-8859-1' standalone='yes' ?> <?xml version='1.0' encoding='ISO-8859-1' standalone='yes' ?>
<tagfile> <tagfile>
<compound kind="file">
<name>constants.h</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>constants_8h</filename>
<member kind="variable">
<type>const double</type>
<name>PI</name>
<anchorfile>constants_8h.html</anchorfile>
<anchor>952eac791b596a61bba0a133a3bb439f</anchor>
<arglist></arglist>
</member>
<member kind="variable">
<type>const double</type>
<name>SPEED_OF_LIGHT</name>
<anchorfile>constants_8h.html</anchorfile>
<anchor>a9d062184e1c09d26080c7fe53b33b9e</anchor>
<arglist></arglist>
</member>
</compound>
<compound kind="file"> <compound kind="file">
<name>editcopy.xpm</name> <name>editcopy.xpm</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
@@ -54,6 +73,7 @@
<filename>fielditem_8cpp</filename> <filename>fielditem_8cpp</filename>
<includes id="fielditem_8h" name="fielditem.h" local="yes" imported="no">fielditem.h</includes> <includes id="fielditem_8h" name="fielditem.h" local="yes" imported="no">fielditem.h</includes>
<includes id="homoefielditem_8h" name="homoefielditem.h" local="yes" imported="no">homoefielditem.h</includes> <includes id="homoefielditem_8h" name="homoefielditem.h" local="yes" imported="no">homoefielditem.h</includes>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
</compound> </compound>
<compound kind="file"> <compound kind="file">
<name>fielditem.h</name> <name>fielditem.h</name>
@@ -102,6 +122,9 @@
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
<filename>graphicsellipseitem_8cpp</filename> <filename>graphicsellipseitem_8cpp</filename>
<includes id="graphicsellipseitem_8h" name="graphicsellipseitem.h" local="yes" imported="no">graphicsellipseitem.h</includes> <includes id="graphicsellipseitem_8h" name="graphicsellipseitem.h" local="yes" imported="no">graphicsellipseitem.h</includes>
<includes id="simulscene_8h" name="simulscene.h" local="yes" imported="no">simulscene.h</includes>
<includes id="probechargewidget_8h" name="probechargewidget.h" local="yes" imported="no">probechargewidget.h</includes>
<includes id="constants_8h" name="constants.h" local="yes" imported="no">constants.h</includes>
</compound> </compound>
<compound kind="file"> <compound kind="file">
<name>graphicsellipseitem.h</name> <name>graphicsellipseitem.h</name>
@@ -121,6 +144,35 @@
<filename>graphicsview_8h</filename> <filename>graphicsview_8h</filename>
<class kind="class">GraphicsView</class> <class kind="class">GraphicsView</class>
</compound> </compound>
<compound kind="file">
<name>homobfielditem.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>homobfielditem_8cpp</filename>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
<includes id="homobfieldwidget_8h" name="homobfieldwidget.h" local="yes" imported="no">homobfieldwidget.h</includes>
</compound>
<compound kind="file">
<name>homobfielditem.h</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>homobfielditem_8h</filename>
<includes id="fielditem_8h" name="fielditem.h" local="no" imported="no">fielditem.h</includes>
<class kind="class">HomoBFieldItem</class>
</compound>
<compound kind="file">
<name>homobfieldwidget.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>homobfieldwidget_8cpp</filename>
<includes id="homobfieldwidget_8h" name="homobfieldwidget.h" local="yes" imported="no">homobfieldwidget.h</includes>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
<includes id="expdoublespinbox_8h" name="expdoublespinbox.h" local="yes" imported="no">expdoublespinbox.h</includes>
</compound>
<compound kind="file">
<name>homobfieldwidget.h</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>homobfieldwidget_8h</filename>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
<class kind="class">HomoBFieldWidget</class>
</compound>
<compound kind="file"> <compound kind="file">
<name>homoefielditem.cpp</name> <name>homoefielditem.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
@@ -220,6 +272,46 @@
<arglist>[]</arglist> <arglist>[]</arglist>
</member> </member>
</compound> </compound>
<compound kind="file">
<name>moc_homobfielditem.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>moc__homobfielditem_8cpp</filename>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
<member kind="variable" static="yes">
<type>static QT_BEGIN_MOC_NAMESPACE const uint</type>
<name>qt_meta_data_HomoBFieldItem</name>
<anchorfile>moc__homobfielditem_8cpp.html</anchorfile>
<anchor>42817f20f0f9f4726f380c4037d9bb59</anchor>
<arglist>[]</arglist>
</member>
<member kind="variable" static="yes">
<type>static const char</type>
<name>qt_meta_stringdata_HomoBFieldItem</name>
<anchorfile>moc__homobfielditem_8cpp.html</anchorfile>
<anchor>687cd76a32f706421c88f6662da6a49c</anchor>
<arglist>[]</arglist>
</member>
</compound>
<compound kind="file">
<name>moc_homobfieldwidget.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>moc__homobfieldwidget_8cpp</filename>
<includes id="homobfieldwidget_8h" name="homobfieldwidget.h" local="yes" imported="no">homobfieldwidget.h</includes>
<member kind="variable" static="yes">
<type>static QT_BEGIN_MOC_NAMESPACE const uint</type>
<name>qt_meta_data_HomoBFieldWidget</name>
<anchorfile>moc__homobfieldwidget_8cpp.html</anchorfile>
<anchor>0fe7a2ba5e287a5eaac7a0e6eafe02b9</anchor>
<arglist>[]</arglist>
</member>
<member kind="variable" static="yes">
<type>static const char</type>
<name>qt_meta_stringdata_HomoBFieldWidget</name>
<anchorfile>moc__homobfieldwidget_8cpp.html</anchorfile>
<anchor>50985451b56f23a63ea0be20e72042df</anchor>
<arglist>[]</arglist>
</member>
</compound>
<compound kind="file"> <compound kind="file">
<name>moc_homoefielditem.cpp</name> <name>moc_homoefielditem.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
@@ -280,6 +372,26 @@
<arglist>[]</arglist> <arglist>[]</arglist>
</member> </member>
</compound> </compound>
<compound kind="file">
<name>moc_probechargewidget.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>moc__probechargewidget_8cpp</filename>
<includes id="probechargewidget_8h" name="probechargewidget.h" local="yes" imported="no">probechargewidget.h</includes>
<member kind="variable" static="yes">
<type>static QT_BEGIN_MOC_NAMESPACE const uint</type>
<name>qt_meta_data_ProbeChargeWidget</name>
<anchorfile>moc__probechargewidget_8cpp.html</anchorfile>
<anchor>b85448fa3e5e4c15ba85c29b8dc12730</anchor>
<arglist>[]</arglist>
</member>
<member kind="variable" static="yes">
<type>static const char</type>
<name>qt_meta_stringdata_ProbeChargeWidget</name>
<anchorfile>moc__probechargewidget_8cpp.html</anchorfile>
<anchor>e2c4a1bd3c300fa8da24293fa3d36fe2</anchor>
<arglist>[]</arglist>
</member>
</compound>
<compound kind="file"> <compound kind="file">
<name>moc_simulscene.cpp</name> <name>moc_simulscene.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
@@ -300,6 +412,20 @@
<arglist>[]</arglist> <arglist>[]</arglist>
</member> </member>
</compound> </compound>
<compound kind="file">
<name>probechargewidget.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>probechargewidget_8cpp</filename>
<includes id="probechargewidget_8h" name="probechargewidget.h" local="yes" imported="no">probechargewidget.h</includes>
<includes id="graphicsellipseitem_8h" name="graphicsellipseitem.h" local="yes" imported="no">graphicsellipseitem.h</includes>
<includes id="expdoublespinbox_8h" name="expdoublespinbox.h" local="yes" imported="no">expdoublespinbox.h</includes>
</compound>
<compound kind="file">
<name>probechargewidget.h</name>
<path>/mnt/sdb1/c++/lsim/src/</path>
<filename>probechargewidget_8h</filename>
<class kind="class">ProbeChargeWidget</class>
</compound>
<compound kind="file"> <compound kind="file">
<name>qrc_application.cpp</name> <name>qrc_application.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
@@ -358,9 +484,11 @@
<name>simulscene.cpp</name> <name>simulscene.cpp</name>
<path>/mnt/sdb1/c++/lsim/src/</path> <path>/mnt/sdb1/c++/lsim/src/</path>
<filename>simulscene_8cpp</filename> <filename>simulscene_8cpp</filename>
<includes id="constants_8h" name="constants.h" local="yes" imported="no">constants.h</includes>
<includes id="simulscene_8h" name="simulscene.h" local="yes" imported="no">simulscene.h</includes> <includes id="simulscene_8h" name="simulscene.h" local="yes" imported="no">simulscene.h</includes>
<includes id="graphicsellipseitem_8h" name="graphicsellipseitem.h" local="yes" imported="no">graphicsellipseitem.h</includes> <includes id="graphicsellipseitem_8h" name="graphicsellipseitem.h" local="yes" imported="no">graphicsellipseitem.h</includes>
<includes id="homoefielditem_8h" name="homoefielditem.h" local="yes" imported="no">homoefielditem.h</includes> <includes id="homoefielditem_8h" name="homoefielditem.h" local="yes" imported="no">homoefielditem.h</includes>
<includes id="homobfielditem_8h" name="homobfielditem.h" local="yes" imported="no">homobfielditem.h</includes>
</compound> </compound>
<compound kind="file"> <compound kind="file">
<name>simulscene.h</name> <name>simulscene.h</name>
@@ -621,6 +749,13 @@
<anchor>6c45aa9a52b2dc4f916272e651fb8092</anchor> <anchor>6c45aa9a52b2dc4f916272e651fb8092</anchor>
<arglist>() const =0</arglist> <arglist>() const =0</arglist>
</member> </member>
<member kind="function">
<type>int</type>
<name>getRotation</name>
<anchorfile>classFieldItem.html</anchorfile>
<anchor>3632ac0ad8751fc2f411fbe8377d995c</anchor>
<arglist>()</arglist>
</member>
<member kind="function" static="yes"> <member kind="function" static="yes">
<type>static bool</type> <type>static bool</type>
<name>isFieldItem</name> <name>isFieldItem</name>
@@ -657,8 +792,36 @@
<type>void</type> <type>void</type>
<name>calculateProbePath</name> <name>calculateProbePath</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile> <anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>c96e624b90b7acabd1fd979c35abdc1e</anchor> <anchor>2cdad5fc83d96af73ae8c136b53e5fe1</anchor>
<arglist>(int steps)</arglist> <arglist>(QPointF startPoint=QPointF(0, 0), double startSpeedX=0, double startSpeedY=0)</arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setMasse</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>7230ec257dd669949e9d3ada7a51923a</anchor>
<arglist>(const double &amp;theValue)</arglist>
</member>
<member kind="slot">
<type>double</type>
<name>getMasse</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>edd61d768890e05097cac9285ff63aba</anchor>
<arglist>(double speed)</arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setCharge</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>fb65dbef1a6c2a46d43957655e6c3942</anchor>
<arglist>(const long double &amp;theValue)</arglist>
</member>
<member kind="slot">
<type>long double</type>
<name>getCharge</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>1f873b91eb795f77342cba8430bc0dd5</anchor>
<arglist>() const </arglist>
</member> </member>
<member kind="function"> <member kind="function">
<type></type> <type></type>
@@ -667,6 +830,13 @@
<anchor>a138c72fbdabc4a52940d164f956464e</anchor> <anchor>a138c72fbdabc4a52940d164f956464e</anchor>
<arglist>()</arglist> <arglist>()</arglist>
</member> </member>
<member kind="function">
<type>QWidget *</type>
<name>getDockWidget</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>dd6be0eb221b26f3f2767dd09fa8b06f</anchor>
<arglist>() const </arglist>
</member>
<member kind="function"> <member kind="function">
<type></type> <type></type>
<name>~GraphicsEllipseItem</name> <name>~GraphicsEllipseItem</name>
@@ -674,6 +844,13 @@
<anchor>4bf7a078c964d2d7d616841c0e22805a</anchor> <anchor>4bf7a078c964d2d7d616841c0e22805a</anchor>
<arglist>()</arglist> <arglist>()</arglist>
</member> </member>
<member kind="function">
<type>QList&lt; QPointF &gt; *</type>
<name>getCurrProbePath</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>130f0b45e6fe641c29928e51b468418b</anchor>
<arglist>()</arglist>
</member>
<member kind="function" protection="protected"> <member kind="function" protection="protected">
<type>void</type> <type>void</type>
<name>mousePressEvent</name> <name>mousePressEvent</name>
@@ -716,6 +893,20 @@
<anchor>ef680fb6a88e6a0951886582a333f3fc</anchor> <anchor>ef680fb6a88e6a0951886582a333f3fc</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>double</type>
<name>charge</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>cc3f4ede3f3cbf9f0870cb6b847c2a50</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private">
<type>ProbeChargeWidget *</type>
<name>myProbeChargeWidget</name>
<anchorfile>classGraphicsEllipseItem.html</anchorfile>
<anchor>afa81f63289aa4d4624f38015b37d643</anchor>
<arglist></arglist>
</member>
</compound> </compound>
<compound kind="class"> <compound kind="class">
<name>GraphicsView</name> <name>GraphicsView</name>
@@ -749,6 +940,187 @@
<arglist>()</arglist> <arglist>()</arglist>
</member> </member>
</compound> </compound>
<compound kind="class">
<name>HomoBFieldItem</name>
<filename>classHomoBFieldItem.html</filename>
<base>FieldItem</base>
<member kind="enumvalue">
<name>Type</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>de7662346826fc693c1df0104beece8db2251571941e0d52c90d01f6935b721f</anchor>
<arglist></arglist>
</member>
<member kind="enumvalue">
<name>MinimumWidth</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>82c82f81414a9cdc70c10614710848dbbd258cb4a1f24a088a0b87eb97a62ed9</anchor>
<arglist></arglist>
</member>
<member kind="enumvalue">
<name>MinimumHeight</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>4cdb83c9920345343ebc1e070e865b1cf270b5cf347a956567f8b7018bf4b281</anchor>
<arglist></arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setOuterPenWidth</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>4f81af38c564f80cd4f7a7303710f214</anchor>
<arglist>(double theValue)</arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setFieldLineDistance</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>81d5f13b2c67523f0f33ebbf7fac6149</anchor>
<arglist>(int theValue)</arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setIsDirectionIntoPlane</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>6a5ecd467c67a3a358bfe853dd19335f</anchor>
<arglist>(bool theValue)</arglist>
</member>
<member kind="signal">
<type>void</type>
<name>directionChanged</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>432f975078b7fddcf1e2a470491d8e10</anchor>
<arglist>(bool theValue)</arglist>
</member>
<member kind="function">
<type></type>
<name>HomoBFieldItem</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>2859a8d37de27ad6856ff3fc1203e7bf</anchor>
<arglist>(QRectF sizeRect)</arglist>
</member>
<member kind="function" virtualness="virtual">
<type>virtual</type>
<name>~HomoBFieldItem</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>d52f0735f31a5eba3fdd3366a14d7af2</anchor>
<arglist>()</arglist>
</member>
<member kind="function" virtualness="virtual">
<type>virtual QRectF</type>
<name>boundingRect</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>4623b5ba50822936ae567035a0151f7d</anchor>
<arglist>() const </arglist>
</member>
<member kind="function" virtualness="virtual">
<type>virtual QRectF</type>
<name>getRectF</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>6e2cd02c416572978490459d460346ef</anchor>
<arglist>() const </arglist>
</member>
<member kind="function" virtualness="virtual">
<type>virtual void</type>
<name>paint</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>52c1a5efd250fed63efd055863b27b93</anchor>
<arglist>(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)</arglist>
</member>
<member kind="function">
<type>int</type>
<name>type</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>6be754db08dd08e2c084d77a06e72233</anchor>
<arglist>() const </arglist>
</member>
<member kind="function">
<type>int</type>
<name>getFieldLineDistance</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>59314fbdf49390ef1cbd56a400bb0817</anchor>
<arglist>() const </arglist>
</member>
<member kind="function">
<type>QWidget *</type>
<name>getDockWidget</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>0ba66aad18f70f9e4136834d78c93bc8</anchor>
<arglist>() const </arglist>
</member>
<member kind="function">
<type>double</type>
<name>getOuterPenWidth</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>68cf2733c9aa5b9c4e9d13c17638af58</anchor>
<arglist>() const </arglist>
</member>
<member kind="function">
<type>bool</type>
<name>getIsDirectionIntoPlane</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>efb3cf5f1132b110f698519878afdc76</anchor>
<arglist>() const </arglist>
</member>
<member kind="variable" protection="private">
<type>int</type>
<name>fieldLineDistance</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>e62c6d52ad26691c9741fef40d913651</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private">
<type>double</type>
<name>outerPenWidth</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>376c9df0aa2db22fc54d824c9bcb15fd</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private">
<type>bool</type>
<name>isDirectionIntoPlane</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>09f1e6b6fd45ad28060f3a147c611f5a</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private">
<type>HomoBFieldWidget *</type>
<name>dockWidget</name>
<anchorfile>classHomoBFieldItem.html</anchorfile>
<anchor>35bec97190b75fa64b7876533c4ef8a5</anchor>
<arglist></arglist>
</member>
</compound>
<compound kind="class">
<name>HomoBFieldWidget</name>
<filename>classHomoBFieldWidget.html</filename>
<member kind="function">
<type></type>
<name>HomoBFieldWidget</name>
<anchorfile>classHomoBFieldWidget.html</anchorfile>
<anchor>edd9fbd94988a261a1faf09786759453</anchor>
<arglist>(QWidget *parent, Qt::WindowFlags f, HomoBFieldItem *bField)</arglist>
</member>
<member kind="function">
<type></type>
<name>~HomoBFieldWidget</name>
<anchorfile>classHomoBFieldWidget.html</anchorfile>
<anchor>c9dbb4d967d9dea4328af260a0580bad</anchor>
<arglist>()</arglist>
</member>
<member kind="function" protection="private">
<type>void</type>
<name>createWidget</name>
<anchorfile>classHomoBFieldWidget.html</anchorfile>
<anchor>bb251dad6df577569d6f59e0cb119718</anchor>
<arglist>()</arglist>
</member>
<member kind="variable" protection="private">
<type>HomoBFieldItem *</type>
<name>homoBField</name>
<anchorfile>classHomoBFieldWidget.html</anchorfile>
<anchor>1c59f4d196b38f8c8ae8d5db7d862d39</anchor>
<arglist></arglist>
</member>
</compound>
<compound kind="class"> <compound kind="class">
<name>HomoEFieldItem</name> <name>HomoEFieldItem</name>
<filename>classHomoEFieldItem.html</filename> <filename>classHomoEFieldItem.html</filename>
@@ -756,21 +1128,49 @@
<member kind="enumvalue"> <member kind="enumvalue">
<name>Type</name> <name>Type</name>
<anchorfile>classHomoEFieldItem.html</anchorfile> <anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>d89d0d82fbd2689c40ae29528fa91393c06fd10fb3badd77a822f5601903df34</anchor> <anchor>d2ef8acf5a7c2307b1e4dad2645a7a46c06fd10fb3badd77a822f5601903df34</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="enumvalue"> <member kind="enumvalue">
<name>MinimumWidth</name> <name>MinimumWidth</name>
<anchorfile>classHomoEFieldItem.html</anchorfile> <anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>5f72ae86d8bfd602169fc1bef881b34fcba84afb53a55c8e2c0daf52eed72d25</anchor> <anchor>7715932096a60de784db03d550a57fdccba84afb53a55c8e2c0daf52eed72d25</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="enumvalue"> <member kind="enumvalue">
<name>MinimumHeight</name> <name>MinimumHeight</name>
<anchorfile>classHomoEFieldItem.html</anchorfile> <anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>3cc84ab5f5c6f443d425fb9581e9b16f60030e8b43da40d39fbad3b5f8ac59d1</anchor> <anchor>549c692b4298c8cd7328cf6a32dcb81f60030e8b43da40d39fbad3b5f8ac59d1</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="slot">
<type>void</type>
<name>setFieldPower</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>f6fea5d0d7d6055a3ee894a49dd15c25</anchor>
<arglist>(double fieldPower)</arglist>
</member>
<member kind="slot">
<type>void</type>
<name>setOuterPenWidth</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>3587e6994b7797227638d666fe56e0d8</anchor>
<arglist>(double theValue)</arglist>
</member>
<member kind="slot">
<type>double</type>
<name>getOuterPenWidth</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>0bcefbec64ba7552fe9f941fe9da1907</anchor>
<arglist>() const </arglist>
</member>
<member kind="signal">
<type>void</type>
<name>fieldPowerChanged</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>52327482fd0d273ae2c5e19c6e12dd4e</anchor>
<arglist>(double fieldPower)</arglist>
</member>
<member kind="function"> <member kind="function">
<type></type> <type></type>
<name>HomoEFieldItem</name> <name>HomoEFieldItem</name>
@@ -820,6 +1220,13 @@
<anchor>9e852d12ede674be0390d63144f43385</anchor> <anchor>9e852d12ede674be0390d63144f43385</anchor>
<arglist>(int pixel)</arglist> <arglist>(int pixel)</arglist>
</member> </member>
<member kind="function">
<type>double</type>
<name>getFieldPower</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>cebd0e26d96ef0a916198f8c05c4bc78</anchor>
<arglist>() const </arglist>
</member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>int</type> <type>int</type>
<name>fieldLineDistance</name> <name>fieldLineDistance</name>
@@ -828,10 +1235,10 @@
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>qreal</type> <type>double</type>
<name>outerPenWidth</name> <name>outerPenWidth</name>
<anchorfile>classHomoEFieldItem.html</anchorfile> <anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>cfb50de7491e749ebe97d999a52c87f8</anchor> <anchor>4840f70bbff810d577f0e12d02cad3c5</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
@@ -841,6 +1248,13 @@
<anchor>61ec658ae8e92cb5788193673e26e2c6</anchor> <anchor>61ec658ae8e92cb5788193673e26e2c6</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>double</type>
<name>fieldPower</name>
<anchorfile>classHomoEFieldItem.html</anchorfile>
<anchor>a7f1fc2b7bd25a6d809b6b0f6c87a61d</anchor>
<arglist></arglist>
</member>
</compound> </compound>
<compound kind="class"> <compound kind="class">
<name>HomoEFieldWidget</name> <name>HomoEFieldWidget</name>
@@ -1031,6 +1445,13 @@
<anchor>89e420be0bf3e0024f670c672ec7fcac</anchor> <anchor>89e420be0bf3e0024f670c672ec7fcac</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>QDockWidget *</type>
<name>probeItemDock</name>
<anchorfile>classlsim.html</anchorfile>
<anchor>d5c9b1bcfd7d20398c928feaf7287341</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>QDockWidget *</type> <type>QDockWidget *</type>
<name>dock_2</name> <name>dock_2</name>
@@ -1106,6 +1527,45 @@
<anchor>0fa3737ce6c6e20dfc83695d8201ad80</anchor> <anchor>0fa3737ce6c6e20dfc83695d8201ad80</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable">
<type>QAction *</type>
<name>insertBFieldItemAct</name>
<anchorfile>structlsim_1_1Actions.html</anchorfile>
<anchor>96d1e49194d341c87f3b65c5a2966e1b</anchor>
<arglist></arglist>
</member>
</compound>
<compound kind="class">
<name>ProbeChargeWidget</name>
<filename>classProbeChargeWidget.html</filename>
<member kind="function">
<type></type>
<name>ProbeChargeWidget</name>
<anchorfile>classProbeChargeWidget.html</anchorfile>
<anchor>e88c444c117432b7666b7e6b3c719e09</anchor>
<arglist>(QWidget *parent, Qt::WindowFlags f, GraphicsEllipseItem *ellipse)</arglist>
</member>
<member kind="function" virtualness="virtual">
<type>virtual</type>
<name>~ProbeChargeWidget</name>
<anchorfile>classProbeChargeWidget.html</anchorfile>
<anchor>92bfc7bf9830202cf8af20dcd225c0f7</anchor>
<arglist>()</arglist>
</member>
<member kind="function" protection="private">
<type>void</type>
<name>createWidget</name>
<anchorfile>classProbeChargeWidget.html</anchorfile>
<anchor>de5cf27832e81631793f84acee49fd37</anchor>
<arglist>()</arglist>
</member>
<member kind="variable" protection="private">
<type>GraphicsEllipseItem *</type>
<name>ellipseItem</name>
<anchorfile>classProbeChargeWidget.html</anchorfile>
<anchor>bb1a19fcd6b3b7fd541dd05f20e0b687</anchor>
<arglist></arglist>
</member>
</compound> </compound>
<compound kind="class"> <compound kind="class">
<name>SimulScene</name> <name>SimulScene</name>
@@ -1128,6 +1588,12 @@
<anchor>9a5e7fd2816ae007a43df2587bcbb93cbd43d167a779e8b894de1426d29673c7</anchor> <anchor>9a5e7fd2816ae007a43df2587bcbb93cbd43d167a779e8b894de1426d29673c7</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="enumvalue">
<name>HomoBFieldItemInsert</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>9a5e7fd2816ae007a43df2587bcbb93c0246be3b5ff9623c764e0c268856efa8</anchor>
<arglist></arglist>
</member>
<member kind="enumeration"> <member kind="enumeration">
<name>ItemType</name> <name>ItemType</name>
<anchorfile>classSimulScene.html</anchorfile> <anchorfile>classSimulScene.html</anchorfile>
@@ -1182,6 +1648,20 @@
<anchor>c4fa7c31f3b54b3652316c8a5ca11af5</anchor> <anchor>c4fa7c31f3b54b3652316c8a5ca11af5</anchor>
<arglist>(int steps)</arglist> <arglist>(int steps)</arglist>
</member> </member>
<member kind="slot">
<type>void</type>
<name>setMeterPerPx</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>a37dfa5639e4aa0535d50b337ec19532</anchor>
<arglist>(double theValue)</arglist>
</member>
<member kind="slot">
<type>double</type>
<name>getMeterPerPx</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>501a15eebf6fdb98bff8984a370c3197</anchor>
<arglist>() const </arglist>
</member>
<member kind="signal"> <member kind="signal">
<type>void</type> <type>void</type>
<name>sceneModeChanged</name> <name>sceneModeChanged</name>
@@ -1203,6 +1683,13 @@
<anchor>b0f32d8ad757b9901a4b86b6e3f75e5a</anchor> <anchor>b0f32d8ad757b9901a4b86b6e3f75e5a</anchor>
<arglist>(double timePerStep)</arglist> <arglist>(double timePerStep)</arglist>
</member> </member>
<member kind="signal">
<type>void</type>
<name>meterPerPxChanged</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>e2a1abff3b5f2b7f1fdc7d97d39a7e41</anchor>
<arglist>(double meterPerPx)</arglist>
</member>
<member kind="function"> <member kind="function">
<type></type> <type></type>
<name>SimulScene</name> <name>SimulScene</name>
@@ -1240,17 +1727,17 @@
</member> </member>
<member kind="function"> <member kind="function">
<type>double</type> <type>double</type>
<name>getPowerXAt</name> <name>getPowerAt</name>
<anchorfile>classSimulScene.html</anchorfile> <anchorfile>classSimulScene.html</anchorfile>
<anchor>01214a21cfac1d40199b56c9dda0e2d2</anchor> <anchor>31ffa4052da42a3b5b193e9dde0e1e1c</anchor>
<arglist>(QPointF point)</arglist> <arglist>(QPointF point, double charge, char xy)</arglist>
</member> </member>
<member kind="function"> <member kind="function">
<type>double</type> <type>QWidget *</type>
<name>getPowerYAt</name> <name>getProbeDockWidget</name>
<anchorfile>classSimulScene.html</anchorfile> <anchorfile>classSimulScene.html</anchorfile>
<anchor>0ed98fb4a8da5049481e9d4e220954e4</anchor> <anchor>db0106ca0245b674a71c50c93e901df3</anchor>
<arglist>(QPointF point)</arglist> <arglist>() const </arglist>
</member> </member>
<member kind="function" protection="protected"> <member kind="function" protection="protected">
<type>void</type> <type>void</type>
@@ -1336,6 +1823,13 @@
<anchor>e315ef1c3adb6c3964b039a6479a351d</anchor> <anchor>e315ef1c3adb6c3964b039a6479a351d</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>double</type>
<name>meterPerPx</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>31eca12990de4da6232736388bdb2f58</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>HomoEFieldItem *</type> <type>HomoEFieldItem *</type>
<name>currHomoEfieldInsertItem</name> <name>currHomoEfieldInsertItem</name>
@@ -1350,6 +1844,20 @@
<anchor>44b79f0338746c6a3ff19a785921749d</anchor> <anchor>44b79f0338746c6a3ff19a785921749d</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>HomoBFieldItem *</type>
<name>currHomoBfieldInsertItem</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>8e4f218fe3cd75c2d6f753da5775a4f0</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private">
<type>HomoBFieldItem *</type>
<name>currHomoBfieldEditItem</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>83ea5fb292382dcb28e4379f37bcc72c</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>QGraphicsItem *</type> <type>QGraphicsItem *</type>
<name>pressedResizeItem</name> <name>pressedResizeItem</name>
@@ -1364,6 +1872,13 @@
<anchor>0b90514f60d295d61d991c35381e5623</anchor> <anchor>0b90514f60d295d61d991c35381e5623</anchor>
<arglist></arglist> <arglist></arglist>
</member> </member>
<member kind="variable" protection="private">
<type>QGraphicsItemAnimation *</type>
<name>ani</name>
<anchorfile>classSimulScene.html</anchorfile>
<anchor>fbc2ba594bd06cb4581d4c649ddf9efb</anchor>
<arglist></arglist>
</member>
<member kind="variable" protection="private"> <member kind="variable" protection="private">
<type>resizeRects</type> <type>resizeRects</type>
<name>reRects</name> <name>reRects</name>

View File

@@ -31,8 +31,9 @@ HomoBFieldItem::HomoBFieldItem(QRectF sizeRect): FieldItem() {
setFlag(ItemIsSelectable); setFlag(ItemIsSelectable);
setFlag(ItemIsFocusable); setFlag(ItemIsFocusable);
setOuterPenWidth (2); setOuterPenWidth (2);
setIsDirectionIntoPlane(true);
dockWidget = new HomoBFieldWidget(0,0,this); dockWidget = new HomoBFieldWidget(0,0,this);
setIsDirectionIntoPlane(true);
setFluxDensity(233);
} }
@@ -172,6 +173,19 @@ bool HomoBFieldItem::getIsDirectionIntoPlane() const {
void HomoBFieldItem::setIsDirectionIntoPlane ( bool theValue ) { void HomoBFieldItem::setIsDirectionIntoPlane ( bool theValue ) {
if(isDirectionIntoPlane == theValue) return; if(isDirectionIntoPlane == theValue) return;
prepareGeometryChange();
isDirectionIntoPlane = theValue; isDirectionIntoPlane = theValue;
emit directionChanged(theValue); emit directionChanged(theValue);
} }
double HomoBFieldItem::getFluxDensity() const {
return fluxDensity;
}
void HomoBFieldItem::setFluxDensity ( double theValue ) {
if(fluxDensity == theValue) return;
fluxDensity = theValue;
emit fluxDensityChanged(theValue);
}

View File

@@ -48,12 +48,17 @@ class HomoBFieldItem : public FieldItem {
double getOuterPenWidth() const; double getOuterPenWidth() const;
bool getIsDirectionIntoPlane() const; bool getIsDirectionIntoPlane() const;
double getFluxDensity() const;
public slots: public slots:
void setOuterPenWidth ( double theValue ); void setOuterPenWidth ( double theValue );
void setFieldLineDistance ( int theValue ); void setFieldLineDistance ( int theValue );
void setIsDirectionIntoPlane ( bool theValue ); void setIsDirectionIntoPlane ( bool theValue );
void setFluxDensity ( double theValue );
signals: signals:
void directionChanged(bool theValue); void directionChanged(bool theValue);
void fluxDensityChanged(double theValue);
private: private:
//! Abstand der Feldlinien in der Zeichnung //! Abstand der Feldlinien in der Zeichnung
@@ -61,10 +66,15 @@ class HomoBFieldItem : public FieldItem {
double outerPenWidth; double outerPenWidth;
//! Gibt an, ob das Feld in die Ebene Zeigt oder heraus (true == in die Ebene) //! Gibt an, ob das Feld in die Ebene Zeigt oder heraus (true == in die Ebene hinein)
bool isDirectionIntoPlane; bool isDirectionIntoPlane;
HomoBFieldWidget* dockWidget; HomoBFieldWidget* dockWidget;
///! Enth&auml;t die Magnetische Flussdichte B in Tesla
double fluxDensity;
}; };

View File

@@ -25,7 +25,8 @@
#include <QDial> #include <QDial>
#include <QGroupBox> #include <QGroupBox>
#include <QLabel> #include <QLabel>
#include <QRadioButton>
#include <QButtonGroup>
HomoBFieldWidget::HomoBFieldWidget(QWidget* parent, Qt::WindowFlags f, HomoBFieldItem* bField):QWidget(parent, f) { HomoBFieldWidget::HomoBFieldWidget(QWidget* parent, Qt::WindowFlags f, HomoBFieldItem* bField):QWidget(parent, f) {
homoBField = bField; homoBField = bField;
@@ -33,11 +34,6 @@ HomoBFieldWidget::HomoBFieldWidget(QWidget* parent, Qt::WindowFlags f, HomoBFiel
} }
void HomoBFieldWidget::createWidget() { void HomoBFieldWidget::createWidget() {
QDial *rotationDial = new QDial;
rotationDial->setRange(0,359);
rotationDial->setNotchesVisible(true);
rotationDial->setWrapping(true);
QDoubleSpinBox *heightBox = new QDoubleSpinBox; QDoubleSpinBox *heightBox = new QDoubleSpinBox;
heightBox->setRange(HomoBFieldItem::MinimumHeight, 5000); heightBox->setRange(HomoBFieldItem::MinimumHeight, 5000);
@@ -53,7 +49,6 @@ void HomoBFieldWidget::createWidget() {
QLabel* yLabel = new QLabel(tr("y:")); QLabel* yLabel = new QLabel(tr("y:"));
QLabel* widthLabel = new QLabel(tr("Breite(l):")); QLabel* widthLabel = new QLabel(tr("Breite(l):"));
QLabel* heightLabel = new QLabel(tr("H\366he(d):")); QLabel* heightLabel = new QLabel(tr("H\366he(d):"));
QLabel* rotationLabel = new QLabel(tr("Rotation:"));
QDoubleSpinBox *posXBox = new QDoubleSpinBox; QDoubleSpinBox *posXBox = new QDoubleSpinBox;
posXBox->setRange(-5000, 5000); posXBox->setRange(-5000, 5000);
@@ -65,60 +60,68 @@ void HomoBFieldWidget::createWidget() {
connect(homoBField ,SIGNAL(ScenePosYChanged(double)),posYBox, SLOT(setValue(double)) ); connect(homoBField ,SIGNAL(ScenePosYChanged(double)),posYBox, SLOT(setValue(double)) );
connect(posYBox, SIGNAL(valueChanged(double)),homoBField ,SLOT(setScenePosY(double)) ); connect(posYBox, SIGNAL(valueChanged(double)),homoBField ,SLOT(setScenePosY(double)) );
QSpinBox* rotationBox = new QSpinBox;
rotationBox->setRange(0,359);
rotationBox->setSuffix("\260");
rotationBox->setWrapping(true);
//connect(rotationDial, SIGNAL(valueChanged(int)),rotationBox ,SIGNAL(valueChanged(int)) );
//connect(rotationDial, SIGNAL(valueChanged(int)),rotationBox,SLOT(setValue(int)) );
//connect(rotationBox, SIGNAL(valueChanged(int)),homoEField ,SLOT(setRotation(int)) );
//connect(rotationBox, SIGNAL(valueChanged(int)),rotationDial ,SLOT(setValue(int)) );
QGridLayout* geomGridLayout = new QGridLayout; QGridLayout* geomGridLayout = new QGridLayout;
//geomGridLayout->setSizeConstraint(QLayout::SetFixedSize); //geomGridLayout->setSizeConstraint(QLayout::SetFixedSize);
geomGridLayout->addWidget(heightBox,3,1);
geomGridLayout->addWidget(posYBox,1,1);
geomGridLayout->addWidget(posXBox,0,1);
geomGridLayout->addWidget(xLabel,0,0,Qt::AlignRight);
geomGridLayout->addWidget(yLabel,1,0,Qt::AlignRight);
geomGridLayout->addWidget(heightLabel,3,0,Qt::AlignRight);
geomGridLayout->addWidget(widthLabel,2,0,Qt::AlignRight);
geomGridLayout->addWidget(widthBox,2,1);
geomGridLayout->addWidget(heightBox,4,1);
geomGridLayout->addWidget(rotationBox,0,1);
geomGridLayout->addWidget(posYBox,2,1);
geomGridLayout->addWidget(posXBox,1,1);
geomGridLayout->addWidget(xLabel,1,0,Qt::AlignRight);
geomGridLayout->addWidget(yLabel,2,0,Qt::AlignRight);
geomGridLayout->addWidget(heightLabel,4,0,Qt::AlignRight);
geomGridLayout->addWidget(widthLabel,3,0,Qt::AlignRight);
geomGridLayout->addWidget(rotationLabel,0,0,Qt::AlignRight);
geomGridLayout->addWidget(widthBox,3,1);
//geomGridLayout->addWidget(rotationDial, 1,0,2,2);
QGroupBox* geometryBox = new QGroupBox(tr("Geometrie")); QGroupBox* geometryBox = new QGroupBox(tr("Geometrie"));
geometryBox->setLayout(geomGridLayout); geometryBox->setLayout(geomGridLayout);
QLabel* fieldPowerLabel = new QLabel(tr("Feldst\344rke:")); QLabel* fieldFluxDensityLabel = new QLabel(tr("Flussdichte(B):"));
QLabel* voltageLabel = new QLabel(tr("Spannung:"));
ExpDoubleSpinBox* fieldPowerBox = new ExpDoubleSpinBox;
fieldPowerBox->setRange(-1e+200,1e+200);
connect(homoBField ,SIGNAL(fieldPowerChanged(double)),fieldPowerBox, SLOT(setValue(double)) );
connect(fieldPowerBox, SIGNAL(valueChanged(double)),homoBField ,SLOT(setFieldPower(double)) );
ExpDoubleSpinBox* fieldFluxDensityBox = new ExpDoubleSpinBox;
fieldFluxDensityBox->setRange(-1e+200,1e+200);
connect(homoBField ,SIGNAL(fluxDensityChanged(double)),fieldFluxDensityBox, SLOT(setValue(double)) );
connect(fieldFluxDensityBox, SIGNAL(valueChanged(double)),homoBField ,SLOT(setFluxDensity(double)) );
QGridLayout* constGridLayout = new QGridLayout; QGridLayout* constGridLayout = new QGridLayout;
//constGridLayout->setSizeConstraint(QLayout::SetFixedSize); //constGridLayout->setSizeConstraint(QLayout::SetFixedSize);
constGridLayout->addWidget(fieldPowerBox,0,1); constGridLayout->addWidget(fieldFluxDensityBox,0,1);
constGridLayout->addWidget(fieldPowerLabel,0,0,Qt::AlignRight); constGridLayout->addWidget(fieldFluxDensityLabel,0,0,Qt::AlignRight);
QGroupBox* fieldConstantsBox = new QGroupBox(tr("Feldkonstanten")); QGroupBox* fieldConstantsBox = new QGroupBox(tr("Feldkonstanten"));
fieldConstantsBox->setLayout(constGridLayout); fieldConstantsBox->setLayout(constGridLayout);
QRadioButton* intoPlaneButton = new QRadioButton(tr("in die Ebene hinein"));
QRadioButton* outOfPlaneButton = new QRadioButton(tr("aus der Ebene heraus"));
connect(homoBField ,SIGNAL(directionChanged(bool)),intoPlaneButton, SLOT(setChecked(bool)) );
connect(intoPlaneButton, SIGNAL(toggled(bool)),homoBField ,SLOT(setIsDirectionIntoPlane(bool)) );
QButtonGroup* directionGroup = new QButtonGroup();
directionGroup->addButton(intoPlaneButton);
directionGroup->addButton(outOfPlaneButton);
QGridLayout* directionGridLayout = new QGridLayout;
directionGridLayout->addWidget(intoPlaneButton,0,0);
directionGridLayout->addWidget(outOfPlaneButton,1,0);
QGroupBox* fieldDirectionBox = new QGroupBox(tr("Feldrichtung"));
fieldDirectionBox->setLayout(directionGridLayout);
QVBoxLayout * mainLayout = new QVBoxLayout(this); QVBoxLayout * mainLayout = new QVBoxLayout(this);
mainLayout -> addWidget(geometryBox); mainLayout -> addWidget(geometryBox);
mainLayout -> addWidget(fieldDirectionBox);
mainLayout -> addWidget(fieldConstantsBox); mainLayout -> addWidget(fieldConstantsBox);
mainLayout -> addStretch(); mainLayout -> addStretch();
QWidget::setTabOrder (rotationBox, posXBox);
QWidget::setTabOrder (posXBox, posYBox); QWidget::setTabOrder (posXBox, posYBox);
QWidget::setTabOrder (posYBox, widthBox); QWidget::setTabOrder (posYBox, widthBox);
QWidget::setTabOrder (widthBox, heightBox); QWidget::setTabOrder (widthBox, heightBox);

View File

@@ -38,7 +38,7 @@ class HomoBFieldWidget : public QWidget
/*! /*!
\param parent Parent Widget, see Qt Documentaion \param parent Parent Widget, see Qt Documentaion
\param f Window Flags, see Qt Documentaion \param f Window Flags, see Qt Documentaion
\param eField HomoBFieldItem, zu dem das HomoBFieldWidget zugeordnet werden soll \param bField HomoBFieldItem, zu dem das HomoBFieldWidget zugeordnet werden soll
*/ */
HomoBFieldWidget(QWidget* parent, Qt::WindowFlags f, HomoBFieldItem* bField); HomoBFieldWidget(QWidget* parent, Qt::WindowFlags f, HomoBFieldItem* bField);

View File

@@ -105,7 +105,7 @@ void HomoEFieldWidget::createWidget()
geometryBox->setLayout(geomGridLayout); geometryBox->setLayout(geomGridLayout);
QLabel* fieldPowerLabel = new QLabel(tr("Feldst\344rke:")); QLabel* fieldPowerLabel = new QLabel(tr("Feldst\344rke(E):"));
QLabel* voltageLabel = new QLabel(tr("Spannung:")); QLabel* voltageLabel = new QLabel(tr("Spannung:"));
ExpDoubleSpinBox* fieldPowerBox = new ExpDoubleSpinBox; ExpDoubleSpinBox* fieldPowerBox = new ExpDoubleSpinBox;