Esempio n. 1
0
void XbmExport::extraImageAttribute()
{
    ExportSizeDia  *exportDialog = new ExportSizeDia( width, height,
						   0, "exportdialog");
    if (exportDialog->exec()) {
	width  = exportDialog->width();
	height = exportDialog->height();

	kdDebug() << "Xbm Export: size = [" << width << "," << height << "]" << endl;
    }
    delete exportDialog;
}
Esempio n. 2
0
bool PngExport::extraImageAttribute()
{
    bool ret = false;
    ExportSizeDia  *exportDialog = new ExportSizeDia( width, height,
						   0, "exportdialog");
    if (exportDialog->exec()) {
	width  = exportDialog->width();
	height = exportDialog->height();
	ret = true;
	kdDebug() << "PNG Export: size = [" << width << "," << height << "]" << endl;
    }
    delete exportDialog;
    return ret;
}