TextContentProperties

Since: BlackBerry 10.0.0

#include <bb/cascades/TextContentProperties>

Use for specifying different text content properties for text controls.


Overview

QML properties

flags: bb::cascades::TextContentFlag::Types

QML signals

Properties Index

bb::cascades::TextContentFlag::Typesflags

Public Functions Index

bb::cascades::TextContentFlag::Typesflags () const
Q_SLOT voidresetFlags ()
voidsetFlags (bb::cascades::TextContentFlag::Types flags)

Signals Index

voidflagsChanged (bb::cascades::TextContentFlag::Types newFlags)

Properties

bb::cascades::TextContentFlag::Types flags

Text feature flags.

See also:

bb::cascades::TextContentFlag::Types

Since:

BlackBerry 10.0.0

Public Functions

bb::cascades::TextContentFlag::Types flags ()

Returns the text content flags.

The content flags are a bit field used to turn on and off text features.

See also:

bb::cascades::TextContentFlag::Types

Return:

The flags bit field.

Since:

BlackBerry 10.0.0

Q_SLOT void resetFlags ()

Reset the content flags to the default state.

The default state is TextContentFlag::Default.

Since:

BlackBerry 10.0.0

void setFlags (
  • bb::cascades::TextContentFlag::Typesflags)

Sets the text content flags.

The content flags are a bit field used to turn on and off text features. This function will emit the flagsChanged signal.

pTextField->content()->setFlags(TextContentFlag::Emoticons | TextContentFlag::ActiveTextOff);
See also:

bb::cascades::TextContentFlag::Types

Parameters
flags

The new flags.

Since:

BlackBerry 10.0.0

Signals

void flagsChanged (
  • bb::cascades::TextContentFlag::TypesnewFlags)

Emitted when the flags field has changed.

Parameters
newFlags

The new flag bit field.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus