GnuCash
4.11-354-g0815ab64c1
|
Functions providing a register page for the GnuCash UI. More...
#include <config.h>
#include <libguile.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "swig-runtime.h"
#include "guile-mappings.h"
#include "gnc-plugin-page-register.h"
#include "gnc-plugin-register.h"
#include "gnc-plugin-menu-additions.h"
#include "gnc-plugin-page-report.h"
#include "gnc-plugin-business.h"
#include "dialog-account.h"
#include "dialog-dup-trans.h"
#include "dialog-find-account.h"
#include "dialog-find-transactions.h"
#include "dialog-print-check.h"
#include "dialog-invoice.h"
#include "dialog-transfer.h"
#include "dialog-utils.h"
#include "assistant-stock-split.h"
#include "assistant-stock-transaction.h"
#include "gnc-component-manager.h"
#include "gnc-date.h"
#include "gnc-date-edit.h"
#include "gnc-engine.h"
#include "gnc-event.h"
#include "gnc-features.h"
#include "gnc-glib-utils.h"
#include "gnc-gnome-utils.h"
#include "gnc-gobject-utils.h"
#include "gnc-gui-query.h"
#include "gnc-icons.h"
#include "gnc-split-reg.h"
#include "gnc-state.h"
#include "gnc-prefs.h"
#include "gnc-ui-util.h"
#include "gnc-window.h"
#include "gnc-main-window.h"
#include "gnc-session.h"
#include "gnc-ui.h"
#include "gnc-warnings.h"
#include "gnucash-sheet.h"
#include "dialog-lot-viewer.h"
#include "Scrub.h"
#include "ScrubBusiness.h"
#include "qof.h"
#include "window-reconcile.h"
#include "window-autoclear.h"
#include "window-report.h"
#include "engine-helpers.h"
#include "qofbookslots.h"
Go to the source code of this file.
Data Structures | |
struct | status_action |
struct | GncPluginPageRegisterPrivate |
Macros | |
#define | DEFAULT_LINES_AMOUNT 50 |
#define | DEFAULT_FILTER_NUM_DAYS_GL "30" |
#define | CUT_TRANSACTION_LABEL N_("Cu_t Transaction") |
#define | COPY_TRANSACTION_LABEL N_("_Copy Transaction") |
#define | PASTE_TRANSACTION_LABEL N_("_Paste Transaction") |
#define | DUPLICATE_TRANSACTION_LABEL N_("Dup_licate Transaction") |
#define | DELETE_TRANSACTION_LABEL N_("_Delete Transaction") |
#define | LINK_TRANSACTION_LABEL N_("_Manage Document Link...") |
#define | LINK_TRANSACTION_OPEN_LABEL N_("_Open Linked Document") |
#define | JUMP_LINKED_INVOICE_LABEL N_("Jump to Invoice") |
#define | CUT_SPLIT_LABEL N_("Cu_t Split") |
#define | COPY_SPLIT_LABEL N_("_Copy Split") |
#define | PASTE_SPLIT_LABEL N_("_Paste Split") |
#define | DUPLICATE_SPLIT_LABEL N_("Dup_licate Split") |
#define | DELETE_SPLIT_LABEL N_("_Delete Split") |
#define | CUT_TRANSACTION_TIP N_("Cut the selected transaction into clipboard") |
#define | COPY_TRANSACTION_TIP N_("Copy the selected transaction into clipboard") |
#define | PASTE_TRANSACTION_TIP N_("Paste the transaction from the clipboard") |
#define | DUPLICATE_TRANSACTION_TIP N_("Make a copy of the current transaction") |
#define | DELETE_TRANSACTION_TIP N_("Delete the current transaction") |
#define | LINK_TRANSACTION_TIP N_("Add, change, or unlink the document linked with the current transaction") |
#define | LINK_TRANSACTION_OPEN_TIP N_("Open the linked document for the current transaction") |
#define | JUMP_LINKED_INVOICE_TIP N_("Jump to the linked bill, invoice, or voucher") |
#define | CUT_SPLIT_TIP N_("Cut the selected split into clipboard") |
#define | COPY_SPLIT_TIP N_("Copy the selected split into clipboard") |
#define | PASTE_SPLIT_TIP N_("Paste the split from the clipboard") |
#define | DUPLICATE_SPLIT_TIP N_("Make a copy of the current split") |
#define | DELETE_SPLIT_TIP N_("Delete the current split") |
#define | CLEARED_VALUE "cleared_value" |
#define | DEFAULT_FILTER "0x001f" |
#define | DEFAULT_SORT_ORDER "BY_STANDARD" |
#define | GNC_PLUGIN_PAGE_REGISTER_GET_PRIVATE(o) ((GncPluginPageRegisterPrivate*)g_type_instance_get_private((GTypeInstance*)o, GNC_TYPE_PLUGIN_PAGE_REGISTER)) |
#define | KEY_REGISTER_TYPE "RegisterType" |
#define | KEY_ACCOUNT_NAME "AccountName" |
#define | KEY_ACCOUNT_GUID "AccountGuid" |
#define | KEY_REGISTER_STYLE "RegisterStyle" |
#define | KEY_DOUBLE_LINE "DoubleLineMode" |
#define | LABEL_ACCOUNT "Account" |
#define | LABEL_SUBACCOUNT "SubAccount" |
#define | LABEL_GL "GL" |
#define | LABEL_SEARCH "Search" |
Functions | |
void | gnc_plugin_page_register_sort_button_cb (GtkToggleButton *button, GncPluginPageRegister *page) |
This function is called when a radio button in the "Sort By..." dialog is clicked. More... | |
void | gnc_plugin_page_register_sort_response_cb (GtkDialog *dialog, gint response, GncPluginPageRegister *page) |
This function is called when the "Sort By..." dialog is closed. More... | |
void | gnc_plugin_page_register_sort_order_save_cb (GtkToggleButton *button, GncPluginPageRegister *page) |
This function is called whenever the save sort order is checked or unchecked which allows saving of the sort order. More... | |
void | gnc_plugin_page_register_sort_order_reverse_cb (GtkToggleButton *button, GncPluginPageRegister *page) |
This function is called whenever the reverse sort order is checked or unchecked which allows reversing of the sort order. More... | |
void | gnc_plugin_page_register_set_sort_order (GncPluginPage *plugin_page, const gchar *sort_order) |
void | gnc_plugin_page_register_set_sort_reversed (GncPluginPage *plugin_page, gboolean reverse_order) |
void | gnc_plugin_page_register_filter_select_range_cb (GtkRadioButton *button, GncPluginPageRegister *page) |
This function is called when the radio buttons changes state. More... | |
void | gnc_plugin_page_register_filter_start_cb (GtkWidget *radio, GncPluginPageRegister *page) |
This function is called when one of the start date radio buttons is selected. More... | |
void | gnc_plugin_page_register_filter_end_cb (GtkWidget *radio, GncPluginPageRegister *page) |
This function is called when one of the end date radio buttons is selected. More... | |
void | gnc_plugin_page_register_filter_response_cb (GtkDialog *dialog, gint response, GncPluginPageRegister *page) |
This function is called when the "Filter By..." dialog is closed. More... | |
void | gnc_plugin_page_register_filter_status_all_cb (GtkButton *button, GncPluginPageRegister *page) |
This function is called whenever the "select all" status button is clicked. More... | |
void | gnc_plugin_page_register_filter_status_one_cb (GtkToggleButton *button, GncPluginPageRegister *page) |
This function is called whenever one of the status entries is checked or unchecked. More... | |
void | gnc_plugin_page_register_filter_save_cb (GtkToggleButton *button, GncPluginPageRegister *page) |
This function is called whenever the save status is checked or unchecked. More... | |
void | gnc_plugin_page_register_filter_days_changed_cb (GtkSpinButton *button, GncPluginPageRegister *page) |
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_plugin_page_register_set_filter (GncPluginPage *plugin_page, const gchar *filter) |
G_DEFINE_TYPE_WITH_PRIVATE (GncPluginPageRegister, gnc_plugin_page_register, GNC_TYPE_PLUGIN_PAGE) | |
GncPluginPage * | gnc_plugin_page_register_new (Account *account, gboolean subaccounts) |
Create a new "register" plugin page, given a pointer to an account. More... | |
GncPluginPage * | gnc_plugin_page_register_new_gl (void) |
Create a new "register" plugin page containing a general journal. More... | |
GncPluginPage * | gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger) |
Create a new "register" plugin page, given a pointer to an already created ledger. More... | |
Account * | gnc_plugin_page_register_get_account (GncPluginPageRegister *page) |
Get the Account associated with this register page. More... | |
Transaction * | gnc_plugin_page_register_get_current_txn (GncPluginPageRegister *page) |
Get the currently selected transaction in this register page. More... | |
Query * | gnc_plugin_page_register_get_query (GncPluginPage *plugin_page) |
This function is called to get the query associated with this plugin page. More... | |
void | gnc_plugin_page_register_clear_current_filter (GncPluginPage *plugin_page) |
This function clears the registers current filter. More... | |
void | gnc_plugin_page_register_set_options (GncPluginPage *plugin_page, gint lines_default, gboolean read_only) |
Set various register options on a newly created "register" plugin page. More... | |
GNCSplitReg * | gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page) |
Get the GNCSplitReg data structure associated with this register page. More... | |
Functions providing a register page for the GnuCash UI.
Definition in file gnc-plugin-page-register.c.