A dialog to setup the existing document margins. In modal mode called from void ScribusMainWindow::changePageProperties()
More...
#include <margindialog.h>
|
virtual void | setPageSize () |
| as setOrien for orientationQComboBox current item
|
|
virtual void | setSize (const QString &gr) |
| Sets page size and enables/disables size widgets. More...
|
|
virtual void | setOrien (int ori) |
| Sets page orientation and sizes regarding the given value. More...
|
|
virtual void | setPageWidth (double v) |
| Recompute the page width for current unit. It's called from width spinbox. More...
|
|
virtual void | setPageHeight (double v) |
| Recompute the page height for current unit. It's called from width spinbox. More...
|
|
A dialog to setup the existing document margins. In modal mode called from void ScribusMainWindow::changePageProperties()
MarginDialog::MarginDialog |
( |
QWidget * |
parent, |
|
|
ScribusDoc * |
doc |
|
) |
| |
GUI setup.
- Parameters
-
parent | Scribus main window in this case |
doc | current document |
double MarginDialog::bottom |
( |
void |
| ) |
|
Bottom Margin.
- Return values
-
bool MarginDialog::getMoveObjects |
( |
| ) |
|
Bool value of moveObjects "property".
- Return values
-
double MarginDialog::getPageHeight |
( |
| ) |
|
Selected page height.
- Return values
-
int MarginDialog::getPageOrientation |
( |
| ) |
|
Current value of orientationQComboBox.
- Return values
-
double MarginDialog::getPageWidth |
( |
| ) |
|
Selected page width.
- Return values
-
QString MarginDialog::getpPrefsPageSizeName |
( |
| ) |
|
Returns prefsPageSizeName value.
- Return values
-
QString | prefsPageSizeName property |
double MarginDialog::left |
( |
| ) |
|
Left Margin.
- Return values
-
QString MarginDialog::masterPage |
( |
| ) |
|
Master Page.
- Return values
-
int MarginDialog::pageOrder |
( |
| ) |
|
Returns recomputed "Links" index/value for facing pages.
- Return values
-
int | 0 for max item, 1 for min. item++ for middle. Why? |
double MarginDialog::right |
( |
| ) |
|
Right Margin.
- Return values
-
void MarginDialog::setOrien |
( |
int |
ori | ) |
|
|
virtualslot |
Sets page orientation and sizes regarding the given value.
- Parameters
-
ori | integer from orientationQComboBox item index |
void MarginDialog::setPageHeight |
( |
double |
v | ) |
|
|
virtualslot |
Recompute the page height for current unit. It's called from width spinbox.
- Parameters
-
void MarginDialog::setPageWidth |
( |
double |
v | ) |
|
|
virtualslot |
Recompute the page width for current unit. It's called from width spinbox.
- Parameters
-
void MarginDialog::setSize |
( |
const QString & |
gr | ) |
|
|
virtualslot |
Sets page size and enables/disables size widgets.
- Parameters
-
gr | A QString with name of the page size or "Custom" |
double MarginDialog::top |
( |
void |
| ) |
|
Top Margin.
- Return values
-
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/ui/margindialog.h
- /Users/ale/src/Scribus/scribus/ui/margindialog.cpp