QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TextDialog Class Reference

Text creation or editing dialog. More...

List of all members.

Public Member Functions

void clipboardDataChanged ()
 Called when clipboard text becomes available / unavailable.
void colorChanged (void c)
 Called when user changes the current color or the color under the cursor changed.
void currentCharFormatChanged (void format)
 Character format under cursor changed.
void cursorPositionChanged ()
void fixHtml (void html)
void fontChanged (void font)
 Called when user changes the current font or the font under the cursor changed.
void getMainFont ()
void getSourceDocument ()
void getSpecialCharsMap ()
void getTextDocument ()
void mainFontChanged ()
 Called when user changes the main font (initial font for text).
void mergeFormatOnWordOrSelection (void format)
void setMode (void mode)
void setupEditActions ()
void setupTextActions ()
void show (void textDataIn)
void simpleTextToggled (void enable)
void tabChanged (void index)
void textBold ()
 Called when user clicks bold button.
void textColor ()
 Called when user changes font color.
void TextDialog (void mode)
void textFamily (void f)
 Called when user changes font.
void textItalic ()
 Called when user clicks italic button.
void textSize (void p)
 Called when user changes font size.
void textSubscript ()
 Called when user clicks subscript button.
void textSuperscript ()
 Called when user clicks superscript button.
void textSymbol ()
 Called when user is about to insert a symbol (special character).
void updateRichText (void force)
 Updates the rich text edit based on the source.
void updateSource (void force)
 Updates the source based on the rich text edit.

Public Attributes

int actionCopy
int actionCut
int actionPaste
int actionRedo
int actionSubscript
int actionSuperscript
int actionTextBold
int actionTextColor
int actionTextItalic
int actionTextSymbol
int actionUndo
int comboFont
int comboSize
int dialog
int fontHeightFactor
int initialColor
int mainFont
int mode
int sourceEdit
int textEdit

Detailed Description

Text creation or editing dialog.


Constructor & Destructor Documentation

void TextDialog::TextDialog ( void  mode)
inline

Member Function Documentation

void TextDialog::clipboardDataChanged ( )
inline

Called when clipboard text becomes available / unavailable.

void TextDialog::colorChanged ( void  c)
inline

Called when user changes the current color or the color under the cursor changed.

void TextDialog::currentCharFormatChanged ( void  format)
inline

Character format under cursor changed.

Update relevant controls.

void TextDialog::cursorPositionChanged ( )
inline
void TextDialog::fixHtml ( void  html)
inline
void TextDialog::fontChanged ( void  font)
inline

Called when user changes the current font or the font under the cursor changed.

void TextDialog::getMainFont ( )
inline
void TextDialog::getSourceDocument ( )
inline
void TextDialog::getSpecialCharsMap ( )
inline
void TextDialog::getTextDocument ( )
inline
void TextDialog::mainFontChanged ( )
inline

Called when user changes the main font (initial font for text).

void TextDialog::mergeFormatOnWordOrSelection ( void  format)
inline
void TextDialog::setMode ( void  mode)
inline
void TextDialog::setupEditActions ( )
inline
void TextDialog::setupTextActions ( )
inline
void TextDialog::show ( void  textDataIn)
inline
void TextDialog::simpleTextToggled ( void  enable)
inline
void TextDialog::tabChanged ( void  index)
inline
void TextDialog::textBold ( )
inline

Called when user clicks bold button.

void TextDialog::textColor ( )
inline

Called when user changes font color.

void TextDialog::textFamily ( void  f)
inline

Called when user changes font.

void TextDialog::textItalic ( )
inline

Called when user clicks italic button.

void TextDialog::textSize ( void  p)
inline

Called when user changes font size.

void TextDialog::textSubscript ( )
inline

Called when user clicks subscript button.

void TextDialog::textSuperscript ( )
inline

Called when user clicks superscript button.

void TextDialog::textSymbol ( )
inline

Called when user is about to insert a symbol (special character).

void TextDialog::updateRichText ( void  force)
inline

Updates the rich text edit based on the source.

void TextDialog::updateSource ( void  force)
inline

Updates the source based on the rich text edit.


Member Data Documentation

int TextDialog::actionCopy
int TextDialog::actionCut
int TextDialog::actionPaste
int TextDialog::actionRedo
int TextDialog::actionSubscript
int TextDialog::actionSuperscript
int TextDialog::actionTextBold
int TextDialog::actionTextColor
int TextDialog::actionTextItalic
int TextDialog::actionTextSymbol
int TextDialog::actionUndo
int TextDialog::comboFont
int TextDialog::comboSize
int TextDialog::dialog
int TextDialog::fontHeightFactor
int TextDialog::initialColor
int TextDialog::mainFont
int TextDialog::mode
int TextDialog::sourceEdit
int TextDialog::textEdit

The documentation for this class was generated from the following file: