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

The NamingPolicyDelegate class provides a ready-to-use delegate to edit the names of subjects attached to an observer. More...

#include <NamingPolicyFilter.h>

List of all members.

Public Member Functions

ObserverobserverContext () const
 Gets a pointer to the observer context used by this delegate.
void setObserverContext (Observer *observer)
 Sets the observer context for this delegate.

Detailed Description

The NamingPolicyDelegate class provides a ready-to-use delegate to edit the names of subjects attached to an observer.

The naming policy delegate is used to allow editing of subject names in a text editor which is sensitive to a context's naming policy filter. Below is an example of the delegate in action in an observer widget.

observer_widget_naming_delegate.jpg
Observer Widget Handling Context Naming Policies


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