CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FxUITextView.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2023 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
17#pragma once
18
19#include "FxUIBaseView.h"
20
26{
27public:
30
33
39 void setText( const CFxUIString& text );
40
48 void setHtmlText( const CFxUIString& htmlText );
49
55 void addText( const CFxUIString& text );
56
62 void addHtmlText( const CFxUIString& htmlText );
63
69 void setMultiline( const bool multiLine );
70
78 void setReadOnly( const bool readOnly );
79
87 void setPlaceholderText( const CFxUIString& sText );
88
95
102
110 void setAdjustHeightToContent( const bool& bValue );
111
118
122 void clear();
123
128
133
138
142 CFxUISignal<void( int, int )>& keyPressed();
143
144 //...
145};
#define COMMONUI_API
QString CFxUIString
Definition: FxUIObject.h:48
void setAdjustHeightToContent(const bool &bValue)
CFxUITextView(UIWidthSizePolicy width=eM)
CFxUISignal< void(int, int)> & keyPressed()
void setHtmlText(const CFxUIString &htmlText)
CFxUISignal< void(void)> & focusOutEventSignal()
void setMultiline(const bool multiLine)
CFxUISignal< void(void)> & focusInEventSignal()
void setReadOnly(const bool readOnly)
CFxUISignal< void(void)> & textChanged()
CFxUIString getContent() const
void addText(const CFxUIString &text)
void setPlaceholderText(const CFxUIString &sText)
void setText(const CFxUIString &text)
bool getAdjustHeightToContent() const
CFxUIString placeholderText() const
void addHtmlText(const CFxUIString &htmlText)
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)