TabDisplay Class Reference
Display panel for preferences dialog. This class is inherited from UI base class. More...
#include <tabdisplay.h>
Public Member Functions | |
| TabDisplay (QWidget *parent=0, const char *name=0) | |
| ~TabDisplay () | |
| void | restoreDefaults (struct ApplicationPrefs *prefsData, struct guidesPrefs &guidesSettings, QList< PageSet > &pageSets, int pageLayout, MarginStruct &scratch) |
| void | unitChange (int docUnitIx) |
| void | setDocSetupMode () |
| Hide non-needed widgets for ReformDoc widget. | |
| void | setPaperColor (QColor neu) |
Public Attributes | |
| double | DisScale |
| QColor | colorPaper |
| QColor | colorFrame |
| QColor | colorFrameNorm |
| QColor | colorFrameGroup |
| QColor | colorFrameLocked |
| QColor | colorFrameLinked |
| QColor | colorFrameAnnotation |
| QColor | colorPageBorder |
| QColor | colorControlChars |
Private Slots | |
| void | drawRuler () |
| Preferences (Display, Display Size). Draws ruler depending on scaling factor. | |
| void | setDisScale () |
| Preferences (Display, Display Size). Sets Scale for ruler scale. | |
| virtual void | changePaperColor () |
| Sets implicit paper color. | |
| virtual void | changeFrameColor () |
| virtual void | changeNormFrameColor () |
| virtual void | changeGroupFrameColor () |
| virtual void | changeChainFrameColor () |
| virtual void | changeLockFrameColor () |
| virtual void | changeAnnotFrameColor () |
| virtual void | changePageBorderColor () |
| virtual void | changeControlCharsColor () |
Private Attributes | |
| int | docUnitIndex |
Detailed Description
Display panel for preferences dialog. This class is inherited from UI base class.
Definition at line 21 of file tabdisplay.h.
Constructor & Destructor Documentation
| TabDisplay::TabDisplay | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Definition at line 26 of file tabdisplay.cpp.
References changeAnnotFrameColor(), changeChainFrameColor(), changeControlCharsColor(), changeFrameColor(), changeGroupFrameColor(), changeLockFrameColor(), changeNormFrameColor(), changePageBorderColor(), changePaperColor(), drawRuler(), setDisScale(), and tr().
| TabDisplay::~TabDisplay | ( | ) | [inline] |
Definition at line 27 of file tabdisplay.h.
Member Function Documentation
| void TabDisplay::restoreDefaults | ( | struct ApplicationPrefs * | prefsData, | |
| struct guidesPrefs & | guidesSettings, | |||
| QList< PageSet > & | pageSets, | |||
| int | pageLayout, | |||
| MarginStruct & | scratch | |||
| ) |
Definition at line 58 of file tabdisplay.cpp.
References MarginStruct::Bottom, colorControlChars, colorFrame, colorFrameAnnotation, colorFrameGroup, colorFrameLinked, colorFrameLocked, colorFrameNorm, colorPageBorder, colorPaper, ApplicationPrefs::DControlCharColor, ApplicationPrefs::DFrameAnnotationColor, ApplicationPrefs::DFrameColor, ApplicationPrefs::DFrameGroupColor, ApplicationPrefs::DFrameLinkColor, ApplicationPrefs::DFrameLockColor, ApplicationPrefs::DFrameNormColor, ApplicationPrefs::DisScale, DisScale, ApplicationPrefs::docUnitIndex, docUnitIndex, ApplicationPrefs::DPageBorderColor, ApplicationPrefs::DpapColor, drawRuler(), guidesPrefs::framesShown, guidesPrefs::layerMarkersShown, MarginStruct::Left, guidesPrefs::linkShown, ApplicationPrefs::marginColored, MarginStruct::Right, guidesPrefs::rulerMode, guidesPrefs::showBleed, guidesPrefs::showControls, guidesPrefs::showPic, MarginStruct::Top, unitGetPrecisionFromIndex(), unitGetRatioFromIndex(), unitGetSuffixFromIndex(), and unitGetTextUnitList().
Referenced by ReformDoc::restoreDefaults(), and Preferences::setupGui().
| void TabDisplay::unitChange | ( | int | docUnitIx | ) |
Definition at line 142 of file tabdisplay.cpp.
References docUnitIndex, and drawRuler().
Referenced by ReformDoc::unitChange(), and Preferences::unitChange().
| void TabDisplay::setDocSetupMode | ( | ) |
Hide non-needed widgets for ReformDoc widget.
Definition at line 250 of file tabdisplay.cpp.
Referenced by ReformDoc::ReformDoc().
| void TabDisplay::setPaperColor | ( | QColor | neu | ) |
Definition at line 167 of file tabdisplay.cpp.
References colorPaper.
Referenced by ReformDoc::restoreDefaults().
| void TabDisplay::drawRuler | ( | ) | [private, slot] |
Preferences (Display, Display Size). Draws ruler depending on scaling factor.
Definition at line 185 of file tabdisplay.cpp.
References DisScale, p, unitRulerGetIter1FromIndex(), and unitRulerGetIter2FromIndex().
Referenced by restoreDefaults(), setDisScale(), TabDisplay(), and unitChange().
| void TabDisplay::setDisScale | ( | ) | [private, slot] |
Preferences (Display, Display Size). Sets Scale for ruler scale.
Definition at line 178 of file tabdisplay.cpp.
References DisScale, and drawRuler().
Referenced by TabDisplay().
| void TabDisplay::changePaperColor | ( | ) | [private, virtual, slot] |
Sets implicit paper color.
Definition at line 154 of file tabdisplay.cpp.
References colorPaper.
Referenced by TabDisplay().
| void TabDisplay::changeFrameColor | ( | ) | [private, virtual, slot] |
| void TabDisplay::changeNormFrameColor | ( | ) | [private, virtual, slot] |
Definition at line 272 of file tabdisplay.cpp.
References colorFrameNorm.
Referenced by TabDisplay().
| void TabDisplay::changeGroupFrameColor | ( | ) | [private, virtual, slot] |
Definition at line 285 of file tabdisplay.cpp.
References colorFrameGroup.
Referenced by TabDisplay().
| void TabDisplay::changeChainFrameColor | ( | ) | [private, virtual, slot] |
Definition at line 298 of file tabdisplay.cpp.
References colorFrameLinked.
Referenced by TabDisplay().
| void TabDisplay::changeLockFrameColor | ( | ) | [private, virtual, slot] |
Definition at line 311 of file tabdisplay.cpp.
References colorFrameLocked.
Referenced by TabDisplay().
| void TabDisplay::changeAnnotFrameColor | ( | ) | [private, virtual, slot] |
Definition at line 324 of file tabdisplay.cpp.
References colorFrameAnnotation.
Referenced by TabDisplay().
| void TabDisplay::changePageBorderColor | ( | ) | [private, virtual, slot] |
Definition at line 337 of file tabdisplay.cpp.
References colorPageBorder.
Referenced by TabDisplay().
| void TabDisplay::changeControlCharsColor | ( | ) | [private, virtual, slot] |
Definition at line 350 of file tabdisplay.cpp.
References colorControlChars.
Referenced by TabDisplay().
Member Data Documentation
| double TabDisplay::DisScale |
Definition at line 34 of file tabdisplay.h.
Referenced by drawRuler(), restoreDefaults(), setDisScale(), and Preferences::updatePreferences().
| QColor TabDisplay::colorPaper |
Definition at line 35 of file tabdisplay.h.
Referenced by changePaperColor(), restoreDefaults(), setPaperColor(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QColor TabDisplay::colorFrame |
Definition at line 36 of file tabdisplay.h.
Referenced by changeFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
| QColor TabDisplay::colorFrameNorm |
Definition at line 37 of file tabdisplay.h.
Referenced by changeNormFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
| QColor TabDisplay::colorFrameGroup |
Definition at line 38 of file tabdisplay.h.
Referenced by changeGroupFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
| QColor TabDisplay::colorFrameLocked |
Definition at line 39 of file tabdisplay.h.
Referenced by changeLockFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
| QColor TabDisplay::colorFrameLinked |
Definition at line 40 of file tabdisplay.h.
Referenced by changeChainFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
Definition at line 41 of file tabdisplay.h.
Referenced by changeAnnotFrameColor(), restoreDefaults(), and Preferences::updatePreferences().
| QColor TabDisplay::colorPageBorder |
Definition at line 42 of file tabdisplay.h.
Referenced by changePageBorderColor(), restoreDefaults(), and Preferences::updatePreferences().
Definition at line 43 of file tabdisplay.h.
Referenced by changeControlCharsColor(), restoreDefaults(), and Preferences::updatePreferences().
int TabDisplay::docUnitIndex [private] |
The documentation for this class was generated from the following files:
