1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2012, 2020 Free Software Foundation
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 #ifndef __PSPPIRE_DIALOG_ACTION_EXAMINE_H__
19 #define __PSPPIRE_DIALOG_ACTION_EXAMINE_H__
21 #include <glib-object.h>
24 #include "psppire-dialog-action.h"
29 #define PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE (psppire_dialog_action_examine_get_type ())
31 #define PSPPIRE_DIALOG_ACTION_EXAMINE(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33 PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE, PsppireDialogActionExamine))
35 #define PSPPIRE_DIALOG_ACTION_EXAMINE_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST ((klass), \
37 PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE, \
38 PsppireDialogActionExamineClass))
41 #define PSPPIRE_IS_DIALOG_ACTION_EXAMINE(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE))
44 #define PSPPIRE_IS_DIALOG_ACTION_EXAMINE_CLASS(klass) \
45 (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE))
48 #define PSPPIRE_DIALOG_ACTION_EXAMINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49 PSPPIRE_TYPE_DIALOG_ACTION_EXAMINE, \
50 PsppireDialogActionExamineClass))
52 typedef struct _PsppireDialogActionExamine PsppireDialogActionExamine;
53 typedef struct _PsppireDialogActionExamineClass PsppireDialogActionExamineClass;
56 enum PsppireDialogActionExamineOpts
63 enum PsppireDialogActionExaminePlotsBoxplots
70 enum PsppireDialogActionExaminePlotsSpreadlevel
78 enum PsppireDialogActionExaminePlotsSpreadpower
83 SPREADPOWER_SQUAREROOT,
85 SPREADPOWER_RECIPROCAL
88 struct _PsppireDialogActionExamine
90 PsppireDialogAction parent;
97 GtkWidget *display_both_button;
98 GtkWidget *display_stats_button;
99 GtkWidget *display_plots_button;
101 /* The stats dialog */
102 GtkWidget *stats_dialog;
103 GtkWidget *descriptives_button;
104 GtkWidget *extremes_button;
105 GtkWidget *percentiles_button;
108 /* The options dialog */
109 GtkWidget *opts_dialog;
113 enum PsppireDialogActionExamineOpts opts;
115 /* The plots dialog */
116 GtkWidget *plots_dialog;
117 GtkWidget *boxplot_factors_button;
118 GtkWidget *boxplot_dependents_button;
119 GtkWidget *boxplot_none_button;
120 enum PsppireDialogActionExaminePlotsBoxplots boxplots;
121 GtkWidget *histogram_button;
123 GtkWidget *npplots_button;
125 GtkWidget *spread_none_button;
126 GtkWidget *spread_power_button;
127 GtkWidget *spread_trans_button;
128 GtkWidget *spread_untrans_button;
129 enum PsppireDialogActionExaminePlotsSpreadlevel spreadlevel;
130 GtkWidget *spread_power_combo;
131 enum PsppireDialogActionExaminePlotsSpreadpower spreadpower;
136 struct _PsppireDialogActionExamineClass
138 PsppireDialogActionClass parent_class;
142 GType psppire_dialog_action_examine_get_type (void) ;
146 #endif /* __PSPPIRE_DIALOG_ACTION_EXAMINE_H__ */