diff options
Diffstat (limited to 'krita/plugins/viewplugins/histogram')
-rw-r--r-- | krita/plugins/viewplugins/histogram/Makefile.am | 25 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/dlg_histogram.cc | 68 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/dlg_histogram.h | 58 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/histogram.cc | 105 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/histogram.h | 50 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/histogram.rc | 10 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/kis_histogram_widget.cc | 147 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/kis_histogram_widget.h | 55 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/kritahistogram.desktop | 43 | ||||
-rw-r--r-- | krita/plugins/viewplugins/histogram/wdghistogram.ui | 229 |
10 files changed, 0 insertions, 790 deletions
diff --git a/krita/plugins/viewplugins/histogram/Makefile.am b/krita/plugins/viewplugins/histogram/Makefile.am deleted file mode 100644 index d32174ed..00000000 --- a/krita/plugins/viewplugins/histogram/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -kritarcdir = $(kde_datadir)/kritaplugins -kritarc_DATA = histogram.rc - -EXTRA_DIST = $(kritarc_DATA) - -INCLUDES = -I$(srcdir)/../../../sdk \ - -I$(srcdir)/../../../core \ - -I$(srcdir)/../../../kritacolor/ \ - -I$(srcdir)/../../../ui \ - -I../../../ui \ - $(KOFFICE_INCLUDES) \ - $(all_includes) - -kde_module_LTLIBRARIES = kritahistogram.la - -kritahistogram_la_SOURCES = histogram.cc dlg_histogram.cc wdghistogram.ui kis_histogram_widget.cc -noinst_HEADERS = dlg_histogram.h histogram.h wdghistogram.h kis_histogram_widget.h - -kde_services_DATA = kritahistogram.desktop - -kritahistogram_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) kritablurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \ - -L../../../../krita/ui/.libs -lkritaui -L../../../../lib/kofficeui/.libs -lkofficeui -kritahistogram_la_LIBADD = ../../../libkritacommon.la - -kritahistogram_la_METASOURCES = AUTO diff --git a/krita/plugins/viewplugins/histogram/dlg_histogram.cc b/krita/plugins/viewplugins/histogram/dlg_histogram.cc deleted file mode 100644 index fe27b257..00000000 --- a/krita/plugins/viewplugins/histogram/dlg_histogram.cc +++ /dev/null @@ -1,68 +0,0 @@ -/* - * dlg_histogram.cc - part of KimageShop^WKrayon^WKrita - * - * Copyright (c) 2004 Boudewijn Rempt <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -#include <tqbuttongroup.h> -#include <tqpushbutton.h> -#include <tqcheckbox.h> -#include <tqslider.h> -#include <tqcombobox.h> -#include <tqpixmap.h> -#include <tqimage.h> -#include <tqlabel.h> - -#include <knuminput.h> -#include <klocale.h> -#include <kdebug.h> - -#include "kis_types.h" -#include "kis_histogram.h" -#include "kis_layer.h" -#include "kis_paint_device.h" - -#include "dlg_histogram.h" -#include "kis_histogram_widget.h" - - -DlgHistogram::DlgHistogram( TQWidget * tqparent, const char * name) - : super (tqparent, name, true, i18n("Histogram"), Ok | Cancel, Ok) -{ - m_page = new KisHistogramWidget(this, "histogram"); - Q_CHECK_PTR(m_page); - - setCaption(i18n("Histogram")); - setMainWidget(m_page); - resize(m_page->tqsizeHint()); -} - -DlgHistogram::~DlgHistogram() -{ - delete m_page; -} - -void DlgHistogram::setPaintDevice(KisPaintDeviceSP dev) -{ - m_page->setPaintDevice(dev); -} - -void DlgHistogram::okClicked() -{ - accept(); -} - -#include "dlg_histogram.moc" diff --git a/krita/plugins/viewplugins/histogram/dlg_histogram.h b/krita/plugins/viewplugins/histogram/dlg_histogram.h deleted file mode 100644 index 8e3fda00..00000000 --- a/krita/plugins/viewplugins/histogram/dlg_histogram.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * dlg_histogram.h -- part of KimageShop^WKrayon^WKrita - * - * Copyright (c) 2004 Boudewijn Rempt <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -#ifndef DLG_HISTOGRAM -#define DLG_HISTOGRAM - -#include <kdialogbase.h> - -#include "kis_types.h" - -class KisHistogramWidget; - -/** - * This dialog shows the histogram for the (selected) portion - * of the current layer. - * - * XXX: Also for complete image? - */ -class DlgHistogram: public KDialogBase { - typedef KDialogBase super; - Q_OBJECT - TQ_OBJECT - -public: - - DlgHistogram(TQWidget * tqparent = 0, - const char* name = 0); - ~DlgHistogram(); - - void setPaintDevice(KisPaintDeviceSP dev); - -private slots: - void okClicked(); - -private: - - KisHistogramWidget * m_page; - KisHistogramSP m_histogram; - KisLayerSP m_layer; -}; - -#endif // DLG_HISTOGRAM diff --git a/krita/plugins/viewplugins/histogram/histogram.cc b/krita/plugins/viewplugins/histogram/histogram.cc deleted file mode 100644 index 59ea0fff..00000000 --- a/krita/plugins/viewplugins/histogram/histogram.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * histogram.h -- Part of Krita - * - * Copyright (c) 2004 Boudewijn Rempt ([email protected]) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - - -#include <math.h> - -#include <stdlib.h> - -#include <tqslider.h> -#include <tqpoint.h> - -#include <klocale.h> -#include <kiconloader.h> -#include <kinstance.h> -#include <kmessagebox.h> -#include <kstandarddirs.h> -#include <ktempfile.h> -#include <kdebug.h> -#include <kgenericfactory.h> - -#include <kis_doc.h> -#include <kis_image.h> -#include <kis_layer.h> -#include <kis_paint_device.h> -#include <kis_global.h> -#include <kis_types.h> -#include <kis_view.h> -#include <kis_selection.h> - -#include "histogram.h" -#include "dlg_histogram.h" -#include "kis_colorspace.h" -#include "kis_histogram.h" - -typedef KGenericFactory<Histogram> HistogramFactory; -K_EXPORT_COMPONENT_FACTORY( kritahistogram, HistogramFactory( "krita" ) ) - -Histogram::Histogram(TQObject *tqparent, const char *name, const TQStringList &) - : KParts::Plugin(tqparent, name) -{ - - if ( tqparent->inherits("KisView") ) { - - setInstance(HistogramFactory::instance()); - setXMLFile(locate("data","kritaplugins/histogram.rc"), true); - - m_action = new KAction(i18n("&Histogram"), 0, 0, this, TQT_SLOT(slotActivated()), actionCollection(), "histogram"); - - m_view = (KisView*) tqparent; - if (KisImageSP img = m_view->canvasSubject()->currentImg()) { - connect(img, TQT_SIGNAL(sigLayersChanged(KisGroupLayerSP)), this, TQT_SLOT(slotLayersChanged())); - connect(img, TQT_SIGNAL(sigLayerAdded(KisLayerSP)), this, TQT_SLOT(slotLayersChanged())); - connect(img, TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayersChanged())); - connect(img, TQT_SIGNAL(sigLayerPropertiesChanged(KisLayerSP)), this, TQT_SLOT(slotLayersChanged())); - connect(img, TQT_SIGNAL(sigLayerRemoved(KisLayerSP, KisGroupLayerSP, KisLayerSP)), - this, TQT_SLOT(slotLayersChanged())); - connect(img, TQT_SIGNAL(sigLayerMoved(KisLayerSP, KisGroupLayerSP, KisLayerSP)), - this, TQT_SLOT(slotLayersChanged())); - m_img = img; - } - } -} - -Histogram::~Histogram() -{ -} - -void Histogram::slotLayersChanged() { - m_action->setEnabled(m_img && m_img->activeLayer() && m_img->activeLayer()->visible()); -} - -void Histogram::slotActivated() -{ - DlgHistogram * dlgHistogram = new DlgHistogram(m_view, "Histogram"); - Q_CHECK_PTR(dlgHistogram); - - KisPaintDeviceSP dev = m_view->canvasSubject()->currentImg()->activeDevice(); - if (dev) - dlgHistogram->setPaintDevice(dev); - - if (dlgHistogram->exec() == TQDialog::Accepted) { - // Do nothing; this is an informational dialog - } - delete dlgHistogram; -} - -#include "histogram.moc" - diff --git a/krita/plugins/viewplugins/histogram/histogram.h b/krita/plugins/viewplugins/histogram/histogram.h deleted file mode 100644 index 9cce8359..00000000 --- a/krita/plugins/viewplugins/histogram/histogram.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * histogram.h -- Part of Krita - * - * Copyright (c) 2004 Boudewijn Rempt ([email protected]) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef HISTOGRAM_H -#define HISTOGRAM_H - -#include <kparts/plugin.h> - -class KisView; -class KAction; -class KisImage; - -class Histogram : public KParts::Plugin -{ - Q_OBJECT - TQ_OBJECT - public: - Histogram(TQObject *tqparent, const char *name, const TQStringList &); - virtual ~Histogram(); - - private slots: - void slotActivated(); - void slotLayersChanged(); - - private: - KisImage* m_img; - KisView * m_view; - KisPainter * m_painter; - KAction* m_action; - -}; - -#endif // HISTOGRAM_H diff --git a/krita/plugins/viewplugins/histogram/histogram.rc b/krita/plugins/viewplugins/histogram/histogram.rc deleted file mode 100644 index f41b50e7..00000000 --- a/krita/plugins/viewplugins/histogram/histogram.rc +++ /dev/null @@ -1,10 +0,0 @@ -<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui library="kritahistogram" version="6"> -<MenuBar> - <Menu name="Layer"><text>&Layer</text> - <Separator/> - <Action name="histogram"/> - <Separator/> - </Menu> -</MenuBar> -</kpartgui> diff --git a/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc b/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc deleted file mode 100644 index 12005e05..00000000 --- a/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Copyright (c) 2004 Boudewijn Rempt - * (c) 2005 Bart Coppens <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include <tqpainter.h> -#include <tqpixmap.h> -#include <tqlabel.h> -#include <tqcombobox.h> -#include <tqbuttongroup.h> -#include <tqpushbutton.h> -#include <tqscrollbar.h> -#include <tqtooltip.h> - -#include <kdebug.h> - -#include "kis_channelinfo.h" -#include "kis_histogram_view.h" -#include "kis_histogram_widget.h" -#include "kis_histogram.h" -#include "kis_global.h" -#include "kis_types.h" -#include "kis_layer.h" -#include "kis_paint_device.h" -#include "kis_colorspace.h" - - -KisHistogramWidget::KisHistogramWidget(TQWidget *tqparent, const char *name) - : super(tqparent, name) -{ - m_from = 0.0; - m_width = 0.0; -} - -KisHistogramWidget::~KisHistogramWidget() -{ -} - -void KisHistogramWidget::setPaintDevice(KisPaintDeviceSP dev) -{ - grpType->disconnect(this); - cmbChannel->disconnect(this); - - m_histogramView->setPaintDevice(dev); - setActiveChannel(0); // So we have the colored one if there are colors - - // The channels - cmbChannel->clear(); - cmbChannel->insertStringList(m_histogramView->channelStrings()); - cmbChannel->setCurrentItem(0); - - // View display - currentView->setMinValue(0); - currentView->setMaxValue(100); - - updateEnabled(); - - m_from = m_histogramView->currentProducer()->viewFrom(); - m_width = m_histogramView->currentProducer()->viewWidth(); - - connect(grpType, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotTypeSwitched(int))); - connect(cmbChannel, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setActiveChannel(int))); - connect(zoomIn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotZoomIn())); - connect(zoomOut, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotZoomOut())); - connect(currentView, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slide(int))); -} - -void KisHistogramWidget::setActiveChannel(int channel) -{ - m_histogramView->setActiveChannel(channel); - updateEnabled(); -} - -void KisHistogramWidget::slotTypeSwitched(int id) -{ - if (id == LINEAR) - m_histogramView->setHistogramType(LINEAR); - else if (id == LOGARITHMIC) - m_histogramView->setHistogramType(LOGARITHMIC); -} - -void KisHistogramWidget::setView(double from, double size) -{ - m_from = from; - m_width = size; - if (m_from + m_width > 1.0) - m_from = 1.0 - m_width; - m_histogramView->setView(m_from, m_width); - updateEnabled(); -} - -void KisHistogramWidget::slotZoomIn() { - if ((m_width / 2) >= m_histogramView->currentProducer()->maximalZoom()) { - setView(m_from, m_width / 2); - } -} - -void KisHistogramWidget::slotZoomOut() { - if (m_width * 2 <= 1.0) { - setView(m_from, m_width * 2); - } -} - -void KisHistogramWidget::slide(int val) { - // Beware: at the END (e.g. 100), we want to still view m_width: - setView((static_cast<double>(val) / 100.0) * (1.0 - m_width), m_width); -} - -void KisHistogramWidget::updateEnabled() { - if (m_histogramView->currentProducer()->maximalZoom() < 1.0) { - if ((m_width / 2) >= m_histogramView->currentProducer()->maximalZoom()) { - zoomIn->setEnabled(true); - } else { - zoomIn->setEnabled(false); - } - if (m_width * 2 <= 1.0) { - zoomOut->setEnabled(true); - } else { - zoomOut->setEnabled(false); - } - if (m_width < 1.0) - currentView->setEnabled(true); - else - currentView->setEnabled(false); - } else { - zoomIn->setEnabled(false); - zoomOut->setEnabled(false); - currentView->setEnabled(false); - } -} - -#include "kis_histogram_widget.moc" - diff --git a/krita/plugins/viewplugins/histogram/kis_histogram_widget.h b/krita/plugins/viewplugins/histogram/kis_histogram_widget.h deleted file mode 100644 index f83394e7..00000000 --- a/krita/plugins/viewplugins/histogram/kis_histogram_widget.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2004 Boudewijn Rempt - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -#ifndef KIS_HISTOGRAM_WIDGET_ -#define KIS_HISTOGRAM_WIDGET_ - -#include "kis_types.h" -#include "wdghistogram.h" - -class KisColorSpace; - -/** - * The histogram widget takes a paint device or an image and - * draws a histogram for the given KisHistogram. - */ -class KisHistogramWidget : public WdgHistogram { - typedef WdgHistogram super; - Q_OBJECT - TQ_OBJECT - -public: - KisHistogramWidget(TQWidget *tqparent, const char *name); - virtual ~KisHistogramWidget(); - - void setPaintDevice(KisPaintDeviceSP dev); - -private slots: - void setActiveChannel(int channel); - void slotTypeSwitched(int id); - void slotZoomIn(); - void slotZoomOut(); - void slide(int val); - -private: - void setView(double from, double size); - void updateEnabled(); - double m_from, m_width; -}; - - -#endif // KIS_HISTOGRAM_WIDGET_ diff --git a/krita/plugins/viewplugins/histogram/kritahistogram.desktop b/krita/plugins/viewplugins/histogram/kritahistogram.desktop deleted file mode 100644 index 552f27d6..00000000 --- a/krita/plugins/viewplugins/histogram/kritahistogram.desktop +++ /dev/null @@ -1,43 +0,0 @@ -[Desktop Entry] -Name=Histogram Plugin -Name[bg]=Приставка за Histogram -Name[ca]=Connector d'histograma -Name[da]=Plugin med histogram -Name[de]=Histogramm-Modul -Name[el]=Πρόσθετο ιστογράμματος -Name[eo]=Histograma kromaĵo -Name[es]=Complemento de histograma -Name[et]=Histogrammiplugin -Name[fa]=وصلۀ سابقهنما -Name[fr]=Module d'histogramme -Name[fy]=Histogramplugin -Name[gl]=Plugin de Histograma -Name[hu]=Hisztogram modul -Name[is]=Súluritssía -Name[it]=Plugin per gli istogrammi -Name[ja]=ヒストグラムプラグイン -Name[km]=កម្មវិធីជំនួយអ៊ីស្តូក្រាម -Name[lt]=Histogramos įskiepis -Name[nb]=Programtillegg for histogram -Name[nds]=Histogramm-Moduul -Name[ne]=हिस्टोग्राम प्लगइन -Name[nl]=Histogramplugin -Name[pl]=Wtyczka histogramu -Name[pt]='Plugin' do Histograma -Name[pt_BR]=Plugin do Histograma -Name[ru]=Модуль гистограммы -Name[se]=Histogram lassemoduvla -Name[sk]=Modul histogram -Name[sl]=Vstavek za histograme -Name[sr]=Хистограмски прикључак -Name[sr@Latn]=Histogramski priključak -Name[sv]=Insticksprogram med histogram -Name[uk]=Втулок гістограм -Name[uz]=Gistogramma plagini -Name[uz@cyrillic]=Гистограмма плагини -Name[zh_CN]=直方图插件 -Name[zh_TW]=直方圖外掛程式 -ServiceTypes=Krita/ViewPlugin -Type=Service -X-KDE-Library=kritahistogram -X-Krita-Version=2 diff --git a/krita/plugins/viewplugins/histogram/wdghistogram.ui b/krita/plugins/viewplugins/histogram/wdghistogram.ui deleted file mode 100644 index 77c418ed..00000000 --- a/krita/plugins/viewplugins/histogram/wdghistogram.ui +++ /dev/null @@ -1,229 +0,0 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>WdgHistogram</class> -<widget class="TQWidget"> - <property name="name"> - <cstring>WdgHistogram</cstring> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>450</width> - <height>380</height> - </rect> - </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQButtonGroup"> - <property name="name"> - <cstring>grpType</cstring> - </property> - <property name="title"> - <string>Method</string> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQRadioButton" row="0" column="2"> - <property name="name"> - <cstring>radioLinear</cstring> - </property> - <property name="text"> - <string>&Linear</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - <widget class="TQRadioButton" row="1" column="2" rowspan="2" colspan="1"> - <property name="name"> - <cstring>radioLog</cstring> - </property> - <property name="text"> - <string>&Logarithmic</string> - </property> - </widget> - <spacer row="2" column="1"> - <property name="name"> - <cstring>spacer1</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Preferred</enum> - </property> - <property name="tqsizeHint"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="TQComboBox" row="0" column="1" rowspan="2" colspan="1"> - <property name="name"> - <cstring>cmbChannel</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="tqminimumSize"> - <size> - <width>200</width> - <height>0</height> - </size> - </property> - </widget> - <widget class="TQLabel" row="0" column="0" rowspan="2" colspan="1"> - <property name="name"> - <cstring>lblChannel</cstring> - </property> - <property name="text"> - <string>&Channel:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>cmbChannel</cstring> - </property> - </widget> - <spacer row="2" column="0"> - <property name="name"> - <cstring>spacer2</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Preferred</enum> - </property> - <property name="tqsizeHint"> - <size> - <width>20</width> - <height>21</height> - </size> - </property> - </spacer> - </grid> - </widget> - <widget class="KisHistogramView"> - <property name="name"> - <cstring>m_histogramView</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>7</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="tqminimumSize"> - <size> - <width>256</width> - <height>150</height> - </size> - </property> - </widget> - <widget class="TQLayoutWidget"> - <property name="name"> - <cstring>tqlayout2</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQLabel"> - <property name="name"> - <cstring>textLabel1</cstring> - </property> - <property name="text"> - <string>View:</string> - </property> - </widget> - <widget class="TQPushButton"> - <property name="name"> - <cstring>zoomIn</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>+</string> - </property> - </widget> - <widget class="TQPushButton"> - <property name="name"> - <cstring>zoomOut</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>-</string> - </property> - </widget> - <widget class="TQScrollBar"> - <property name="name"> - <cstring>currentView</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - </widget> - </hbox> - </widget> - </vbox> -</widget> -<customwidgets> - <customwidget> - <class>KisHistogramView</class> - <header location="local">kis_histogram_view.h</header> - <sizehint> - <width>-1</width> - <height>-1</height> - </sizehint> - <container>0</container> - <sizepolicy> - <hordata>5</hordata> - <verdata>5</verdata> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - <pixmap>image0</pixmap> - </customwidget> -</customwidgets> -<images> - <image name="image0"> - <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data> - </image> -</images> -<tqlayoutdefaults spacing="6" margin="11"/> -<includehints> - <includehint>kis_histogram_view.h</includehint> -</includehints> -</UI> |