CFx SDK Documentation  2020SP3
FxUITextView.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 #pragma once
17 
18 #include "FxUIBaseView.h"
19 
25 {
26 public:
29 
32 
38  void setText( const CFxUIString& text );
39 
47  void setHtmlText( const CFxUIString& htmlText );
48 
54  void addText( const CFxUIString& text );
55 
61  void addHtmlText( const CFxUIString& htmlText );
62 
68  void setMultiline( const bool multiLine );
69 
77  void setReadOnly( const bool readOnly );
78 
86  void setPlaceholderText( const CFxUIString& sText );
87 
94 
101 
109  void setAdjustHeightToContent( const bool& bValue );
110 
117 
121  void clear();
122 
127 
132 
137 
141  CFxUISignal<void( int, int )>& keyPressed();
142 
143  //...
144 };
CFxUITextView::setReadOnly
void setReadOnly(const bool readOnly)
FxUIBaseView.h
CFxUITextView::keyPressed
CFxUISignal< void(int, int)> & keyPressed()
CFxUITextView::addText
void addText(const CFxUIString &text)
CFxUITextView::addHtmlText
void addHtmlText(const CFxUIString &htmlText)
CFxUIBaseView
Definition: FxUIBaseView.h:30
CFxUITextView::placeholderText
CFxUIString placeholderText() const
CFxUITextView::textChanged
CFxUISignal< void(void)> & textChanged()
CFxUITextView::~CFxUITextView
~CFxUITextView()
CFxUISignal
Definition: FxUISignal.h:74
CFxUITextView::clear
void clear()
CFxUITextView
Definition: FxUITextView.h:25
CFxUITextView::setMultiline
void setMultiline(const bool multiLine)
CFxUITextView::setAdjustHeightToContent
void setAdjustHeightToContent(const bool &bValue)
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
CFxUIString
QString CFxUIString
Definition: FxUIObject.h:46
CFxUITextView::getContent
CFxUIString getContent() const
CFxUITextView::setPlaceholderText
void setPlaceholderText(const CFxUIString &sText)
CFxUITextView::getAdjustHeightToContent
bool getAdjustHeightToContent() const
COMMONUI_API
#define COMMONUI_API
Definition: FxCommonFramework.h:4
CFxUITextView::setText
void setText(const CFxUIString &text)
CFxUITextView::focusOutEventSignal
CFxUISignal< void(void)> & focusOutEventSignal()
CFxUITextView::focusInEventSignal
CFxUISignal< void(void)> & focusInEventSignal()
CFxUITextView::CFxUITextView
CFxUITextView(UIWidthSizePolicy width=eM)
CFxUIBaseView::UIWidthSizePolicy
UIWidthSizePolicy
Definition: FxUIBaseView.h:67
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
CFxUITextView::setHtmlText
void setHtmlText(const CFxUIString &htmlText)