file_chooser_extra_widget.h
changeset 186 013afe9ee040
parent 173 8339178ae43d
equal deleted inserted replaced
1:fe80dcc79a0e -1:000000000000
     1 /* -*- C++ -*-
       
     2  *
       
     3  * This file is a part of LEMON, a generic C++ optimization library
       
     4  *
       
     5  * Copyright (C) 2003-2006
       
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
       
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
       
     8  *
       
     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.
       
    12  *
       
    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
       
    15  * purpose.
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef FILE_CHOOSER_EXTRA_WIDGET
       
    20 #define FILE_CHOOSER_EXTRA_WIDGET
       
    21 
       
    22 #include <gtkmm/expander.h>
       
    23 #include <gtkmm/box.h>
       
    24 #include <gtkmm/radiobutton.h>
       
    25 #include <gtkmm/label.h>
       
    26 
       
    27 class MapStorage;
       
    28 
       
    29 class FileChooserExtraWidget : public Gtk::Expander
       
    30 {
       
    31   private:
       
    32     Gtk::VBox box;
       
    33     Gtk::Label lblGUIData;
       
    34     Gtk::RadioButton rbGUISection;
       
    35     Gtk::RadioButton rbConfFile;
       
    36     MapStorage* pMapStorage;
       
    37     void onRbToggled();
       
    38   public:
       
    39     FileChooserExtraWidget(MapStorage* ms);
       
    40     ~FileChooserExtraWidget();
       
    41 };
       
    42 
       
    43 #endif