All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions
Qtilities::CoreGui::ObserverTableModelProxyFilter Class Reference

The ObserverTableModelProxyFilter class is an implementation of a QSortFilterProxyModel which is used for advanced filtering in ObserverTreeModel. More...

#include <ObserverTableModelProxyFilter.h>

List of all members.

Public Member Functions

ObserverHintscustomHints () const
 This function will provide the custom hints of this proxy filter.
bool setCustomHints (ObserverHints *custom_hints)
 This function allows you to copy the custom hints used by this proxy filter from a different ObserverHints instance.
void toggleUseObserverHints (bool toggle)
 Function to toggle usage of hints from the active parent observer. If not custom hints will be used.
bool usesObserverHints () const
 Function to indicate if observer hints are used in this model. If not, the default hints in the model base class is used.

Detailed Description

The ObserverTableModelProxyFilter class is an implementation of a QSortFilterProxyModel which is used for advanced filtering in ObserverTreeModel.


Member Function Documentation

ObserverHints * Qtilities::CoreGui::ObserverTableModelProxyFilter::customHints ( ) const

This function will provide the custom hints of this proxy filter.

See also:
toggleUseObserverHints()

This function was added in Qtilities v1.2.

bool Qtilities::CoreGui::ObserverTableModelProxyFilter::setCustomHints ( ObserverHints custom_hints)

This function allows you to copy the custom hints used by this proxy filter from a different ObserverHints instance.

Note:
These hints are only used when usesObserverHints() is false.
The model will take ownership of the custom hints instance.
See also:
toggleUseObserverHints()

This function was added in Qtilities v1.2.

void Qtilities::CoreGui::ObserverTableModelProxyFilter::toggleUseObserverHints ( bool  toggle)

Function to toggle usage of hints from the active parent observer. If not custom hints will be used.

See also:
activeHints(), setCustomHints()

This function was added in Qtilities v1.2.

bool Qtilities::CoreGui::ObserverTableModelProxyFilter::usesObserverHints ( ) const

Function to indicate if observer hints are used in this model. If not, the default hints in the model base class is used.

This function was added in Qtilities v1.2.



Qtilities : Reference Documentation Back to top Copyright © 2009-2013, Jaco Naudé