QPageSetupDialog Class ReferenceThe QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. Далее... #include <QPageSetupDialog> Унаследован от: QDialog. Открытые типы
Свойства
Открытые функции
Переопределённые открытые функции
Дополнительные унаследованные члены
Подробное описаниеThe QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. On Windows and Mac OS X the page setup dialog is implemented using the native page setup dialogs. Note that on Windows and Mac OS X custom paper sizes won't be reflected in the native page setup dialogs. Additionally, custom page margins set on a QPrinter won't show in the native Mac OS X page setup dialog. In Symbian, there is no support for printing. Hence, this dialog should not be used in Symbian. See also QPrinter and QPrintDialog. Описание типов-членовenum QPageSetupDialog::PageSetupDialogOption
|
Константа | Значение | Описание |
---|---|---|
QPageSetupDialog::DontUseSheet | 0x00000001 | In previous versions of QDialog::exec() the page setup dialog would create a sheet by default if the dialog was given a parent. This is no longer supported from Qt 4.5. If you want to use sheets, use QPageSetupDialog::open() instead. |
Данное перечисление было введено или модифицировано в Qt 4.4.
The PageSetupDialogOptions type is a typedef for QFlags<PageSetupDialogOption>. It stores an OR combination of PageSetupDialogOption values.
Это свойство содержит различные опции, которые влияют на внешний вид и поведение диалога.
По умолчанию все опции отключены.
Опции должны быть установлены до показа диалога. Их установка пока диалог видим не гарантирует немедленного эффекта на диалоге (зависит от опции и платформы).
Это свойство было введено в Qt 4.5.
Функции доступа:
PageSetupDialogOptions | options () const |
void | setOptions ( PageSetupDialogOptions options ) |
Смотрите также setOption() и testOption().
Constructs a page setup dialog that configures printer with parent as the parent widget.
Constructs a page setup dialog that configures a default-constructed QPrinter with parent as the parent widget.
Эта функция была введена в Qt 4.5.
Смотрите также printer().
Это перегруженная функция.
Opens the dialog and connects its accepted() signal to the slot specified by receiver and member.
Сигнал будет отсоединен от слота когда диалог закрывается.
Эта функция была введена в Qt 4.5.
Returns the printer that was passed to the QPageSetupDialog constructor.
Устанавливает заданную опцию option включённой если on равно true; в противном случае очищает заданную опцию option.
Смотрите также options и testOption().
Переопределено из QWidget::setVisible().
Возвращает true если заданная опция option включена; в противном случае возвращается false.
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |