2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * =================================================
12 * \author Michael Koziarski
22 #include "ControlUrl.h"
23 #include "GnomeBase.h"
32 * This class implements the dialog to insert/modify urls.
34 class GUrl : public FormCB<ControlUrl> {
48 /// Returns true if the dialog input is in a valid state.
49 bool validate() const;
51 /// Do the connection of signals
52 void connect_signals();
53 /// Disconnect the signals.
54 void disconnect_signals();
56 /// generated by accessors.py
57 Gtk::Button * restore_btn() const;
58 /// gene rated by accessors.py
59 Gtk::Button * ok_btn() const;
60 /// generated by accessors.py
61 Gtk::Button * apply_btn() const;
62 /// generated by accessors.py
63 Gtk::Button * cancel_btn() const;
64 /// generated by accessors.py
65 Gtk::Entry * url() const;
66 /// generated by accessors.py
67 Gtk::Entry * name() const;
68 /// generated by accessors.py
69 Gtk::CheckButton * html_cb() const;
71 /// Keeps the connection to the input validator.
72 SigC::Connection slot_url_;
73 SigC::Connection slot_name_;
74 SigC::Connection slot_html_;