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.
17 #include "ControlUrl.h"
27 * This class implements the dialog to insert/modify urls.
29 class GUrl : public GControlledView<ControlUrl> {
43 /// Returns true if the dialog input is in a valid state.
44 bool validate() const;
46 /// Do the connection of signals
47 void connect_signals();
48 /// Disconnect the signals.
49 void disconnect_signals();
51 /// generated by accessors.py
52 Gtk::Button * restore_btn() const;
53 /// gene rated by accessors.py
54 Gtk::Button * ok_btn() const;
55 /// generated by accessors.py
56 Gtk::Button * apply_btn() const;
57 /// generated by accessors.py
58 Gtk::Button * cancel_btn() const;
59 /// generated by accessors.py
60 Gtk::Entry * url() const;
61 /// generated by accessors.py
62 Gtk::Entry * name() const;
63 /// generated by accessors.py
64 Gtk::CheckButton * html_cb() const;
66 /// Keeps the connection to the input validator.
67 SigC::Connection slot_url_;
68 SigC::Connection slot_name_;
69 SigC::Connection slot_html_;