AIBrowser Class Reference

A simple browser for values available to an AISelector combining the List and Search features of the VirtualCluster widget. More...

#include <aiselectorprivate.h>

Public Slots

virtual void sSelected ()
 
virtual void sSelected (const QModelIndex &index)
 
virtual void sSelectionChanged (const QModelIndex &pIndex)
 

Public Member Functions

 AIBrowser (AISelector *pParent=0)
 
virtual ~AIBrowser ()
 

Public Attributes

AIBrowserModel * filteredModel
 
QTreeViewlist
 
QComboBoxmatchStyle
 
QPushButton * select
 

Detailed Description

A simple browser for values available to an AISelector combining the List and Search features of the VirtualCluster widget.

The AIBrowser has more methods of specifiying a search than the VirtualSearch: "wildcard", "starts with", and "contains" in addition to regular expression. The browser filters on the active column, excluding inactive records by default except for those records in the list of allowed inactive ids. This lets the displayed list match the AISelector's completer contents.

See also
VirtualCluster
AIBrowserModel

Constructor & Destructor Documentation

◆ AIBrowser()

AIBrowser::AIBrowser ( AISelector * pParent = 0)

◆ ~AIBrowser()

AIBrowser::~AIBrowser ( )
virtual

Member Function Documentation

◆ sSelected [1/2]

void AIBrowser::sSelected ( )
virtualslot

◆ sSelected [2/2]

void AIBrowser::sSelected ( const QModelIndex & index)
virtualslot

◆ sSelectionChanged

void AIBrowser::sSelectionChanged ( const QModelIndex & pIndex)
virtualslot

Member Data Documentation

◆ filteredModel

AIBrowserModel* AIBrowser::filteredModel

◆ list

QTreeView* AIBrowser::list

◆ matchStyle

QComboBox* AIBrowser::matchStyle

◆ select

QPushButton* AIBrowser::select

The documentation for this class was generated from the following files:

Generated on Mon Feb 17 2025 xTuple ERP Programmer Reference, Version 6.1.0 doxygen 1.11.0