[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikamimageplugins
From: Gilles Caulier <caulier.gilles () gmail ! com>
Date: 2007-03-15 14:54:08
Message-ID: 1173970448.707630.3896.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 642837 by cgilles:
optimize layout
M +3 -3 adjustlevels/adjustlevels.cpp
M +1 -1 antivignetting/imageeffect_antivignetting.cpp
M +8 -9 blowup/imageeffect_blowup.cpp
M +22 -21 blowup/imageeffect_blowup.h
M +4 -4 blurfx/imageeffect_blurfx.cpp
M +4 -4 border/imageeffect_border.cpp
M +3 -3 channelmixer/channelmixer.cpp
M +3 -3 charcoal/imageeffect_charcoal.cpp
M +1 -1 colorfx/imageeffect_colorfx.cpp
M +1 -1 distortionfx/imageeffect_distortionfx.cpp
M +3 -3 emboss/imageeffect_emboss.cpp
--- trunk/extragear/graphics/digikamimageplugins/adjustlevels/adjustlevels.cpp \
#642836:642837 @@ -1,9 +1,9 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
* Date : 2004-07-20
* Description : image histogram adjust levels.
*
- * Copyright 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright 2004-2007 by Gilles Caulier
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -112,7 +112,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* grid = new QGridLayout( gboxSettings, 9, 5, marginHint(), \
spacingHint()); + QGridLayout* grid = new QGridLayout( gboxSettings, 9, 5, \
spacingHint());
QLabel *label1 = new QLabel(i18n("Channel:"), gboxSettings);
label1->setAlignment ( Qt::AlignRight | Qt::AlignVCenter );
--- trunk/extragear/graphics/digikamimageplugins/antivignetting/imageeffect_antivignetting.cpp \
#642836:642837 @@ -77,7 +77,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* gridSettings = new QGridLayout( gboxSettings, 13, 2, marginHint(), \
spacingHint()); + QGridLayout* gridSettings = new QGridLayout( gboxSettings, 13, \
2, spacingHint());
m_maskPreviewLabel = new QLabel( gboxSettings );
m_maskPreviewLabel->setAlignment ( Qt::AlignHCenter | Qt::AlignVCenter );
--- trunk/extragear/graphics/digikamimageplugins/blowup/imageeffect_blowup.cpp \
#642836:642837 @@ -1,11 +1,10 @@
/* ============================================================
- * File : imageeffect_blowup.cpp
- * Author: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2005-04-07
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Date : 2005-04-07
* Description : a digiKam image editor plugin to blowup
* a photograph
*
- * Copyright 2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright 2005-2007 by Gilles Caulier
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -74,6 +73,7 @@
#include "cimgiface.h"
#include "bannerwidget.h"
#include "imageeffect_blowup.h"
+#include "imageeffect_blowup.moc"
namespace DigikamBlowUpImagesPlugin
{
@@ -102,7 +102,7 @@
digikamimageplugins_version,
I18N_NOOP("A digiKam image plugin to blowup a \
photograph."), KAboutData::License_GPL,
- "(c) 2005, Gilles Caulier",
+ "(c) 2005-2007, Gilles Caulier",
0,
"http://extragear.kde.org/apps/digikamimageplugins");
@@ -134,7 +134,7 @@
m_mainTab = new QTabWidget( plainPage() );
QWidget* firstPage = new QWidget( m_mainTab );
- QGridLayout* grid = new QGridLayout( firstPage, 3, 2, marginHint(), \
spacingHint()); + QGridLayout* grid = new QGridLayout( firstPage, 3, 2, \
spacingHint()); m_mainTab->addTab( firstPage, i18n("New Size") );
KURLLabel *cimgLogoLabel = new KURLLabel(firstPage);
@@ -175,7 +175,7 @@
// -------------------------------------------------------------
QWidget* secondPage = new QWidget( m_mainTab );
- QGridLayout* grid2 = new QGridLayout( secondPage, 2, 4, marginHint(), \
spacingHint()); + QGridLayout* grid2 = new QGridLayout( secondPage, 2, 4, \
spacingHint()); m_mainTab->addTab( secondPage, i18n("Smoothing") );
m_detailLabel = new QLabel(i18n("Detail preservation:"), secondPage);
@@ -231,7 +231,7 @@
// -------------------------------------------------------------
QWidget* thirdPage = new QWidget( m_mainTab );
- QGridLayout* grid3 = new QGridLayout( thirdPage, 2, 3, marginHint(), \
spacingHint()); + QGridLayout* grid3 = new QGridLayout( thirdPage, 2, 3, \
spacingHint()); m_mainTab->addTab( thirdPage, i18n("Advanced Settings") );
m_angularStepLabel = new QLabel(i18n("Angular step:"), thirdPage);
@@ -558,4 +558,3 @@
} // NameSpace DigikamBlowUpImagesPlugin
-#include "imageeffect_blowup.moc"
--- trunk/extragear/graphics/digikamimageplugins/blowup/imageeffect_blowup.h \
#642836:642837 @@ -1,11 +1,10 @@
/* ============================================================
- * File : imageeffect_blowup.h
- * Author: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2005-04-07
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Date : 2005-04-07
* Description : a digiKam image editor plugin to blowup
* a photograph
*
- * Copyright 2005 by Gilles Caulier
+ * Copyright 2005-2007 by Gilles Caulier
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -72,10 +71,27 @@
private:
+ void customEvent(QCustomEvent *event);
+
+private slots:
+
+ void slotCheckSettings(void);
+ void slotHelp();
+ void slotOk();
+ void slotCancel();
+ void slotDefault();
+ void slotUser2();
+ void slotUser3();
+ void processCImgURL(const QString&);
+ void slotAdjustRatioFromWidth(int w);
+ void slotAdjustRatioFromHeight(int h);
+
+private:
+
enum RunningMode
{
- NoneRendering=0,
- FinalRendering
+ NoneRendering=0,
+ FinalRendering
};
int m_currentRenderingMode;
@@ -120,21 +136,6 @@
DigikamImagePlugins::CimgIface *m_cimgInterface;
Digikam::ImageIface *m_iface;
-
- void customEvent(QCustomEvent *event);
-
-private slots:
-
- void slotCheckSettings(void);
- void slotHelp();
- void slotOk();
- void slotCancel();
- void slotDefault();
- void slotUser2();
- void slotUser3();
- void processCImgURL(const QString&);
- void slotAdjustRatioFromWidth(int w);
- void slotAdjustRatioFromHeight(int h);
};
} // NameSpace DigikamBlowUpImagesPlugin
--- trunk/extragear/graphics/digikamimageplugins/blurfx/imageeffect_blurfx.cpp \
#642836:642837 @@ -1,11 +1,11 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
* Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
* Date : 2005-02-09
* Description :
*
- * Copyright 2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
- * Copyright 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com> and \
Marcel Wiesweg + * Copyright 2005 by Gilles Caulier
+ * Copyright 2006-2007 by Gilles Caulier and Marcel Wiesweg
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -79,7 +79,7 @@
// -------------------------------------------------------------
- QWidget *gboxSettings = new QWidget(m_imagePreviewWidget);
+ QWidget *gboxSettings = new QWidget(m_imagePreviewWidget);
QGridLayout* gridSettings = new QGridLayout( gboxSettings, 5, 1, 0, \
spacingHint());
m_effectTypeLabel = new QLabel(i18n("Type:"), gboxSettings);
--- trunk/extragear/graphics/digikamimageplugins/border/imageeffect_border.cpp \
#642836:642837 @@ -1,12 +1,12 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
* Date : 2005-01-20
* Description : a digiKam image plugin to add a border
* around an image.
*
- * Copyright 2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
- * Copyright 2006 by Gilles Caulier <caulier dot gilles at gmail dot com> and Marcel \
Wiesweg + * Copyright 2005 by Gilles Caulier
+ * Copyright 2006-2007 by Gilles Caulier and Marcel Wiesweg
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -82,7 +82,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* gridSettings = new QGridLayout(gboxSettings, 10, 2, marginHint(), \
spacingHint()); + QGridLayout* gridSettings = new QGridLayout(gboxSettings, 10, 2, \
spacingHint());
QLabel *label1 = new QLabel(i18n("Type:"), gboxSettings);
--- trunk/extragear/graphics/digikamimageplugins/channelmixer/channelmixer.cpp \
#642836:642837 @@ -1,9 +1,9 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
* Date : 2005-02-26
* Description :
*
- * Copyright 2005-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright 2005-2007 by Gilles Caulier
*
* Load and save mixer gains methods inspired from
* Gimp 2.2.3 and copyrighted 2002 by Martin Guldahl
@@ -108,7 +108,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* grid = new QGridLayout( gboxSettings, 9, 4, marginHint(), \
spacingHint()); + QGridLayout* grid = new QGridLayout( gboxSettings, 9, 4, \
spacingHint());
QLabel *label1 = new QLabel(i18n("Channel:"), gboxSettings);
label1->setAlignment ( Qt::AlignRight | Qt::AlignVCenter );
--- trunk/extragear/graphics/digikamimageplugins/charcoal/imageeffect_charcoal.cpp \
#642836:642837 @@ -1,10 +1,10 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
* Date : 2004-08-26
* Description : a digikam image editor plugin for
* simulate charcoal drawing.
*
- * Copyright 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright 2004-2007 by Gilles Caulier
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@@ -68,7 +68,7 @@
// -------------------------------------------------------------
- QWidget *gboxSettings = new QWidget(m_imagePreviewWidget);
+ QWidget *gboxSettings = new QWidget(m_imagePreviewWidget);
QGridLayout* gridSettings = new QGridLayout( gboxSettings, 3, 1, 0, \
spacingHint()); QLabel *label1 = new QLabel(i18n("Pencil size:"), gboxSettings);
--- trunk/extragear/graphics/digikamimageplugins/colorfx/imageeffect_colorfx.cpp \
#642836:642837 @@ -91,7 +91,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* gridSettings = new QGridLayout( gboxSettings, 9, 4, marginHint(), \
spacingHint()); + QGridLayout* gridSettings = new QGridLayout( gboxSettings, 9, 4, \
spacingHint());
QLabel *label1 = new QLabel(i18n("Channel:"), gboxSettings);
label1->setAlignment ( Qt::AlignRight | Qt::AlignVCenter );
--- trunk/extragear/graphics/digikamimageplugins/distortionfx/imageeffect_distortionfx.cpp \
#642836:642837 @@ -85,7 +85,7 @@
// -------------------------------------------------------------
QWidget *gboxSettings = new QWidget(plainPage());
- QGridLayout* gridSettings = new QGridLayout( gboxSettings, 5, 2, marginHint(), \
spacingHint()); + QGridLayout* gridSettings = new QGridLayout( gboxSettings, 5, 2, \
spacingHint());
m_effectTypeLabel = new QLabel(i18n("Type:"), gboxSettings);
--- trunk/extragear/graphics/digikamimageplugins/emboss/imageeffect_emboss.cpp \
#642836:642837 @@ -1,12 +1,12 @@
/* ============================================================
- * Authors: Gilles Caulier
+ * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
* Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
* Date : 2004-08-26
* Description : a digiKam image editor plugin to emboss
* an image.
*
- * Copyright 2004-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
- * Copyright 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com> and \
Marcel Wiesweg + * Copyright 2004-2005 by Gilles Caulier
+ * Copyright 2006-2007 by Gilles Caulier and Marcel Wiesweg
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic