TabGuides Class Reference
#include <tabguides.h>

Public Member Functions | |
| TabGuides (QWidget *parent, struct guidesPrefs *prefsData, struct typoPrefs *prefsData2, int unitIndex) | |
| ~TabGuides () | |
| void | restoreDefaults (struct guidesPrefs *prefsData, struct typoPrefs *prefsData2, int unitIndex) |
| void | unitChange (QString unit, int docUnitIndex, double invUnitConversion) |
Public Attributes | |
| ScrSpinBox * | majorSpace |
| ScrSpinBox * | minorSpace |
| QSpinBox * | snapDistance |
| QLabel * | checkBaseline |
| QColor | colorGuides |
| QColor | colorMargin |
| QColor | colorMajorGrid |
| QColor | colorMinorGrid |
| QColor | colorBaselineGrid |
| QGroupBox * | checkGrid |
| QGroupBox * | groupBox1 |
| QGroupBox * | groupBox2 |
| QGroupBox * | commonBox |
| QGroupBox * | snapBox |
| QGroupBox * | guideBox |
| QGroupBox * | marginBox |
| QGroupBox * | baselineBox |
| QGroupBox * | baseGridBox |
| QGroupBox * | buttonGroup1 |
| QRadioButton * | inBackground |
| QRadioButton * | inForeground |
| QLabel * | textLabel4 |
| QLabel * | textLabel5 |
| QLabel * | textLabel6 |
| QLabel * | textLabel7 |
| QLabel * | textLabel8 |
| QLabel * | textLabel82 |
| QLabel * | checkMargin |
| QLabel * | checkGuides |
| QPushButton * | majorGridColor |
| QPushButton * | minorGridColor |
| QPushButton * | baselineColor |
| QPushButton * | guideColor |
| QPushButton * | marginColor |
| QSpinBox * | grabDistance |
| QLabel * | textLabel6a |
| QLabel * | textLabel7a |
| ScrSpinBox * | baseGrid |
| ScrSpinBox * | baseOffset |
| QLabel * | textLabel8a |
Protected Slots | |
| virtual void | changeMajorColor () |
| virtual void | changeMinorColor () |
| virtual void | changeBaselineColor () |
| virtual void | changeGuideColor () |
| virtual void | changeMarginColor () |
Protected Attributes | |
| QVBoxLayout * | tabGuidesLayout |
| QGridLayout * | checkGridLayout |
| QGridLayout * | groupBox1Layout |
| QGridLayout * | groupBox2Layout |
| QHBoxLayout * | commonBoxLayout |
| QGridLayout * | snapBoxLayout |
| QHBoxLayout * | guideBoxLayout |
| QHBoxLayout * | marginBoxLayout |
| QGridLayout * | baselineBoxLayout |
| QGridLayout * | baseGridBoxLayout |
| QVBoxLayout * | buttonGroup1Layout |
| QHBoxLayout * | layout9 |
| QHBoxLayout * | layout9a |
Detailed Description
Definition at line 25 of file tabguides.h.
Constructor & Destructor Documentation
| TabGuides::TabGuides | ( | QWidget * | parent, | |
| struct guidesPrefs * | prefsData, | |||
| struct typoPrefs * | prefsData2, | |||
| int | unitIndex | |||
| ) |
Definition at line 26 of file tabguides.cpp.
References baseGrid, baseGridBox, baseGridBoxLayout, baselineBox, baselineBoxLayout, baselineColor, baseOffset, buttonGroup1, buttonGroup1Layout, changeBaselineColor(), changeGuideColor(), changeMajorColor(), changeMarginColor(), changeMinorColor(), checkBaseline, checkGrid, checkGridLayout, checkGuides, checkMargin, commonBox, commonBoxLayout, grabDistance, groupBox1, groupBox1Layout, groupBox2, groupBox2Layout, guideBox, guideBoxLayout, guideColor, inBackground, inForeground, layout9, layout9a, majorGridColor, majorSpace, marginBox, marginBoxLayout, marginColor, minorGridColor, minorSpace, snapBox, snapBoxLayout, snapDistance, tabGuidesLayout, textLabel4, textLabel5, textLabel6, textLabel6a, textLabel7, textLabel7a, textLabel8, textLabel82, tr(), unitGetRatioFromIndex(), and unitGetSuffixFromIndex().
| TabGuides::~TabGuides | ( | ) | [inline] |
Definition at line 31 of file tabguides.h.
Member Function Documentation
| void TabGuides::restoreDefaults | ( | struct guidesPrefs * | prefsData, | |
| struct typoPrefs * | prefsData2, | |||
| int | unitIndex | |||
| ) |
Definition at line 238 of file tabguides.cpp.
References guidesPrefs::baseColor, baseGrid, baselineBox, baselineColor, baseOffset, guidesPrefs::baseShown, guidesPrefs::before, checkGrid, colorBaselineGrid, colorGuides, colorMajorGrid, colorMargin, colorMinorGrid, grabDistance, guidesPrefs::grabRad, guidesPrefs::gridShown, guideBox, guideColor, guidesPrefs::guideColor, guidesPrefs::guideRad, guidesPrefs::guidesShown, inBackground, inForeground, guidesPrefs::majorColor, guidesPrefs::majorGrid, majorGridColor, majorSpace, guidesPrefs::margColor, marginBox, marginColor, guidesPrefs::marginsShown, guidesPrefs::minorColor, guidesPrefs::minorGrid, minorGridColor, minorSpace, typoPrefs::offsetBaseGrid, snapDistance, tr(), unitGetPrecisionFromIndex(), unitGetRatioFromIndex(), unitGetSuffixFromIndex(), and typoPrefs::valueBaseGrid.
Referenced by ReformDoc::restoreDefaults(), and Preferences::setupGui().
| void TabGuides::unitChange | ( | QString | unit, | |
| int | docUnitIndex, | |||
| double | invUnitConversion | |||
| ) |
Definition at line 349 of file tabguides.cpp.
References ScrSpinBox::getValues(), majorSpace, minorSpace, ScrSpinBox::setValues(), and unitGetPrecisionFromIndex().
Referenced by ReformDoc::unitChange(), and Preferences::unitChange().
| void TabGuides::changeMajorColor | ( | ) | [protected, virtual, slot] |
Definition at line 284 of file tabguides.cpp.
References colorMajorGrid, and majorGridColor.
Referenced by TabGuides().
| void TabGuides::changeMinorColor | ( | ) | [protected, virtual, slot] |
Definition at line 297 of file tabguides.cpp.
References colorMinorGrid, and minorGridColor.
Referenced by TabGuides().
| void TabGuides::changeBaselineColor | ( | ) | [protected, virtual, slot] |
Definition at line 310 of file tabguides.cpp.
References baselineColor, and colorBaselineGrid.
Referenced by TabGuides().
| void TabGuides::changeGuideColor | ( | ) | [protected, virtual, slot] |
Definition at line 323 of file tabguides.cpp.
References colorGuides, and guideColor.
Referenced by TabGuides().
| void TabGuides::changeMarginColor | ( | ) | [protected, virtual, slot] |
Definition at line 336 of file tabguides.cpp.
References colorMargin, and marginColor.
Referenced by TabGuides().
Member Data Documentation
Definition at line 35 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), unitChange(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
Definition at line 36 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), unitChange(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QSpinBox* TabGuides::snapDistance |
Definition at line 37 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QLabel* TabGuides::checkBaseline |
| QColor TabGuides::colorGuides |
Definition at line 39 of file tabguides.h.
Referenced by changeGuideColor(), restoreDefaults(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QColor TabGuides::colorMargin |
Definition at line 40 of file tabguides.h.
Referenced by changeMarginColor(), restoreDefaults(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QColor TabGuides::colorMajorGrid |
Definition at line 41 of file tabguides.h.
Referenced by changeMajorColor(), restoreDefaults(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QColor TabGuides::colorMinorGrid |
Definition at line 42 of file tabguides.h.
Referenced by changeMinorColor(), restoreDefaults(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QColor TabGuides::colorBaselineGrid |
Definition at line 43 of file tabguides.h.
Referenced by changeBaselineColor(), restoreDefaults(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QGroupBox* TabGuides::checkGrid |
Definition at line 44 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QGroupBox* TabGuides::groupBox1 |
| QGroupBox* TabGuides::groupBox2 |
| QGroupBox* TabGuides::commonBox |
| QGroupBox* TabGuides::snapBox |
| QGroupBox* TabGuides::guideBox |
Definition at line 49 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QGroupBox* TabGuides::marginBox |
Definition at line 50 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QGroupBox* TabGuides::baselineBox |
Definition at line 51 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QGroupBox* TabGuides::baseGridBox |
| QGroupBox* TabGuides::buttonGroup1 |
| QRadioButton* TabGuides::inBackground |
Definition at line 54 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QRadioButton* TabGuides::inForeground |
| QLabel* TabGuides::textLabel4 |
| QLabel* TabGuides::textLabel5 |
| QLabel* TabGuides::textLabel6 |
| QLabel* TabGuides::textLabel7 |
| QLabel* TabGuides::textLabel8 |
| QLabel* TabGuides::textLabel82 |
| QLabel* TabGuides::checkMargin |
| QLabel* TabGuides::checkGuides |
| QPushButton* TabGuides::majorGridColor |
Definition at line 64 of file tabguides.h.
Referenced by changeMajorColor(), restoreDefaults(), and TabGuides().
| QPushButton* TabGuides::minorGridColor |
Definition at line 65 of file tabguides.h.
Referenced by changeMinorColor(), restoreDefaults(), and TabGuides().
| QPushButton* TabGuides::baselineColor |
Definition at line 66 of file tabguides.h.
Referenced by changeBaselineColor(), restoreDefaults(), and TabGuides().
| QPushButton* TabGuides::guideColor |
Definition at line 67 of file tabguides.h.
Referenced by changeGuideColor(), restoreDefaults(), and TabGuides().
| QPushButton* TabGuides::marginColor |
Definition at line 68 of file tabguides.h.
Referenced by changeMarginColor(), restoreDefaults(), and TabGuides().
| QSpinBox* TabGuides::grabDistance |
Definition at line 69 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QLabel* TabGuides::textLabel6a |
| QLabel* TabGuides::textLabel7a |
Definition at line 72 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
Definition at line 73 of file tabguides.h.
Referenced by restoreDefaults(), TabGuides(), ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| QLabel* TabGuides::textLabel8a |
Definition at line 74 of file tabguides.h.
QVBoxLayout* TabGuides::tabGuidesLayout [protected] |
QGridLayout* TabGuides::checkGridLayout [protected] |
QGridLayout* TabGuides::groupBox1Layout [protected] |
QGridLayout* TabGuides::groupBox2Layout [protected] |
QHBoxLayout* TabGuides::commonBoxLayout [protected] |
QGridLayout* TabGuides::snapBoxLayout [protected] |
QHBoxLayout* TabGuides::guideBoxLayout [protected] |
QHBoxLayout* TabGuides::marginBoxLayout [protected] |
QGridLayout* TabGuides::baselineBoxLayout [protected] |
QGridLayout* TabGuides::baseGridBoxLayout [protected] |
QVBoxLayout* TabGuides::buttonGroup1Layout [protected] |
QHBoxLayout* TabGuides::layout9 [protected] |
QHBoxLayout* TabGuides::layout9a [protected] |
The documentation for this class was generated from the following files:
