psppire: add "Plots" subdialog for examine (Explore)
[pspp] / src / ui / gui / examine.ui
index 23d57e973d81c2c6c0e37f04d11ed375e057e3a4..723b11451cb94578ac404ab56ae0ce92886eb5c4 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- PSPP - a program for statistical analysis. -->
-<!-- Copyright (C) 2017 Free Software Foundation, Inc. -->
+<!-- Copyright (C) 2017, 2020 Free Software Foundation, Inc. -->
 
 <!-- This program is free software: you can redistribute it and/or modify -->
 <!-- it under the terms of the GNU General Public License as published by -->
                 <property name="position">0</property>
               </packing>
             </child>
+           <child>
+             <object class="GtkFrame" id="display-frame">
+               <property name="visible">True</property>
+               <child>
+                 <object class="GtkBox" id="display-hbox">
+                   <property name="visible">True</property>
+                   <property name="orientation">horizontal</property>
+                   <child>
+                     <object class="GtkRadioButton" id="display-both-button">
+                       <property name="label" translatable="yes">Both</property>
+                       <property name="visible">True</property>
+                     </object>
+                   </child>
+                   <child>
+                     <object class="GtkRadioButton" id="display-stats-button">
+                       <property name="label" translatable="yes">Statistics</property>
+                       <property name="visible">True</property>
+                       <property name="group">display-both-button</property>
+                     </object>
+                   </child>
+                   <child>
+                     <object class="GtkRadioButton" id="display-plots-button">
+                       <property name="label" translatable="yes">Plots</property>
+                       <property name="visible">True</property>
+                       <property name="group">display-both-button</property>
+                     </object>
+                   </child>
+                 </object>
+               </child>
+               <child type="label">
+                 <object class="GtkLabel" id="display-label">
+                    <property name="visible">True</property>
+                    <property name="label" translatable="yes">Display</property>
+                    <property name="use_markup">True</property>
+                 </object>
+               </child>
+              </object>
+             <packing>
+                <property name="position">1</property>
+              </packing>
+           </child>
             <child>
               <object class="GtkButtonBox" id="hbuttonbox1">
                 <property name="visible">True</property>
                     <property name="position">1</property>
                   </packing>
                 </child>
+                <child>
+                  <object class="GtkButton" id="plots-button">
+                    <property name="label" translatable="yes">Plot...</property>
+                   <property name="visible">True</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="padding">5</property>
-                <property name="position">1</property>
+                <property name="position">2</property>
               </packing>
             </child>
           </object>
       </object>
     </child>
   </object>
+  <object class="PsppireDialog" id="plots-dialog">
+    <property name="can_focus">False</property>
+    <property name="title" translatable="yes">Explore: Plots</property>
+    <property name="modal">True</property>
+    <property name="help-page">EXAMINE</property>
+    <child>
+      <object class="GtkBox" id="dialog-plot-vboxtop">
+        <property name="visible">True</property>
+        <property name="orientation">vertical</property>
+        <child>
+         <object class="GtkBox" id="dialog-plot-hboxplots">
+            <property name="visible">True</property>
+            <property name="orientation">horizontal</property>
+           <child>
+             <object class="GtkFrame" id="boxplot-frame">
+               <property name="visible">True</property>
+               <child>
+                 <object class="GtkBox" id="dialog-plot-vbox-boxplots">
+                   <property name="visible">True</property>
+                   <property name="orientation">vertical</property>
+                   <child>
+                     <object class="GtkRadioButton" id="boxplot-factors-button">
+                       <property name="label" translatable="yes">Factor levels together</property>
+                       <property name="visible">True</property>
+                     </object>
+                   </child>
+                   <child>
+                     <object class="GtkRadioButton" id="boxplot-dependents-button">
+                       <property name="label" translatable="yes">Dependents together</property>
+                       <property name="visible">True</property>
+                       <property name="group">boxplot-factors-button</property>
+                     </object>
+                   </child>
+                   <child>
+                     <object class="GtkRadioButton" id="boxplot-none-button">
+                       <property name="label" translatable="yes">None</property>
+                       <property name="visible">True</property>
+                       <property name="group">boxplot-factors-button</property>
+                     </object>
+                   </child>
+                 </object>
+               </child>
+               <child type="label">
+                 <object class="GtkLabel" id="boxplot-label">
+                    <property name="visible">True</property>
+                    <property name="label" translatable="yes">Boxplots</property>
+                    <property name="use_markup">True</property>
+                 </object>
+               </child>
+              </object>
+           </child>
+           <child>
+             <object class="GtkFrame" id="descriptive-frame">
+               <property name="visible">True</property>
+               <child>
+                 <object class="GtkCheckButton" id="histogram-button">
+                    <property name="label" translatable="yes">Histogram</property>
+                    <property name="visible">True</property>
+                 </object>
+               </child>
+               <child type="label">
+                 <object class="GtkLabel" id="descriptive-label">
+                    <property name="visible">True</property>
+                    <property name="label" translatable="yes">Descriptive</property>
+                    <property name="use_markup">True</property>
+                 </object>
+               </child>
+             </object>
+           </child>
+         </object>
+        </child>
+       <child>
+         <object class="GtkCheckButton" id="npplots-button">
+            <property name="label" translatable="yes">Normality plots with tests</property>
+            <property name="visible">True</property>
+         </object>
+       </child>
+       <child>
+         <object class="GtkFrame" id="spread-frame">
+           <property name="visible">True</property>
+           <child>
+             <object class="GtkBox" id="dialog-plot-vbox-spread">
+               <property name="visible">True</property>
+               <property name="orientation">vertical</property>
+               <child>
+                 <object class="GtkRadioButton" id="spread-none-button">
+                   <property name="label" translatable="yes">None</property>
+                   <property name="visible">True</property>
+                 </object>
+               </child>
+               <child>
+                 <object class="GtkRadioButton" id="spread-power-button">
+                   <property name="label" translatable="yes">Power estimation</property>
+                   <property name="visible">True</property>
+                   <property name="group">spread-none-button</property>
+                 </object>
+               </child>
+               <child>
+                 <object class="GtkBox" id="dialog-plot-hbox-spreadtrans">
+                   <property name="visible">True</property>
+                   <property name="orientation">horizontal</property>
+                   <child>
+                     <object class="GtkRadioButton" id="spread-trans-button">
+                       <property name="label" translatable="yes">Transformed Power:</property>
+                       <property name="visible">True</property>
+                       <property name="group">spread-none-button</property>
+                     </object>
+                   </child>
+                   <child>
+                     <object class="GtkComboBoxText" id="spread-power-combo">
+                       <property name="visible">True</property>
+                       <items>
+                         <item translatable="yes" id="natlog"    >Natural Log</item>
+                         <item translatable="yes" id="cube"      >Cube</item>
+                         <item translatable="yes" id="square"    >Square</item>
+                         <item translatable="yes" id="squareroot">Square Root</item>
+                         <item translatable="yes" id="recroot"   >Rec. Root</item>
+                         <item translatable="yes" id="reciprocal">Reciprocal</item>
+                       </items>
+                     </object>
+                   </child>
+                 </object>
+               </child>
+               <child>
+                 <object class="GtkRadioButton" id="spread-untrans-button">
+                   <property name="label" translatable="yes">Untransformed</property>
+                   <property name="visible">True</property>
+                   <property name="group">spread-none-button</property>
+                 </object>
+               </child>
+             </object>
+           </child>
+           <child type="label">
+             <object class="GtkLabel" id="spread-label">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">Spread vs Level with Levene Test</property>
+                <property name="use_markup">True</property>
+             </object>
+           </child>
+         </object>
+       </child>
+        <child>
+          <object class="PsppireButtonBox" id="psppire-plotbuttonbox">
+           <property name="orientation">horizontal</property>
+           <property name="visible">True</property>
+           <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
+          </object>
+        </child>
+      </object>
+    </child>
+  </object>
 </interface>