49 #include "../ui/dialogbase.h" 51 QT_FORWARD_DECLARE_CLASS(QAction)
52 QT_FORWARD_DECLARE_CLASS(QComboBox)
53 QT_FORWARD_DECLARE_CLASS(QFontComboBox)
54 QT_FORWARD_DECLARE_CLASS(QTextEdit)
55 QT_FORWARD_DECLARE_CLASS(QTextCharFormat)
56 QT_FORWARD_DECLARE_CLASS(QMenu)
94 QLayout *aLayOutForMenu,
95 QLayout* aWidgetForActionsUpper,
96 QLayout* aWidgetForActionsLower) ;
102 virtual void linkReady(
const QString& aLinkAddress,
103 const QString& aLinkLabel) ;
110 bool load(
const QString &f);
145 void addAction(QWidget* aAction,
bool aLower=
true) ;
bool load(const QString &f)
QAction * actionCut
Definition: textedit.h:153
void colorChanged(const QColor &c)
void insertLinkSelected()
void setCurrentFileName(const QString &fileName)
QAction * actionRedo
Definition: textedit.h:153
QAction * actionTextItalic
Definition: textedit.h:153
QAction * actionAlignJustify
Definition: textedit.h:153
QAction * actionUndo
Definition: textedit.h:153
void currentCharFormatChanged(const QTextCharFormat &format)
void fontChanged(const QFont &f)
void insertImageSelected()
QAction * actionTextUnderline
Definition: textedit.h:153
void textAlign(QAction *a)
QAction * actionInsertImage
Definition: textedit.h:153
QAction * actionSave
Definition: textedit.h:153
TextEdit(QWidget *aParent, MController *aController, Profile &aSelectedProfile)
QMenuBar * iDialogMenuBar
Definition: textedit.h:178
QAction * actionPaste
Definition: textedit.h:153
QAction * actionTextBold
Definition: textedit.h:153
QComboBox * comboStyle
Definition: textedit.h:170
QAction * actionAlignCenter
Definition: textedit.h:153
QString fileName
Definition: textedit.h:175
void initializeTextEditor(QTextEdit *aTextEdit, QLayout *aLayOutForMenu, QLayout *aWidgetForActionsUpper, QLayout *aWidgetForActionsLower)
void addAction(QAction *aAction)
void mergeFormatOnWordOrSelection(const QTextCharFormat &format)
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
virtual void closeEvent(QCloseEvent *e)
QMenuBar * menuBar()
Definition: textedit.h:147
void textStyle(int styleIndex)
QAction * actionAlignLeft
Definition: textedit.h:153
virtual void linkReady(const QString &aLinkAddress, const QString &aLinkLabel)
QFontComboBox * comboFont
Definition: textedit.h:171
QAction * actionTextColor
Definition: textedit.h:153
QTextEdit * textEdit
Definition: textedit.h:149
QLayout * iWidgetForActionsUpper
Definition: textedit.h:176
void printPreview(QPrinter *)
void clipboardDataChanged()
QComboBox * comboSize
Definition: textedit.h:172
QAction * actionInsertLink
Definition: textedit.h:153
void cursorPositionChanged()
QToolBar * tb
Definition: textedit.h:174
Carrier-class for user-profile data.
Definition: profile.h:37
void textFamily(const QString &f)
void alignmentChanged(Qt::Alignment a)
void textSize(const QString &p)
base-class for content-posting dialogs of classified ads
Definition: dialogbase.h:32
QAction * actionCopy
Definition: textedit.h:153
QLayout * iWidgetForActionsLower
Definition: textedit.h:177
text editor class.
Definition: textedit.h:70
QAction * actionAlignRight
Definition: textedit.h:153