[fondue-commits] [SCM] Fondue Font Editor branch, master, updated. 8421a8499180144f1980fbff2a44fee85e0887ba

Eugeniy Meshcheryakov eugen at debian.org
Tue Sep 30 13:59:35 UTC 2008


The following commit has been merged in the master branch:
commit 9de316104055ebaab8ebb8eb03f21da55ba630a3
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Tue Aug 12 17:42:48 2008 +0200

    document MAXPEditor

diff --git a/gui/maxpeditor.cxx b/gui/maxpeditor.cxx
index 12ff4bb..4e39052 100644
--- a/gui/maxpeditor.cxx
+++ b/gui/maxpeditor.cxx
@@ -21,6 +21,14 @@
 #include <QDataWidgetMapper>
 #include "documentinfomodel.h"
 
+/** \class MAXPEditor maxpeditor.h
+ * MAXP TrueType table editor.
+ * \ingroup gui
+ */
+
+/** Constructs MAXPEditor for the given \a model. \a Model should be
+ * an instance of DocumentInfoModel. Editor will be destroyed on close.
+ */
 MAXPEditor::MAXPEditor(QAbstractItemModel *model, QWidget *parent) : QDialog(parent)
 {
 	Q_ASSERT(model);
@@ -62,7 +70,7 @@ MAXPEditor::MAXPEditor(QAbstractItemModel *model, QWidget *parent) : QDialog(par
 	connect(buttonBox, SIGNAL(clicked(QAbstractButton *)),
 			this, SLOT(buttonClicked(QAbstractButton *)));
 
-	QGridLayout *grid = new QGridLayout();	
+	QGridLayout *grid = new QGridLayout();
 	grid->addWidget(zonesLabel, 0, 0);
 	grid->addWidget(zonesEdit, 0, 1);
 	grid->addWidget(twilightPtsLabel, 0, 2);
@@ -79,7 +87,7 @@ MAXPEditor::MAXPEditor(QAbstractItemModel *model, QWidget *parent) : QDialog(par
 	grid->addWidget(IDEFsEdit, 2, 3);
 
 	grid->addWidget(buttonBox, 4, 0, 1, 4);
-	
+
 	// resizeable columns and rows
 	grid->setRowStretch(3, 1);
 	grid->setColumnStretch(1, 1);
diff --git a/gui/maxpeditor.h b/gui/maxpeditor.h
index a47eb6b..5155a8e 100644
--- a/gui/maxpeditor.h
+++ b/gui/maxpeditor.h
@@ -27,7 +27,7 @@ class MAXPEditor : public QDialog
 	Q_OBJECT
 public:
 	MAXPEditor(QAbstractItemModel *model, QWidget *parent = 0);
-protected slots:
+private slots:
 	void buttonClicked(QAbstractButton *button);
 	void accept();
 private:

-- 
Fondue Font Editor



More information about the fondue-commits mailing list