mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Delete some QAction in RichText
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2098 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -402,7 +402,11 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
|||||||
tr("Justify"), editor, 0, alignment_group);
|
tr("Justify"), editor, 0, alignment_group);
|
||||||
addAction(m_align_justify_action);
|
addAction(m_align_justify_action);
|
||||||
|
|
||||||
addSeparator();
|
m_align_justify_action -> setVisible( false );
|
||||||
|
m_align_center_action -> setVisible( false );
|
||||||
|
m_align_left_action -> setVisible( false );
|
||||||
|
m_align_right_action -> setVisible( false );
|
||||||
|
//addSeparator();
|
||||||
|
|
||||||
// Superscript and subscript buttons
|
// Superscript and subscript buttons
|
||||||
|
|
||||||
@@ -421,7 +425,7 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
|||||||
m_valign_sup_action -> setVisible( false );
|
m_valign_sup_action -> setVisible( false );
|
||||||
m_valign_sub_action -> setVisible( false );
|
m_valign_sub_action -> setVisible( false );
|
||||||
|
|
||||||
/* addSeparator();
|
//addSeparator();
|
||||||
|
|
||||||
// Insert hyperlink and image buttons
|
// Insert hyperlink and image buttons
|
||||||
|
|
||||||
@@ -433,7 +437,8 @@ RichTextEditorToolBar::RichTextEditorToolBar(RichTextEditor *editor,
|
|||||||
connect(m_image_action, SIGNAL(triggered()), SLOT(insertImage()));
|
connect(m_image_action, SIGNAL(triggered()), SLOT(insertImage()));
|
||||||
addAction(m_image_action);
|
addAction(m_image_action);
|
||||||
|
|
||||||
addSeparator();*/
|
m_image_action -> setVisible( false );
|
||||||
|
addSeparator();
|
||||||
|
|
||||||
// Text color button
|
// Text color button
|
||||||
connect(m_color_action, SIGNAL(colorChanged(QColor)),
|
connect(m_color_action, SIGNAL(colorChanged(QColor)),
|
||||||
|
|||||||
Reference in New Issue
Block a user