krita/ui

KisCustomImageWidget Class Reference

The 'Custom Document' widget in the Krita startup widget. More...

#include <kis_custom_image_widget.h>

Inheritance diagram for KisCustomImageWidget:

List of all members.

Signals

void documentSelected ()

Public Member Functions

 KisCustomImageWidget (QWidget *parent, KisDoc2 *doc, qint32 defWidth, qint32 defHeight, bool clipAvailable, double resolution, const QString &defColorSpaceName, const QString &imageName)

Detailed Description

The 'Custom Document' widget in the Krita startup widget.

This class embeds the image size and colorspace to allow the user to select the image properties for a new empty image document.

Definition at line 46 of file kis_custom_image_widget.h.


Constructor & Destructor Documentation

KisCustomImageWidget::KisCustomImageWidget ( QWidget parent,
KisDoc2 doc,
qint32  defWidth,
qint32  defHeight,
bool  clipAvailable,
double  resolution,
const QString defColorSpaceName,
const QString imageName 
)

Constructor.

Please note that this class is being used/created by KisDoc.

Parameters:
parent the parent widget
doc the document that wants to be altered

Definition at line 57 of file kis_custom_image_widget.cc.


Member Function Documentation

void KisCustomImageWidget::documentSelected (  )  [signal]

this signal is emitted (as defined by KoDocument) the moment the document is 'ready'


The documentation for this class was generated from the following files: