Version magic.
3 * This file is a part of LEMON, a generic C++ optimization library
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
19 #include "file_chooser_extra_widget.h"
20 #include "mapstorage.h"
22 FileChooserExtraWidget::FileChooserExtraWidget(MapStorage* ms) :
23 Gtk::Expander("_Options", true),
24 lblGUIData("Save GUI specific data to:"),
25 rbGUISection("_GUI section", true),
26 rbConfFile("s_eparate .conf file", true)
28 std::cout << "FileChooserExtraWidget()" << std::endl;
30 Gtk::RadioButtonGroup group = rbGUISection.get_group();
31 rbConfFile.set_group(group);
34 switch (pMapStorage->getGUIDataSaveLocation())
44 box.pack_start(lblGUIData, Gtk::PACK_SHRINK);
45 box.pack_start(rbGUISection, Gtk::PACK_SHRINK);
46 box.pack_start(rbConfFile, Gtk::PACK_SHRINK);
48 rbConfFile.signal_group_changed().connect(
49 sigc::mem_fun(*this, &FileChooserExtraWidget::onRbToggled));
50 rbGUISection.signal_group_changed().connect(
51 sigc::mem_fun(*this, &FileChooserExtraWidget::onRbToggled));
56 void FileChooserExtraWidget::onRbToggled()
58 std::cout << "onRbToggled()" << std::endl;
61 FileChooserExtraWidget::~FileChooserExtraWidget()
63 std::cout << "~FileChooserExtraWidget()" << std::endl;