#include <kspread_view.h>
Inherits KPrintDialogPage.
Print dialog page for selecting sheets to print.
- Author
- rapha.nosp@m.el.l.nosp@m.anger.nosp@m.hors.nosp@m.t@kde.nosp@m.mail.nosp@m..net
- See also
- SheetSelectWidget
This dialog is shown in the print dialog and allows the user to select the sheets that should be printed and in which order they should be printed.
Definition at line 80 of file kspread_view.h.
◆ KPSheetSelectPage()
| KSpread::KPSheetSelectPage::KPSheetSelectPage |
( |
TQWidget * |
parent = 0 | ) |
|
◆ clearSelection()
| void KSpread::KPSheetSelectPage::clearSelection |
( |
| ) |
|
Removes all sheets from the list of selected sheets.
Definition at line 1515 of file kspread_view.cpp.
◆ getOptions()
| void KSpread::KPSheetSelectPage::getOptions |
( |
TQMap< TQString, TQString > & |
opts, |
|
|
bool |
incldef = false |
|
) |
| |
◆ isValid()
| bool KSpread::KPSheetSelectPage::isValid |
( |
TQString & |
msg | ) |
|
- Returns
- false if no sheet is selected for printing.
Definition at line 1459 of file kspread_view.cpp.
◆ moveBottom
| void KSpread::KPSheetSelectPage::moveBottom |
( |
| ) |
|
|
protectedslot |
◆ moveDown
| void KSpread::KPSheetSelectPage::moveDown |
( |
| ) |
|
|
protectedslot |
◆ moveTop
| void KSpread::KPSheetSelectPage::moveTop |
( |
| ) |
|
|
protectedslot |
◆ moveUp
| void KSpread::KPSheetSelectPage::moveUp |
( |
| ) |
|
|
protectedslot |
◆ prependAvailableSheet
| void KSpread::KPSheetSelectPage::prependAvailableSheet |
( |
const TQString & |
sheetname | ) |
|
|
slot |
Inserts given sheet to the list of available sheets.
Definition at line 1478 of file kspread_view.cpp.
◆ prependSelectedSheet
| void KSpread::KPSheetSelectPage::prependSelectedSheet |
( |
const TQString & |
sheetname | ) |
|
|
slot |
Inserts given sheet to the list of sheets for printing at the top.
Definition at line 1484 of file kspread_view.cpp.
◆ printOptionForIndex()
| TQString KSpread::KPSheetSelectPage::printOptionForIndex |
( |
unsigned int |
index | ) |
|
|
static |
The print order of the sheets is stored in the option map, using a prefix plus the index of the sheet, like the following:
- sheetprintorder0
- sheetprintorder1
- sheetprintorder2 Please note that this is just the key to the value, not the value itself. The value of the option is the sheetname itself.
- Parameters
-
| index | the index of the print order, starting at 0 |
- Returns
- the string that is used in the printoption for given index
Definition at line 1473 of file kspread_view.cpp.
◆ remove
| void KSpread::KPSheetSelectPage::remove |
( |
| ) |
|
|
protectedslot |
◆ removeAll
| void KSpread::KPSheetSelectPage::removeAll |
( |
| ) |
|
|
protectedslot |
◆ select
| void KSpread::KPSheetSelectPage::select |
( |
| ) |
|
|
protectedslot |
◆ selectAll
| void KSpread::KPSheetSelectPage::selectAll |
( |
| ) |
|
|
protectedslot |
◆ selectedSheets() [1/2]
| TQStringList KSpread::KPSheetSelectPage::selectedSheets |
( |
| ) |
|
- Returns
- list of sheets that will be printed, in correct order.
Definition at line 1490 of file kspread_view.cpp.
◆ selectedSheets() [2/2]
| TQStringList KSpread::KPSheetSelectPage::selectedSheets |
( |
KPrinter & |
prt | ) |
|
|
static |
- Parameters
-
| prt | the printer from which the options should be read. |
- Returns
- list of sheets to print in correct order configured for given printer.
Definition at line 1503 of file kspread_view.cpp.
◆ setOptions()
| void KSpread::KPSheetSelectPage::setOptions |
( |
const TQMap< TQString, TQString > & |
opts | ) |
|
The documentation for this class was generated from the following files: