Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QInputContextFactory Class Reference

The QInputContextFactory class creates QInputContext objects. More...

Inheritance diagram for QtGui.QInputContextFactory:
Collaboration diagram for QtGui.QInputContextFactory:

Public Member Functions

 QInputContextFactory ()
 
 QInputContextFactory (QInputContextFactory copy)
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Static Public Member Functions

static QInputContext Create (string key, QObject parent)
 
 
static string Description (string key)
 
 
static string DisplayName (string key)
 
 
static
System.Collections.Generic.List
< string > 
Keys ()
 
 
static
System.Collections.Generic.List
< string > 
Languages (string key)
 
 

Protected Member Functions

 QInputContextFactory (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QInputContextFactory class creates QInputContext objects.

The input context factory creates a QInputContext object for a given key with QInputContextFactory::create().

The input contexts are either built-in or dynamically loaded from an input context plugin (see QInputContextPlugin).

keys() returns a list of valid keys. The keys are the names used, for example, to identify and specify input methods for the input method switching mechanism. The names have to be consistent with QInputContext::identifierName(), and may only contain ASCII characters.

A key can be used to retrieve the associated input context's supported languages using languages(). You can retrieve the input context's description using description() and finally you can get a user friendly internationalized name of the QInputContext object specified by the key using displayName().

Copyright (C) 2003-2004 immodule for Qt Project. All rights reserved.

This file is written to contribute to Nokia Corporation and/or its subsidiary(-ies) under their own license. You may use this file under your Qt license. Following description is copied from their original file headers. Contact immod.nosp@m.ule-.nosp@m.qt@fr.nosp@m.eede.nosp@m.sktop.nosp@m..org if any conditions of this licensing are not clear to you.

See also QInputContext and QInputContextPlugin.

Constructor & Destructor Documentation

QtGui.QInputContextFactory.QInputContextFactory ( System.Type  dummy)
protected
QtGui.QInputContextFactory.QInputContextFactory ( )
QtGui.QInputContextFactory.QInputContextFactory ( QInputContextFactory  copy)

Member Function Documentation

static QInputContext QtGui.QInputContextFactory.Create ( string  key,
QObject  parent 
)
static

Creates and returns a QInputContext object for the input context specified by key with the given parent. Keys are case sensitive.

See also keys().

virtual void QtGui.QInputContextFactory.CreateProxy ( )
virtual
static string QtGui.QInputContextFactory.Description ( string  key)
static

Returns an internationalized brief description of the QInputContext object specified by key. You can, for example, use this description in a user interface.

See also keys() and displayName().

static string QtGui.QInputContextFactory.DisplayName ( string  key)
static

Returns a user friendly internationalized name of the QInputContext object specified by key. You can, for example, use this name in a menu.

See also keys() and QInputContext::identifierName().

new void QtGui.QInputContextFactory.Dispose ( )
static System.Collections.Generic.List<string> QtGui.QInputContextFactory.Keys ( )
static

Returns the list of keys this factory can create input contexts for.

The keys are the names used, for example, to identify and specify input methods for the input method switching mechanism. The names have to be consistent with QInputContext::identifierName(), and may only contain ASCII characters.

See also create(), displayName(), and QInputContext::identifierName().

static System.Collections.Generic.List<string> QtGui.QInputContextFactory.Languages ( string  key)
static

Returns the languages supported by the QInputContext object specified by key.

The languages are expressed as language code (e.g. "zh_CN", "zh_TW", "zh_HK", "ja", "ko", ...). An input context that supports multiple languages can return all supported languages as a QStringList. The name has to be consistent with QInputContext::language().

This information may be used to optimize a user interface.

See also keys(), QInputContext::language(), and QLocale.

Member Data Documentation

SmokeInvocation QtGui.QInputContextFactory.interceptor
protected

Property Documentation

virtual System.IntPtr QtGui.QInputContextFactory.SmokeObject
getset