Scribus
Open source desktop publishing at your fingertips
tablecolumnwidthsdialog.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 TABLECOLUMNWIDTHSDIALOG_H
10 #define TABLECOLUMNWIDTHSDIALOG_H
11 
12 #include "ui_tablecolumnwidthsdialog.h"
13 
14 class ScribusDoc;
15 
19 class TableColumnWidthsDialog : public QDialog, private Ui::TableColumnWidthsDialog
20 {
21  Q_OBJECT
22 public:
24  explicit TableColumnWidthsDialog(ScribusDoc* doc, QWidget *parent = 0);
25 
27  double columnWidth() const;
28 
29 private:
30  ScribusDoc* m_doc;
31 };
32 
33 #endif // TABLECOLUMNWIDTHSDIALOG_H
Definition: tablecolumnwidthsdialog.h:19
the Document Class
Definition: scribusdoc.h:90
double columnWidth() const
Returns the column width the user entered.
Definition: tablecolumnwidthsdialog.cpp:25
TableColumnWidthsDialog(ScribusDoc *doc, QWidget *parent=0)
Constructs a new dialog. The dialog will use the unit of doc.
Definition: tablecolumnwidthsdialog.cpp:14