1. 02 Aug, 2018 1 commit
    • Bob Obara's avatar
      ENH: Getting Association Widget to wotk in SMTK 3 · f0f150ee
      Bob Obara authored
      - Also addressed a bug in the V1/V2 XML Parser that was not properly loading in
      Association Rules
      
      - Also replaced cases where code was getting raw pointers from shared pointers unnecessarily
      
      - Also added an owningModel() method to model::Entity to return its owrning model
      f0f150ee
  2. 30 Jul, 2018 1 commit
    • Bob Obara's avatar
      ENH: Providing ability for better GUI control for attribute items · 71dfe1f9
      Bob Obara authored
      Added the ability to define Views for Attribute Items. This is supported in
      Attribute, Instanced, ModelEntityAttribute, and Operator View classes.  Group related views
      are not directly effected.
      
      Here is an example:
      
          <View Type="Instanced" Title="Frequency Information">
            <InstancedAttributes>
              <Att Name="EigenSolver" Type="FrequencyInfo">
                <ItemViews>
                  <View Item="NumEigenvalues" Type="Default" Option="SpinBox"/>
                  <View Item="FrequencyShift" Option="SpinBox" StepSize="100" Decimals="0"/>
                </ItemViews>
              </Att>
            </InstancedAttributes>
          </View>
      
      The Item attribute is mandatory. If the Type attribute is missing then it is assumed to be
      Default.  The rest of the information is then processed by the qtItem class that is being
      created. To demonstrate this I have added spinbox options for both IntItem and DoubleItem for their
      default qtItem class (qtInputsItem).
      
      This mechanism can be extended to add custom GUI's for items.
      71dfe1f9
  3. 21 Mar, 2018 1 commit
  4. 12 Feb, 2018 1 commit
  5. 28 Nov, 2017 1 commit
    • Bob Obara's avatar
      BUG: Fixed issue related to Selection Manager and qtModelItem · 8708c012
      Bob Obara authored
      The problem was that by default every time a qtModelItem was displayed it would
      update itself based on the curent selection.  While this behavior is correct for
      Operators it is not correct for defining a Simulation.
      
      A mode has been added to qtViews, qtItems and qtAttribute to indicate if this
      behavior is desirable - note that the class can still choose to ignore this option and
      use the older manual mode - for example if an attrbute had two model enity items that
      shared the same selection masks
      8708c012
  6. 08 Sep, 2017 1 commit
  7. 30 Aug, 2017 1 commit
    • Bob Obara's avatar
      ENH: Adding mechanism to auto update qtModelEntityItems · e477d856
      Bob Obara authored
      The Selection Manager can now automatically update the model entities the
      object has.  Note that this implementation has the following restrictions:
      
      1. Only one ModelEntityItem can exist in the top level of the attribute
      2. Only one ModelEntityItem can exist as a child in an value item
      
      In the future it should be possible to get past these limitations.
      e477d856
  8. 26 Apr, 2017 1 commit
  9. 05 Apr, 2017 1 commit
  10. 29 Mar, 2017 1 commit
  11. 18 Oct, 2016 1 commit
  12. 17 Oct, 2016 1 commit
  13. 18 Jun, 2016 1 commit
  14. 24 May, 2016 1 commit
  15. 18 May, 2016 1 commit
  16. 09 Dec, 2014 1 commit
  17. 26 Sep, 2014 1 commit
  18. 24 Sep, 2014 2 commits
  19. 27 May, 2014 2 commits
  20. 14 May, 2014 1 commit
  21. 04 May, 2014 1 commit
    • Yumin Yuan's avatar
      Made Conditional children widgets use more horizontal space. · 76b9b0e5
      Yumin Yuan authored
      Like the qtAttRefItem, the discrete value item could have conditional children whose widgets occupy a lot of horizontal space, so to make these chidren widgets use more horizontal space, the layout for this type of value item is changed so that it will go vertical if there are more components, and the children widgets will also go beyond the contraint of its parent layout and use more horizontal space.
      76b9b0e5
  22. 02 May, 2014 1 commit
  23. 30 Apr, 2014 1 commit
    • Yumin Yuan's avatar
      Made label lenth a bit smarter for instanced view. · cf2ce4bd
      Yumin Yuan authored
      The attribute item labels vary quite a bit, and a fixed global label length does not always look so well, and wastes a lot of horizontal space if the labels are shorter than the global length, though they do line up nicely. Some logic is added so that we go through the attribute items first to find the longest label as a hint combined with the global length to decide the appropriate length for labels.
      cf2ce4bd
  24. 22 Apr, 2014 1 commit