file_chooser_extra_widget.h
author hegyi
Mon, 30 Oct 2006 13:08:04 +0000
changeset 176 9fc3d5170b24
parent 173 8339178ae43d
permissions -rw-r--r--
Showed map is loaded even if ArrowPos not.
alpar@174
     1
/* -*- C++ -*-
alpar@174
     2
 *
alpar@174
     3
 * This file is a part of LEMON, a generic C++ optimization library
alpar@174
     4
 *
alpar@174
     5
 * Copyright (C) 2003-2006
alpar@174
     6
 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
alpar@174
     7
 * (Egervary Research Group on Combinatorial Optimization, EGRES).
alpar@174
     8
 *
alpar@174
     9
 * Permission to use, modify and distribute this software is granted
alpar@174
    10
 * provided that this copyright notice appears in all copies. For
alpar@174
    11
 * precise terms see the accompanying LICENSE file.
alpar@174
    12
 *
alpar@174
    13
 * This software is provided "AS IS" with no warranty of any kind,
alpar@174
    14
 * express or implied, and with no claim as to its suitability for any
alpar@174
    15
 * purpose.
alpar@174
    16
 *
alpar@174
    17
 */
alpar@174
    18
ladanyi@173
    19
#ifndef FILE_CHOOSER_EXTRA_WIDGET
ladanyi@173
    20
#define FILE_CHOOSER_EXTRA_WIDGET
ladanyi@173
    21
ladanyi@173
    22
#include <gtkmm/expander.h>
ladanyi@173
    23
#include <gtkmm/box.h>
ladanyi@173
    24
#include <gtkmm/radiobutton.h>
ladanyi@173
    25
#include <gtkmm/label.h>
ladanyi@173
    26
ladanyi@173
    27
class MapStorage;
ladanyi@173
    28
ladanyi@173
    29
class FileChooserExtraWidget : public Gtk::Expander
ladanyi@173
    30
{
ladanyi@173
    31
  private:
ladanyi@173
    32
    Gtk::VBox box;
ladanyi@173
    33
    Gtk::Label lblGUIData;
ladanyi@173
    34
    Gtk::RadioButton rbGUISection;
ladanyi@173
    35
    Gtk::RadioButton rbConfFile;
ladanyi@173
    36
    MapStorage* pMapStorage;
ladanyi@173
    37
    void onRbToggled();
ladanyi@173
    38
  public:
ladanyi@173
    39
    FileChooserExtraWidget(MapStorage* ms);
ladanyi@173
    40
    ~FileChooserExtraWidget();
ladanyi@173
    41
};
ladanyi@173
    42
ladanyi@173
    43
#endif