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 * =================================================
21 #include "ControlUrl.h"
22 #include "GnomeBase.h"
31 * This class implements the dialog to insert/modify urls.
33 class FormUrl : public FormCB<ControlUrl> {
36 FormUrl(ControlUrl & c);
47 /// Returns true if the dialog input is in a valid state.
48 bool validate() const;
50 /// Do the connection of signals
51 void connect_signals();
52 /// Disconnect the signals.
53 void disconnect_signals();
55 /// generated by accessors.py
56 Gtk::Button * restore_btn() const;
57 /// gene rated by accessors.py
58 Gtk::Button * ok_btn() const;
59 /// generated by accessors.py
60 Gtk::Button * apply_btn() const;
61 /// generated by accessors.py
62 Gtk::Button * cancel_btn() const;
63 /// generated by accessors.py
64 Gtk::Entry * url() const;
65 /// generated by accessors.py
66 Gtk::Entry * name() const;
67 /// generated by accessors.py
68 Gtk::CheckButton * html_cb() const;
70 /// Keeps the connection to the input validator.
71 SigC::Connection slot_url_;
72 SigC::Connection slot_name_;
73 SigC::Connection slot_html_;