Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
inserttablerowsdialog.h
1
/*
2
Copyright (C) 2011 Elvis Stansvik <elvstone@gmail.com>
3
4
For general Scribus (>=1.3.2) copyright and licensing information please refer
5
to the COPYING file provided with the program. Following this notice may exist
6
a copyright and/or license notice that predates the release of Scribus 1.3.2
7
for which a new license (GPL+exception) is in place.
8
*/
9
#ifndef INSERTTABLEROWSDIALOG_H
10
#define INSERTTABLEROWSDIALOG_H
11
12
#include "ui_inserttablerowsdialog.h"
13
14
class
PageItem_Table
;
15
19
class
InsertTableRowsDialog
:
public
QDialog,
private
Ui::InsertTableRowsDialog
20
{
21
Q_OBJECT
22
public
:
24
enum
Position
25
{
26
Before
,
27
After
28
};
29
30
public
:
32
explicit
InsertTableRowsDialog
(
int
appMode, QWidget *parent = 0);
33
35
int
numberOfRows
()
const
{
return
numRows->value(); }
36
38
Position
position
()
const
{
return
static_cast<
Position
>
(positions->checkedId()); }
39
};
40
41
#endif // INSERTTABLEROWSDIALOG_H
InsertTableRowsDialog::Before
Definition:
inserttablerowsdialog.h:26
InsertTableRowsDialog::position
Position position() const
Returns the position the user picked.
Definition:
inserttablerowsdialog.h:38
InsertTableRowsDialog
Definition:
inserttablerowsdialog.h:19
InsertTableRowsDialog::After
Definition:
inserttablerowsdialog.h:27
InsertTableRowsDialog::Position
Position
This enum specifies positions at which the user can insert rows.
Definition:
inserttablerowsdialog.h:24
InsertTableRowsDialog::numberOfRows
int numberOfRows() const
Returns the number of rows the user entered.
Definition:
inserttablerowsdialog.h:35
InsertTableRowsDialog::InsertTableRowsDialog
InsertTableRowsDialog(int appMode, QWidget *parent=0)
Constructs a new dialog for inserting rows. appMode is the current application mode.
Definition:
inserttablerowsdialog.cpp:13
PageItem_Table
Definition:
pageitem_table.h:49
scribus
ui
inserttablerowsdialog.h
Generated on Tue Sep 29 2015 09:15:19 for Scribus by
1.8.9.1