1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2012 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 #include <glib-object.h>
21 #include "psppire-dialog-action.h"
23 #ifndef __PSPPIRE_DIALOG_ACTION_FREQUENCIES_H__
24 #define __PSPPIRE_DIALOG_ACTION_FREQUENCIES_H__
29 #define PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES (psppire_dialog_action_frequencies_get_type ())
31 #define PSPPIRE_DIALOG_ACTION_FREQUENCIES(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33 PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES, \
34 PsppireDialogActionFrequencies))
36 #define PSPPIRE_DIALOG_ACTION_FREQUENCIES_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_CAST ((klass), \
38 PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES, \
39 PsppireDialogActionFrequenciesClass))
42 #define PSPPIRE_IS_DIALOG_ACTION_FREQUENCIES(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES))
45 #define PSPPIRE_IS_DIALOG_ACTION_FREQUENCIES_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES))
49 #define PSPPIRE_DIALOG_ACTION_FREQUENCIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
50 PSPPIRE_TYPE_DIALOG_ACTION_FREQUENCIES, \
51 PsppireDialogActionFrequenciesClass))
53 typedef struct _PsppireDialogActionFrequencies PsppireDialogActionFrequencies;
54 typedef struct _PsppireDialogActionFrequenciesClass PsppireDialogActionFrequenciesClass;
79 struct _PsppireDialogActionFrequencies
81 PsppireDialogAction parent;
84 gboolean dispose_has_run ;
89 GtkWidget *include_missing;
91 enum frq_order tables_opts_order;
92 enum frq_table tables_opts_table;
93 gint tables_opts_limit;
98 GtkWidget * limit_spinbutton;
105 GtkWidget *tables_dialog;
117 gboolean charts_opts_use_min;
118 gdouble charts_opts_min;
120 gboolean charts_opts_use_max;
121 gdouble charts_opts_max;
123 gboolean charts_opts_draw_hist;
124 gboolean charts_opts_draw_normal;
126 gboolean charts_opts_draw_pie;
127 gboolean charts_opts_pie_include_missing;
130 enum frq_scale charts_opts_scale;
135 GtkWidget *pie_include_missing;
137 GtkWidget *charts_dialog;
141 struct _PsppireDialogActionFrequenciesClass
143 PsppireDialogActionClass parent_class;
147 GType psppire_dialog_action_frequencies_get_type (void) ;
151 #endif /* __PSPPIRE_DIALOG_ACTION_FREQUENCIES_H__ */