knotes
Go to the documentation of this file.
25 #include <QTextCharFormat>
28 #include "pimcommon/widgets/customtextedit.h"
33 class KActionCollection;
35 class KFontSizeAction;
46 void setNote(
KNote *_note );
48 void setText(
const QString &text );
51 void setTextFont(
const QFont &font );
52 void setTabStop(
int tabs );
53 void setAutoIndentMode(
bool newmode );
56 void setCursorPositionFromStart(
int pos);
57 int cursorPositionFromStart()
const;
60 void setRichText(
bool );
62 void textBold(
bool );
63 void textStrikeOut(
bool );
68 void textAlignCenter();
69 void textAlignRight();
70 void textAlignBlock();
74 void textSuperScript();
77 void textIncreaseIndent();
78 void textDecreaseIndent();
79 void setTextFontSize(
int );
81 void slotTextBackgroundColor();
82 void slotInsertDate();
90 void mousePopupMenuImplementation(
const QPoint& pos);
94 void slotCursorPositionChanged();
97 void slotSentenceCase();
98 void slotInsertCheckMark();
102 void enableRichTextActions(
bool enabled);
105 QColor mDefaultBackgroundColor;
106 QColor mDefaultForegroundColor;
108 KToggleAction *m_textBold;
109 KToggleAction *m_textItalic;
110 KToggleAction *m_textUnderline;
111 KToggleAction *m_textStrikeOut;
113 KToggleAction *m_textAlignLeft;
114 KToggleAction *m_textAlignCenter;
115 KToggleAction *m_textAlignRight;
116 KToggleAction *m_textAlignBlock;
118 KToggleAction *m_textList;
119 KToggleAction *m_textSuper;
120 KToggleAction *m_textSub;
122 KAction *m_textIncreaseIndent;
123 KAction *m_textDecreaseIndent;
125 KAction *m_textColor;
126 KFontAction *m_textFont;
127 KFontSizeAction *m_textSize;
129 KActionCollection *m_actions;
130 bool m_autoIndentMode;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.