template-load-tab.cpp revision 8782f3db622f69313c21817dde1bec91d36d1104
/** @file
* @brief New From Template abstract tab 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-load-tab.h"
#include <gtkmm/scrolledwindow.h>
#include <iostream>
#include "interface.h"
#include "file.h"
#include "path-prefix.h"
#include "preferences.h"
#include "inkscape.h"
namespace Inkscape {
namespace UI {
: _current_keyword("")
, _keywords_combo(true)
{
set_border_width(10);
this->show_all();
}
{
}
void TemplateLoadTab::createTemplate()
{
}
void TemplateLoadTab::_displayTemplateInfo()
{
if (templateSelectionRef->get_selected()) {
}
}
void TemplateLoadTab::_initKeywordsList()
{
for (int i = 0 ; i < 10 ; ++i) {
}
}
void TemplateLoadTab::_initLists()
{
_tlist_view.set_headers_visible(false);
}
void TemplateLoadTab::_keywordSelected()
{
}
void TemplateLoadTab::_refreshTemplatesList()
{
_tlist_store->clear();
for (std::map<Glib::ustring, TemplateData>::iterator it = _tdata.begin() ; it != _tdata.end() ; ++it) {
}
}
void TemplateLoadTab::_loadTemplates()
{
// user's local dir
// system templates dir
}
{
return result;
}
{
return;
if (Glib::str_has_suffix(file, ".svg") && !Glib::str_has_prefix(Glib::path_get_basename(file), "default")){
}
}
}
}
}