#include <KoPageLayoutDia.h>
Public Member Functions | |
| KoPageLayoutDia (TQWidget *parent, const char *name, const KoPageLayout &layout, const KoHeadFoot &headfoot, int flags, KoUnit::Unit unit, bool modal=true) | |
| KoPageLayoutDia (TQWidget *parent, const char *name, const KoPageLayout &layout, const KoHeadFoot &headfoot, const KoColumns &columns, const KoKWHeaderFooter &kwheadfoot, int tabs, KoUnit::Unit unit) | |
| ~KoPageLayoutDia () | |
| const KoPageLayout & | layout () const |
| KoHeadFoot | headFoot () const |
| KoUnit::Unit | unit () 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) | |
Static Public Member Functions | |
| static bool | pageLayout (KoPageLayout &, KoHeadFoot &, int tabs, KoUnit::Unit &unit, TQWidget *parent=0) |
| static bool | pageLayout (KoPageLayout &, KoHeadFoot &, KoColumns &, KoKWHeaderFooter &, int tabs, KoUnit::Unit &unit, TQWidget *parent=0) |
| static TDE_DEPRECATED KoPageLayout | standardLayout () |
| 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) |
Protected Slots | |
| virtual void | slotOk () |
| 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 Types inherited from KDialogBase | |
| enum | ButtonCode |
| enum | DialogType |
| 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) |
| 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 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
With this dialog the user can specify the layout of the paper during printing.
Definition at line 83 of file KoPageLayoutDia.h.
Constructor & Destructor Documentation
◆ KoPageLayoutDia() [1/2]
| KoPageLayoutDia::KoPageLayoutDia | ( | TQWidget * | parent, |
| const char * | name, | ||
| const KoPageLayout & | layout, | ||
| const KoHeadFoot & | headfoot, | ||
| int | flags, | ||
| KoUnit::Unit | unit, | ||
| bool | modal = true ) |
Constructor.
- Parameters
-
parent The parent of the dialog. name The name of the dialog. layout The layout. headfoot The header and the footer. flags a variable with all features this dialog should show. unit The unit to use for displaying the values to the user. modal Whether the dialog is modal or not.
Definition at line 131 of file KoPageLayoutDia.cpp.
◆ KoPageLayoutDia() [2/2]
| KoPageLayoutDia::KoPageLayoutDia | ( | TQWidget * | parent, |
| const char * | name, | ||
| const KoPageLayout & | layout, | ||
| const KoHeadFoot & | headfoot, | ||
| const KoColumns & | columns, | ||
| const KoKWHeaderFooter & | kwheadfoot, | ||
| int | tabs, | ||
| KoUnit::Unit | unit ) |
Constructor.
- Parameters
-
parent The parent of the dialog. name The name of the dialog. layout The layout. headfoot The header and the footer. columns The number of columns on the page. kwheadfoot The KWord header and footer. tabs The number of tabs. unit The unit to use for displaying the values to the user
Definition at line 156 of file KoPageLayoutDia.cpp.
◆ ~KoPageLayoutDia()
| KoPageLayoutDia::~KoPageLayoutDia | ( | ) |
Destructor.
Definition at line 184 of file KoPageLayoutDia.cpp.
Member Function Documentation
◆ headFoot()
| KoHeadFoot KoPageLayoutDia::headFoot | ( | ) | const |
Returns the header and footer information.
Definition at line 234 of file KoPageLayoutDia.cpp.
◆ layout()
|
inline |
Returns the layout.
Definition at line 150 of file KoPageLayoutDia.h.
◆ pageLayout() [1/2]
|
static |
Show page layout dialog.
See constructor for documentation on the parameters
Definition at line 189 of file KoPageLayoutDia.cpp.
◆ pageLayout() [2/2]
|
static |
Show page layout dialog.
See constructor for documentation on the parameters
Definition at line 207 of file KoPageLayoutDia.cpp.
◆ slotOk
|
protectedvirtualslot |
Definition at line 395 of file KoPageLayoutDia.cpp.
◆ standardLayout()
|
static |
Retrieves a standard page layout.
Deprecated: better use KoPageLayout::standardLayout()
Definition at line 228 of file KoPageLayoutDia.cpp.
◆ unit()
|
inline |
Returns the unit.
Definition at line 160 of file KoPageLayoutDia.h.
The documentation for this class was generated from the following files:
