#include <KoParagDia.h>
Graphe d'héritage de KoParagTabulatorsWidget:
Fonctions membres publiques | |
KoParagTabulatorsWidget (KoUnit::Unit unit, double _frameWidth, QWidget *parent) | |
virtual | ~KoParagTabulatorsWidget () |
virtual void | display (const KoParagLayout &lay) |
virtual void | save (KoParagLayout &lay) |
virtual QString | tabName () |
KoTabulatorList | tabList () const |
void | setCurrentTab (double tabPos) |
Connecteurs protégés | |
void | slotTabValueChanged (double) |
void | slotAlignCharChanged (const QString &_text) |
void | newClicked () |
void | deleteClicked () |
void | deleteAllClicked () |
void | setActiveItem (int selected) |
void | updateAlign (int selected) |
void | updateFilling (int selected) |
void | updateWidth () |
Fonctions membres privées | |
void | sortLists () |
QString | tabToString (const KoTabulator &tab) |
Attributs privés | |
Q3VBoxLayout * | editLayout |
Q3ListBox * | lstTabs |
Q3GroupBox * | gPosition |
KoTabulatorsLineEdit * | sTabPos |
Q3ButtonGroup * | bgAlign |
QRadioButton * | rAlignLeft |
QRadioButton * | rAlignCenter |
QRadioButton * | rAlignRight |
QRadioButton * | rAlignVar |
QLineEdit * | sAlignChar |
Q3GroupBox * | gTabLeader |
QComboBox * | cFilling |
KoUnitDoubleSpinBox * | eWidth |
QPushButton * | bNew |
QPushButton * | bDelete |
QPushButton * | bDeleteAll |
KoTabulatorList | m_tabList |
KoUnit::Unit | m_unit |
double | m_toplimit |
bool | noSignals |
Définition à la ligne 411 du fichier KoParagDia.h.
KoParagTabulatorsWidget::KoParagTabulatorsWidget | ( | KoUnit::Unit | unit, | |
double | _frameWidth, | |||
QWidget * | parent | |||
) |
Définition à la ligne 1622 du fichier KoParagDia.cpp.
Références bDelete, bDeleteAll, bgAlign, bNew, cFilling, deleteAllClicked(), deleteClicked(), editLayout, eWidth, gPosition, gTabLeader, KoPageFormat::height(), lstTabs, m_toplimit, m_unit, newClicked(), noSignals, rAlignCenter, rAlignLeft, rAlignRight, rAlignVar, sAlignChar, setActiveItem(), KoUnitDoubleSpinBox::setMinimum(), KoUnitDoubleSpinBox::setUnit(), slotAlignCharChanged(), slotTabValueChanged(), sTabPos, KoUnit::toUserStringValue(), KoUnit::toUserValue(), KoUnit::unitDescription(), KoUnit::unitName(), updateAlign(), updateFilling(), et updateWidth().
Voici le graphe d'appel pour cette fonction :
virtual KoParagTabulatorsWidget::~KoParagTabulatorsWidget | ( | ) | [inline, virtual] |
Définition à la ligne 416 du fichier KoParagDia.h.
void KoParagTabulatorsWidget::display | ( | const KoParagLayout & | lay | ) | [virtual] |
Implémente KoParagLayoutWidget.
Définition à la ligne 2005 du fichier KoParagDia.cpp.
Références bDelete, bDeleteAll, bgAlign, gPosition, gTabLeader, lstTabs, m_tabList, m_unit, KoParagLayout::tabList(), et KoUnit::toUserStringValue().
Référencé par KoParagDia::setParagLayout(), et KoParagDia::slotReset().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoParagTabulatorsWidget::save | ( | KoParagLayout & | lay | ) | [virtual] |
Implémente KoParagLayoutWidget.
Définition à la ligne 2024 du fichier KoParagDia.cpp.
Références m_tabList, et KoParagLayout::setTabList().
Voici le graphe d'appel pour cette fonction :
QString KoParagTabulatorsWidget::tabName | ( | ) | [virtual] |
return the (i18n-ed) name of the tab
Implémente KoParagLayoutWidget.
Définition à la ligne 2028 du fichier KoParagDia.cpp.
KoTabulatorList KoParagTabulatorsWidget::tabList | ( | ) | const [inline] |
Définition à la ligne 422 du fichier KoParagDia.h.
void KoParagTabulatorsWidget::setCurrentTab | ( | double | tabPos | ) |
Définition à la ligne 1930 du fichier KoParagDia.cpp.
Références lstTabs, m_tabList, et setActiveItem().
void KoParagTabulatorsWidget::slotTabValueChanged | ( | double | ) | [protected, slot] |
Définition à la ligne 1803 du fichier KoParagDia.cpp.
Références KoUnit::fromUserValue(), lstTabs, m_tabList, m_unit, noSignals, sortLists(), et tabToString().
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::slotAlignCharChanged | ( | const QString & | _text | ) | [protected, slot] |
Définition à la ligne 1815 du fichier KoParagDia.cpp.
Références bgAlign, lstTabs, m_tabList, sAlignChar, et T_DEC_PNT.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::newClicked | ( | ) | [protected, slot] |
Définition à la ligne 1822 du fichier KoParagDia.cpp.
Références KoTabulator::filling, KoUnit::fromUserValue(), lstTabs, m_tabList, m_toplimit, m_unit, gensymbolfontmap::pos, KoTabulator::ptPos, KoTabulator::ptWidth, sortLists(), T_LEFT, tabToString(), TF_BLANK, KoTabulator::type, et KoUnit::U_INCH.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::deleteClicked | ( | ) | [protected, slot] |
Définition à la ligne 1854 du fichier KoParagDia.cpp.
Références bDelete, bDeleteAll, bgAlign, KoUnitDoubleSpinBox::changeValue(), gPosition, gTabLeader, lstTabs, m_tabList, noSignals, et sTabPos.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::deleteAllClicked | ( | ) | [protected, slot] |
Définition à la ligne 1873 du fichier KoParagDia.cpp.
Références bDelete, bDeleteAll, bgAlign, KoUnitDoubleSpinBox::changeValue(), gPosition, gTabLeader, lstTabs, m_tabList, noSignals, et sTabPos.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::setActiveItem | ( | int | selected | ) | [protected, slot] |
Définition à la ligne 1887 du fichier KoParagDia.cpp.
Références KoTabulator::alignChar, bDelete, bDeleteAll, bgAlign, cFilling, KoUnitDoubleSpinBox::changeValue(), eWidth, KoTabulator::filling, gPosition, gTabLeader, m_tabList, m_unit, noSignals, KoTabulator::ptPos, KoTabulator::ptWidth, sAlignChar, sTabPos, T_CENTER, T_DEC_PNT, T_LEFT, T_RIGHT, TF_BLANK, TF_DASH, TF_DASH_DOT, TF_DASH_DOT_DOT, TF_DOTS, TF_LINE, KoUnit::toUserValue(), et KoTabulator::type.
Référencé par KoParagTabulatorsWidget(), et setCurrentTab().
void KoParagTabulatorsWidget::updateAlign | ( | int | selected | ) | [protected, slot] |
Définition à la ligne 1945 du fichier KoParagDia.cpp.
Références KoTabulator::alignChar, lstTabs, m_tabList, sAlignChar, T_CENTER, T_DEC_PNT, T_LEFT, T_RIGHT, et KoTabulator::type.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::updateFilling | ( | int | selected | ) | [protected, slot] |
Définition à la ligne 1963 du fichier KoParagDia.cpp.
Références KoTabulator::filling, lstTabs, m_tabList, TF_BLANK, TF_DASH, TF_DASH_DOT, TF_DASH_DOT_DOT, TF_DOTS, et TF_LINE.
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::updateWidth | ( | ) | [protected, slot] |
Définition à la ligne 1983 du fichier KoParagDia.cpp.
Références eWidth, lstTabs, m_tabList, KoTabulator::ptWidth, et KoUnitDoubleSpinBox::value().
Référencé par KoParagTabulatorsWidget().
void KoParagTabulatorsWidget::sortLists | ( | ) | [private] |
Définition à la ligne 1988 du fichier KoParagDia.cpp.
Références lstTabs, m_tabList, m_unit, noSignals, et KoUnit::toUserStringValue().
Référencé par newClicked(), et slotTabValueChanged().
Voici le graphe d'appel pour cette fonction :
QString KoParagTabulatorsWidget::tabToString | ( | const KoTabulator & | tab | ) | [private] |
Définition à la ligne 1941 du fichier KoParagDia.cpp.
Références m_unit, KoTabulator::ptPos, et KoUnit::toUserStringValue().
Référencé par newClicked(), et slotTabValueChanged().
Voici le graphe d'appel pour cette fonction :
Q3VBoxLayout* KoParagTabulatorsWidget::editLayout [private] |
Q3ListBox* KoParagTabulatorsWidget::lstTabs [private] |
Définition à la ligne 444 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), newClicked(), setCurrentTab(), slotAlignCharChanged(), slotTabValueChanged(), sortLists(), updateAlign(), updateFilling(), et updateWidth().
Q3GroupBox* KoParagTabulatorsWidget::gPosition [private] |
Définition à la ligne 445 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), et setActiveItem().
Définition à la ligne 446 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), KoParagTabulatorsWidget(), et setActiveItem().
Q3ButtonGroup* KoParagTabulatorsWidget::bgAlign [private] |
Définition à la ligne 447 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), setActiveItem(), et slotAlignCharChanged().
QRadioButton* KoParagTabulatorsWidget::rAlignLeft [private] |
QRadioButton* KoParagTabulatorsWidget::rAlignCenter [private] |
QRadioButton* KoParagTabulatorsWidget::rAlignRight [private] |
QRadioButton* KoParagTabulatorsWidget::rAlignVar [private] |
QLineEdit* KoParagTabulatorsWidget::sAlignChar [private] |
Définition à la ligne 452 du fichier KoParagDia.h.
Référencé par KoParagTabulatorsWidget(), setActiveItem(), slotAlignCharChanged(), et updateAlign().
Q3GroupBox* KoParagTabulatorsWidget::gTabLeader [private] |
Définition à la ligne 453 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), et setActiveItem().
QComboBox* KoParagTabulatorsWidget::cFilling [private] |
Définition à la ligne 454 du fichier KoParagDia.h.
Référencé par KoParagTabulatorsWidget(), et setActiveItem().
Définition à la ligne 455 du fichier KoParagDia.h.
Référencé par KoParagTabulatorsWidget(), setActiveItem(), et updateWidth().
QPushButton* KoParagTabulatorsWidget::bNew [private] |
QPushButton* KoParagTabulatorsWidget::bDelete [private] |
Définition à la ligne 457 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), et setActiveItem().
QPushButton* KoParagTabulatorsWidget::bDeleteAll [private] |
Définition à la ligne 458 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), KoParagTabulatorsWidget(), et setActiveItem().
Définition à la ligne 460 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), display(), newClicked(), save(), setActiveItem(), setCurrentTab(), slotAlignCharChanged(), slotTabValueChanged(), sortLists(), updateAlign(), updateFilling(), et updateWidth().
KoUnit::Unit KoParagTabulatorsWidget::m_unit [private] |
Définition à la ligne 461 du fichier KoParagDia.h.
Référencé par display(), KoParagTabulatorsWidget(), newClicked(), setActiveItem(), slotTabValueChanged(), sortLists(), et tabToString().
double KoParagTabulatorsWidget::m_toplimit [private] |
Définition à la ligne 462 du fichier KoParagDia.h.
Référencé par KoParagTabulatorsWidget(), et newClicked().
bool KoParagTabulatorsWidget::noSignals [private] |
Définition à la ligne 463 du fichier KoParagDia.h.
Référencé par deleteAllClicked(), deleteClicked(), KoParagTabulatorsWidget(), setActiveItem(), slotTabValueChanged(), et sortLists().