kis_custom_image_widget.cpp
42KisCustomImageWidget::KisCustomImageWidget(TQWidget *parent, KisDoc *doc, TQ_INT32 defWidth, TQ_INT32 defHeight, double resolution, TQString defColorSpaceName, TQString imageName)
66 KisColorSpace * cs = KisMetaRegistry::instance()->csRegistry()->getColorSpace(cmbColorSpaces->currentItem(), cmbProfile->currentText());
70 m_doc->newImage(txtName->text(), (TQ_INT32)intWidth->value(), (TQ_INT32)intHeight->value(), cs, KisColor(qc, cs), txtDescription->text(), doubleResolution->value());
102 TQValueVector<KisProfile *> profileList = KisMetaRegistry::instance()->csRegistry()->profilesFor( csf );
TQValueVector< KisProfile * > profilesFor(KisColorSpaceFactory *cs)
Return the vector of profiles for this colorspacefactory.
Definition kis_colorspace_factory_registry.cpp:115
A colorspace is the definition of a certain color model in Chalk.
Definition kis_colorspace.h:58
KisCustomImageWidget(TQWidget *parent, KisDoc *doc, TQ_INT32 defWidth, TQ_INT32 defHeight, double resolution, TQString defColorSpaceName, TQString imageName)
Constructor.
Definition kis_custom_image_widget.cpp:42
void documentSelected()
this signal is emitted (as defined by KoDocument) the moment the document is 'ready'
_T get(const KisID &name) const
This function allow to get an object from its KisID.
Definition kis_generic_registry.h:92
