SideBar Class Reference
#include <story.h>

Public Slots | |
| void | setPStyle (const QString &) |
| void | doMove (int x, int y) |
| void | doRepaint () |
| void | setRepaint (bool r) |
| void | editStyles () |
| slot raising style manager | |
Signals | |
| void | ChangeStyle (int, const QString &) |
| void | sigEditStyles () |
| signal raised when user ask for style manager | |
Public Member Functions | |
| SideBar (QWidget *pa) | |
| ~SideBar () | |
Public Attributes | |
| int | offs |
| int | CurrentPar |
| SEditor * | editor |
| QMenu * | pmen |
| QWidgetAction * | paraStyleAct |
| bool | noUpdt |
| bool | inRep |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *m) |
Detailed Description
Definition at line 176 of file story.h.
Constructor & Destructor Documentation
| SideBar::SideBar | ( | QWidget * | pa | ) |
Member Function Documentation
| void SideBar::paintEvent | ( | QPaintEvent * | e | ) | [protected] |
Definition at line 153 of file story.cpp.
References editor, inRep, noUpdt, StoryText::nrOfParagraphs(), offs, p, StoryText::paragraphStyle(), StoryText::startOfParagraph(), SEditor::StyledText, and tr().
| void SideBar::mouseReleaseEvent | ( | QMouseEvent * | m | ) | [protected] |
Definition at line 115 of file story.cpp.
References CurrentPar, ParagraphStyle::displayName(), SEditor::doc, editor, editStyles(), StoryText::endOfParagraph(), StoryText::length(), StoryText::nrOfParagraph(), StoryText::nrOfParagraphs(), offs, p, StoryText::paragraphStyle(), paraStyleAct, pmen, ParaStyleComboBox::setDoc(), ParaStyleComboBox::setFormat(), setPStyle(), StoryText::startOfParagraph(), SEditor::StyledText, and tr().
| void SideBar::ChangeStyle | ( | int | , | |
| const QString & | ||||
| ) | [signal] |
Referenced by setPStyle().
| void SideBar::sigEditStyles | ( | ) | [signal] |
| void SideBar::setPStyle | ( | const QString & | name | ) | [slot] |
Definition at line 147 of file story.cpp.
References ChangeStyle(), CurrentPar, and pmen.
Referenced by mouseReleaseEvent().
| void SideBar::doMove | ( | int | x, | |
| int | y | |||
| ) | [slot] |
| void SideBar::doRepaint | ( | ) | [slot] |
Definition at line 204 of file story.cpp.
References inRep.
Referenced by StoryEditor::changeAlign(), StoryEditor::changeStyle(), StoryEditor::changeStyleSB(), StoryEditor::Do_del(), StoryEditor::Do_new(), StoryEditor::eventFilter(), StoryEditor::LoadTextFile(), StoryEditor::SearchText(), StoryEditor::setCurrentDocumentAndItem(), StoryEditor::setFontPref(), StoryEditor::slotFileRevert(), and StoryEditor::specialActionKeyEvent().
| void SideBar::setRepaint | ( | bool | r | ) | [slot] |
Definition at line 210 of file story.cpp.
References noUpdt.
Referenced by StoryEditor::Do_del(), StoryEditor::Do_new(), StoryEditor::eventFilter(), StoryEditor::LoadTextFile(), StoryEditor::SearchText(), StoryEditor::setCurrentDocumentAndItem(), StoryEditor::slotFileRevert(), and StoryEditor::specialActionKeyEvent().
| void SideBar::editStyles | ( | ) | [slot] |
slot raising style manager
Definition at line 142 of file story.cpp.
References sigEditStyles().
Referenced by mouseReleaseEvent().
Member Data Documentation
| int SideBar::offs |
Definition at line 182 of file story.h.
Referenced by doMove(), StoryEditor::eventFilter(), mouseReleaseEvent(), paintEvent(), StoryEditor::setCurrentDocumentAndItem(), and SideBar().
Definition at line 185 of file story.h.
Referenced by StoryEditor::buildGUI(), mouseReleaseEvent(), paintEvent(), and SideBar().
| QMenu* SideBar::pmen |
Definition at line 186 of file story.h.
Referenced by mouseReleaseEvent(), setPStyle(), and SideBar().
| QWidgetAction* SideBar::paraStyleAct |
| bool SideBar::noUpdt |
| bool SideBar::inRep |
Definition at line 189 of file story.h.
Referenced by doMove(), doRepaint(), paintEvent(), and SideBar().
The documentation for this class was generated from the following files:
