4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Michael Koziarski
10 * Full author contact details are available in file CREDITS
20 #include "ControlUrl.h"
21 #include "GnomeBase.h"
30 * This class implements the dialog to insert/modify urls.
32 class GUrl : public GnomeCB<ControlUrl> {
46 /// Returns true if the dialog input is in a valid state.
47 bool validate() const;
49 /// Do the connection of signals
50 void connect_signals();
51 /// Disconnect the signals.
52 void disconnect_signals();
54 /// generated by accessors.py
55 Gtk::Button * restore_btn() const;
56 /// gene rated by accessors.py
57 Gtk::Button * ok_btn() const;
58 /// generated by accessors.py
59 Gtk::Button * apply_btn() const;
60 /// generated by accessors.py
61 Gtk::Button * cancel_btn() const;
62 /// generated by accessors.py
63 Gtk::Entry * url() const;
64 /// generated by accessors.py
65 Gtk::Entry * name() const;
66 /// generated by accessors.py
67 Gtk::CheckButton * html_cb() const;
69 /// Keeps the connection to the input validator.
70 SigC::Connection slot_url_;
71 SigC::Connection slot_name_;
72 SigC::Connection slot_html_;