template-widget.cpp revision 7a64eb71a6658ea38c658711b55e41932a4e2b1a
/** @file
* @brief New From Template - templates widget - implementation
*/
/* Authors:
* Jan Darowski <jan.darowski@gmail.com>, supervised by Krzysztof KosiĆski
*
* Copyright (C) 2013 Authors
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "template-widget.h"
#include "template-load-tab.h"
#include "file.h"
#include <gtkmm/alignment.h>
#include <gtkmm/messagedialog.h>
namespace Inkscape {
namespace UI {
: _more_info_button(_("More info"))
, _short_description_label(_(" "))
, _template_author_label(_(" "))
, _template_name_label(_("no template selected"))
, _preview_image(" ")
{
}
void TemplateWidget::create()
{
return;
if (_current_template.is_procedural) {}
else {
}
}
{
if (data.is_procedural){}
else{
Glib::ustring imagePath = Glib::build_filename(Glib::path_get_dirname(_current_template.path), _current_template.preview_name);
}
}
{
return;
message += _("Keywords: ");
for (std::set<Glib::ustring>::iterator it = _current_template.keywords.begin(); it != _current_template.keywords.end(); ++it)
message += "\n\n";
}
}
}
}