knotes
Go to the documentation of this file.
25 #include <QTextCharFormat>
28 #include "pimcommon/widgets/customtextedit.h"
33 class KActionCollection;
35 class KFontSizeAction;
43 explicit KNoteEdit(
const QString &configFile, KActionCollection *actions,
QWidget *parent = 0 );
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 setRichText(
bool );
58 void textBold(
bool );
59 void textStrikeOut(
bool );
64 void textAlignCenter();
65 void textAlignRight();
66 void textAlignBlock();
70 void textSuperScript();
73 void textIncreaseIndent();
74 void textDecreaseIndent();
75 void setTextFontSize(
int );
77 void slotTextBackgroundColor();
78 void slotInsertDate();
81 virtual void keyPressEvent( QKeyEvent * );
82 virtual void focusInEvent( QFocusEvent * );
83 virtual void focusOutEvent( QFocusEvent * );
86 void mousePopupMenuImplementation(
const QPoint& pos);
89 void slotCurrentCharFormatChanged(
const QTextCharFormat & );
90 void slotCursorPositionChanged();
97 void enableRichTextActions(
bool enabled);
101 KToggleAction *m_textBold;
102 KToggleAction *m_textItalic;
103 KToggleAction *m_textUnderline;
104 KToggleAction *m_textStrikeOut;
106 KToggleAction *m_textAlignLeft;
107 KToggleAction *m_textAlignCenter;
108 KToggleAction *m_textAlignRight;
109 KToggleAction *m_textAlignBlock;
111 KToggleAction *m_textList;
112 KToggleAction *m_textSuper;
113 KToggleAction *m_textSub;
115 KAction *m_textIncreaseIndent;
116 KAction *m_textDecreaseIndent;
118 KAction *m_textColor;
119 KFontAction *m_textFont;
120 KFontSizeAction *m_textSize;
122 KActionCollection *m_actions;
123 bool m_autoIndentMode;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:33 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.