Blender  V3.3
Functions
spreadsheet_row_filter_ui.cc File Reference
#include <cstring>
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "BLI_string_ref.hh"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BKE_screen.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "BLT_translation.h"
#include "WM_api.h"
#include "WM_types.h"
#include "spreadsheet_column.hh"
#include "spreadsheet_intern.hh"
#include "spreadsheet_row_filter.hh"
#include "spreadsheet_row_filter_ui.hh"

Go to the source code of this file.

Functions

static void filter_panel_id_fn (void *UNUSED(row_filter_v), char *r_name)
 
static std::string operation_string (const eSpreadsheetColumnValueType data_type, const eSpreadsheetFilterOperation operation)
 
static std::string value_string (const SpreadsheetRowFilter &row_filter, const eSpreadsheetColumnValueType data_type)
 
static SpreadsheetColumnlookup_visible_column_for_filter (const SpaceSpreadsheet &sspreadsheet, const StringRef column_name)
 
static void spreadsheet_filter_panel_draw_header (const bContext *C, Panel *panel)
 
static void spreadsheet_filter_panel_draw (const bContext *C, Panel *panel)
 
static void spreadsheet_row_filters_layout (const bContext *C, Panel *panel)
 
static void filter_reorder (bContext *C, Panel *panel, int new_index)
 
static short get_filter_expand_flag (const bContext *UNUSED(C), Panel *panel)
 
static void set_filter_expand_flag (const bContext *UNUSED(C), Panel *panel, short expand_flag)
 
void register_row_filter_panels (ARegionType &region_type)
 

Function Documentation

◆ filter_panel_id_fn()

static void filter_panel_id_fn ( void UNUSEDrow_filter_v,
char *  r_name 
)
static

Definition at line 33 of file spreadsheet_row_filter_ui.cc.

References BKE_ST_MAXNAME, and BLI_snprintf().

Referenced by spreadsheet_row_filters_layout().

◆ filter_reorder()

static void filter_reorder ( bContext C,
Panel panel,
int  new_index 
)
static

◆ get_filter_expand_flag()

static short get_filter_expand_flag ( const bContext UNUSEDC,
Panel panel 
)
static

◆ lookup_visible_column_for_filter()

static SpreadsheetColumn* lookup_visible_column_for_filter ( const SpaceSpreadsheet sspreadsheet,
const StringRef  column_name 
)
static

◆ operation_string()

static std::string operation_string ( const eSpreadsheetColumnValueType  data_type,
const eSpreadsheetFilterOperation  operation 
)
static

◆ register_row_filter_panels()

void register_row_filter_panels ( ARegionType region_type)

◆ set_filter_expand_flag()

static void set_filter_expand_flag ( const bContext UNUSEDC,
Panel panel,
short  expand_flag 
)
static

◆ spreadsheet_filter_panel_draw()

static void spreadsheet_filter_panel_draw ( const bContext C,
Panel panel 
)
static

◆ spreadsheet_filter_panel_draw_header()

static void spreadsheet_filter_panel_draw_header ( const bContext C,
Panel panel 
)
static

◆ spreadsheet_row_filters_layout()

static void spreadsheet_row_filters_layout ( const bContext C,
Panel panel 
)
static

◆ value_string()

static std::string value_string ( const SpreadsheetRowFilter row_filter,
const eSpreadsheetColumnValueType  data_type 
)
static