GnuCash  5.6-150-g038405b370+
Data Structures | Functions
gnc-plugin-page-register-filter.cpp File Reference

Functions providing a register page filter for the GnuCash UI. More...

#include <config.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "dialog-utils.h"
#include "gnc-date.h"
#include "gnc-date-edit.h"
#include "gnc-glib-utils.h"
#include "gnc-state.h"
#include "gnc-prefs.h"
#include "gnc-ui-util.h"
#include "gnc-window.h"
#include "gnc-main-window.h"
#include "engine-helpers.h"
#include "qofbookslots.h"
#include "qof.h"
#include "Query.h"
#include <algorithm>
#include <array>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "gnc-plugin-page-register.h"
#include "gnc-plugin-page-register-filter.hpp"

Go to the source code of this file.

Data Structures

struct  RegisterFilterDialog
 
struct  status_action
 

Functions

void gnc_ppr_filter_select_range_cb (GtkRadioButton *button, RegisterFilterDialog *rfd)
 This function is called when the radio buttons changes state. More...
 
void gnc_ppr_filter_start_cb (GtkWidget *radio, RegisterFilterDialog *rfd)
 This function is called when one of the start date radio buttons is selected. More...
 
void gnc_ppr_filter_end_cb (GtkWidget *radio, RegisterFilterDialog *rfd)
 This function is called when one of the end date radio buttons is selected. More...
 
void gnc_ppr_filter_response_cb (GtkDialog *dialog, gint response, RegisterFilterDialog *rfd)
 This function is called when the "Filter By…" dialog is closed. More...
 
void gnc_ppr_filter_status_select_all_cb (GtkButton *button, RegisterFilterDialog *rfd)
 This function is called whenever the "select all" status button is clicked. More...
 
void gnc_ppr_filter_status_clear_all_cb (GtkButton *button, RegisterFilterDialog *rfd)
 This function is called whenever the "clear all" status button is clicked. More...
 
void gnc_ppr_filter_status_one_cb (GtkToggleButton *button, RegisterFilterDialog *rfd)
 This function is called whenever one of the status entries is checked or unchecked. More...
 
void gnc_ppr_filter_save_cb (GtkToggleButton *button, RegisterFilterDialog *rfd)
 This function is called whenever the save status is checked or unchecked. More...
 
void gnc_ppr_filter_days_changed_cb (GtkSpinButton *button, RegisterFilterDialog *rfd)
 This function is called when the "number of days" spin button is changed which is then saved and updates the time limitation on the register query. More...
 
void gnc_ppr_filter_set_tooltip (GncPluginPage *plugin_page, FilterData *fd)
 This function is used to update the tooltip shown in the register which shows a summary of the current filter. More...
 
void gnc_ppr_filter_clear_current_filter (GncPluginPage *plugin_page)
 This function is used to clear the current filter so that a specific split can be shown in the register. More...
 
void gnc_ppr_filter_update_register (GncPluginPage *plugin_page)
 This function is called to update the register. More...
 
void gnc_ppr_filter_by (GncPluginPage *plugin_page, Query *query, FilterData *fd, bool show_save_button)
 This function is called for the filter dialog. More...
 

Detailed Description

Functions providing a register page filter for the GnuCash UI.

Author
Copyright (C) 2026 Bob Fewell

Definition in file gnc-plugin-page-register-filter.cpp.