#include <KoParagDia.h>
Public Types | |
| enum | { PD_SPACING = 1 , PD_ALIGN = 2 , PD_DECORATION = 4 , PD_NUMBERING = 8 , PD_TABS = 16 } |
Public Types inherited from KDialogBase | |
| enum | ButtonCode |
| enum | DialogType |
Signals | |
| void | applyParagStyle () |
Signals inherited from KDialogBase | |
| void | helpClicked () |
| void | defaultClicked () |
| void | user3Clicked () |
| void | user2Clicked () |
| void | user1Clicked () |
| void | applyClicked () |
| void | tryClicked () |
| void | okClicked () |
| void | yesClicked () |
| void | noClicked () |
| void | cancelClicked () |
| void | closeClicked () |
| void | apply () |
| void | backgroundChanged () |
| void | hidden () |
| void | finished () |
| void | aboutToShowDetails () |
| void | aboutToShowPage (TQWidget *page) |
Signals inherited from KDialog | |
| void | layoutHintChanged () |
Public Member Functions | |
| KoParagDia (TQWidget *, const char *, int flags, KoUnit::Unit unit, double _frameWidth=-1, bool breakLine=true, bool disableAll=false) | |
| int | getFlags () const |
| void | setCurrentPage (int page) |
| void | setParagLayout (const KoParagLayout &lay) |
| double | leftIndent () const |
| double | rightIndent () const |
| double | firstLineIndent () const |
| double | spaceBeforeParag () const |
| double | spaceAfterParag () const |
| double | lineSpacing () const |
| KoParagLayout::SpacingType | lineSpacingType () const |
| int | align () const |
| int | pageBreaking () const |
| KoBorder | leftBorder () const |
| KoBorder | rightBorder () const |
| KoBorder | topBorder () const |
| KoBorder | bottomBorder () const |
| bool | joinBorder () const |
| const KoParagCounter & | counter () const |
| KoTabulatorList | tabListTabulator () const |
| KoParagTabulatorsWidget * | tabulatorsWidget () const |
| TQColor | backgroundColor () const |
| bool | isAlignChanged () const |
| bool | isLineSpacingChanged () const |
| bool | isLeftMarginChanged () const |
| bool | isRightMarginChanged () const |
| bool | isFirstLineChanged () const |
| bool | isSpaceBeforeChanged () const |
| bool | isSpaceAfterChanged () const |
| bool | isPageBreakingChanged () const |
| bool | isCounterChanged () const |
| bool | isBorderChanged () const |
| bool | isJoinBorderChanged () const |
| bool | listTabulatorChanged () const |
| bool | isBackgroundColorChanged () const |
| KoParagLayout | paragLayout () const |
| int | changedFlags () const |
Public Member Functions inherited from KDialogBase | |
| KDialogBase (TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem()) | |
| KDialogBase (int dialogFace, const TQString &caption, int buttonMask, ButtonCode defaultButton, TQWidget *parent=0, const char *name=0, bool modal=true, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem()) | |
| KDialogBase (KDialogBase::DialogType dialogFace, WFlags f, TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem()) | |
| KDialogBase (const TQString &caption, int buttonMask=Yes|No|Cancel, ButtonCode defaultButton=Yes, ButtonCode escapeButton=Cancel, TQWidget *parent=0, const char *name=0, bool modal=true, bool separator=false, const KGuiItem &yes=KStdGuiItem::yes(), const KGuiItem &no=KStdGuiItem::no(), const KGuiItem &cancel=KStdGuiItem::cancel()) | |
| void | setButtonBoxOrientation (int orientation) |
| void | setEscapeButton (ButtonCode id) |
| virtual void | adjustSize () |
| TQFrame * | plainPage () |
| TQFrame * | addPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQFrame * | addPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQVBox * | addVBoxPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQVBox * | addVBoxPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQHBox * | addHBoxPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQHBox * | addHBoxPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQGrid * | addGridPage (int n, Orientation dir, const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| TQGrid * | addGridPage (int n, Orientation dir, const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap()) |
| void | setFolderIcon (const TQStringList &path, const TQPixmap &pixmap) |
| TQFrame * | makeMainWidget () |
| TQVBox * | makeVBoxMainWidget () |
| TQHBox * | makeHBoxMainWidget () |
| TQGrid * | makeGridMainWidget (int n, Orientation dir) |
| void | enableButtonSeparator (bool state) |
| void | showButton (ButtonCode id, bool state) |
| void | showButtonOK (bool state) |
| void | showButtonApply (bool state) |
| void | showButtonCancel (bool state) |
| bool | showPage (int index) |
| int | activePageIndex () const |
| int | pageIndex (TQWidget *widget) const |
| void | setMainWidget (TQWidget *widget) |
| TQWidget * | mainWidget () |
| void | disableResize () |
| void | setInitialSize (const TQSize &s, bool noResize=false) |
| void | incInitialSize (const TQSize &s, bool noResize=false) |
| TQSize | configDialogSize (const TQString &groupName) const |
| TQSize | configDialogSize (TDEConfig &config, const TQString &groupName) const |
| void | saveDialogSize (const TQString &groupName, bool global=false) |
| void | saveDialogSize (TDEConfig &config, const TQString &groupName, bool global=false) const |
| void | setButtonOK (const KGuiItem &item=KStdGuiItem::ok()) |
| void | setButtonOKText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED |
| void | setButtonApply (const KGuiItem &item=KStdGuiItem::apply()) |
| void | setButtonApplyText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED |
| void | setButtonCancel (const KGuiItem &item=KStdGuiItem::cancel()) |
| void | setButtonCancelText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED |
| void | setButtonText (ButtonCode id, const TQString &text) |
| void | setButtonTip (ButtonCode id, const TQString &text) |
| void | setButtonWhatsThis (ButtonCode id, const TQString &text) |
| void | setButtonGuiItem (ButtonCode id, const KGuiItem &item) |
| void | setTreeListAutoResize (bool state) |
| void | setShowIconsInTreeList (bool state) |
| void | setRootIsDecorated (bool state) |
| void | unfoldTreeList (bool persist=false) |
| void | addWidgetBelowList (TQWidget *widget) |
| void | addButtonBelowList (const TQString &text, TQObject *recv, const char *slot) |
| void | addButtonBelowList (const KGuiItem &guiitem, TQObject *recv, const char *slot) |
| void | setIconListAllVisible (bool state) |
| void | showTile (bool state) |
| void | getBorderWidths (int &ulx, int &uly, int &lrx, int &lry) const TDE_DEPRECATED |
| TQRect | getContentsRect () const TDE_DEPRECATED |
| TQSize | calculateSize (int w, int h) const |
| TQString | helpLinkText () const |
| TQPushButton * | actionButton (ButtonCode id) |
Public Member Functions inherited from KDialog | |
| KDialog (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags f=0) | |
Protected Slots | |
| void | slotReset () |
| virtual void | slotOk () |
| virtual void | slotApply () |
Protected Slots inherited from KDialogBase | |
| virtual void | slotHelp () |
| virtual void | slotDefault () |
| virtual void | slotDetails () |
| virtual void | slotUser3 () |
| virtual void | slotUser2 () |
| virtual void | slotUser1 () |
| virtual void | slotOk () |
| virtual void | slotApply () |
| virtual void | slotTry () |
| virtual void | slotYes () |
| virtual void | slotNo () |
| virtual void | slotCancel () |
| virtual void | slotClose () |
| virtual void | applyPressed () |
| void | updateGeometry () |
| void | slotDelayedDestruct () |
Additional Inherited Members | |
Public Slots inherited from KDialogBase | |
| void | enableButton (ButtonCode id, bool state) |
| void | enableButtonOK (bool state) |
| void | enableButtonApply (bool state) |
| void | enableButtonCancel (bool state) |
| void | enableLinkedHelp (bool state) |
| void | delayedDestruct () |
| void | setHelpLinkText (const TQString &text) |
| void | setHelp (const TQString &anchor, const TQString &appname=TQString::null) |
| void | helpClickedSlot (const TQString &) |
| void | setDetails (bool showDetails) |
| void | setDetailsWidget (TQWidget *detailsWidget) |
| void | updateBackground () |
| void | cancel () |
Public Slots inherited from KDialog | |
| virtual void | polish () |
| virtual void | setCaption (const TQString &caption) |
| virtual void | setPlainCaption (const TQString &caption) |
Static Public Member Functions inherited from KDialogBase | |
| static bool | haveBackgroundTile () |
| static const TQPixmap * | backgroundTile () |
| static const TQPixmap * | getBackgroundTile () TDE_DEPRECATED |
| static void | setBackgroundTile (const TQPixmap *pix) |
Static Public Member Functions inherited from KDialog | |
| static int | marginHint () |
| static int | spacingHint () |
| static void | resizeLayout (TQWidget *widget, int margin, int spacing) |
| static void | resizeLayout (TQLayoutItem *lay, int margin, int spacing) |
| static void | centerOnScreen (TQWidget *widget, int screen=-1) |
| static bool | avoidArea (TQWidget *widget, const TQRect &area, int screen=-1) |
Public Attributes inherited from KDialogBase | |
| Help | |
| Default | |
| Ok | |
| Apply | |
| Try | |
| Cancel | |
| Close | |
| User1 | |
| User2 | |
| User3 | |
| No | |
| Yes | |
| Details | |
| Filler | |
| Stretch | |
| NoDefault | |
Protected Member Functions inherited from KDialogBase | |
| virtual void | keyPressEvent (TQKeyEvent *e) |
| virtual void | hideEvent (TQHideEvent *) |
| virtual void | closeEvent (TQCloseEvent *e) |
Detailed Description
The complete(*) dialog for changing attributes of a paragraph.
(*) the flags (to only show parts of it) have been kept just in case but are not currently used.
Definition at line 498 of file KoParagDia.h.
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum |
Definition at line 504 of file KoParagDia.h.
Constructor & Destructor Documentation
◆ KoParagDia()
| KoParagDia::KoParagDia | ( | TQWidget * | parent, |
| const char * | name, | ||
| int | flags, | ||
| KoUnit::Unit | unit, | ||
| double | _frameWidth = -1, |
||
| bool | breakLine = true, |
||
| bool | disableAll = false |
||
| ) |
breakLine : kpresenter didn't used this attibute, kword use it.
Definition at line 2146 of file KoParagDia.cpp.
◆ ~KoParagDia()
| KoParagDia::~KoParagDia | ( | ) |
Definition at line 2189 of file KoParagDia.cpp.
Member Function Documentation
◆ align()
|
inline |
Definition at line 532 of file KoParagDia.h.
◆ backgroundColor()
|
inline |
Definition at line 549 of file KoParagDia.h.
◆ bottomBorder()
|
inline |
Definition at line 539 of file KoParagDia.h.
◆ changedFlags()
| int KoParagDia::changedFlags | ( | ) | const |
- Returns
- the set of flags which were changed
Definition at line 2260 of file KoParagDia.cpp.
◆ counter()
|
inline |
Definition at line 543 of file KoParagDia.h.
◆ firstLineIndent()
|
inline |
Definition at line 525 of file KoParagDia.h.
◆ getFlags()
|
inline |
Flags passed to constructor.
Definition at line 514 of file KoParagDia.h.
◆ isAlignChanged()
|
inline |
Definition at line 552 of file KoParagDia.h.
◆ isBackgroundColorChanged()
|
inline |
Definition at line 584 of file KoParagDia.h.
◆ isBorderChanged()
|
inline |
Definition at line 576 of file KoParagDia.h.
◆ isCounterChanged()
| bool KoParagDia::isCounterChanged | ( | ) | const |
Definition at line 2252 of file KoParagDia.cpp.
◆ isFirstLineChanged()
|
inline |
Definition at line 563 of file KoParagDia.h.
◆ isJoinBorderChanged()
|
inline |
Definition at line 582 of file KoParagDia.h.
◆ isLeftMarginChanged()
|
inline |
Definition at line 557 of file KoParagDia.h.
◆ isLineSpacingChanged()
|
inline |
Definition at line 553 of file KoParagDia.h.
◆ isPageBreakingChanged()
|
inline |
Definition at line 572 of file KoParagDia.h.
◆ isRightMarginChanged()
|
inline |
Definition at line 560 of file KoParagDia.h.
◆ isSpaceAfterChanged()
|
inline |
Definition at line 569 of file KoParagDia.h.
◆ isSpaceBeforeChanged()
|
inline |
Definition at line 566 of file KoParagDia.h.
◆ joinBorder()
|
inline |
Definition at line 540 of file KoParagDia.h.
◆ leftBorder()
|
inline |
Definition at line 536 of file KoParagDia.h.
◆ leftIndent()
|
inline |
Definition at line 523 of file KoParagDia.h.
◆ lineSpacing()
|
inline |
Definition at line 528 of file KoParagDia.h.
◆ lineSpacingType()
|
inline |
Definition at line 529 of file KoParagDia.h.
◆ listTabulatorChanged()
|
inline |
Definition at line 583 of file KoParagDia.h.
◆ pageBreaking()
|
inline |
Definition at line 533 of file KoParagDia.h.
◆ paragLayout()
| KoParagLayout KoParagDia::paragLayout | ( | ) | const |
Definition at line 2265 of file KoParagDia.cpp.
◆ rightBorder()
|
inline |
Definition at line 537 of file KoParagDia.h.
◆ rightIndent()
|
inline |
Definition at line 524 of file KoParagDia.h.
◆ setCurrentPage()
| void KoParagDia::setCurrentPage | ( | int | page | ) |
Make a given page the current one - page is a flag (PD_something) value.
Definition at line 2204 of file KoParagDia.cpp.
◆ setParagLayout()
| void KoParagDia::setParagLayout | ( | const KoParagLayout & | lay | ) |
Set the values to be displayed.
Definition at line 2228 of file KoParagDia.cpp.
◆ slotApply
|
protectedvirtualslot |
Definition at line 2193 of file KoParagDia.cpp.
◆ slotOk
|
protectedvirtualslot |
Definition at line 2198 of file KoParagDia.cpp.
◆ slotReset
|
protectedslot |
Definition at line 2238 of file KoParagDia.cpp.
◆ spaceAfterParag()
|
inline |
Definition at line 527 of file KoParagDia.h.
◆ spaceBeforeParag()
|
inline |
Definition at line 526 of file KoParagDia.h.
◆ tabListTabulator()
|
inline |
Definition at line 546 of file KoParagDia.h.
◆ tabulatorsWidget()
|
inline |
Definition at line 547 of file KoParagDia.h.
◆ topBorder()
|
inline |
Definition at line 538 of file KoParagDia.h.
The documentation for this class was generated from the following files:

Public Types inherited from