mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
02e9472374
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5347 a592a061-630c-0410-9148-cb99ea01b6c8
65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GTabularCreate.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Michael Koziarski
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#ifndef GTABULARCREATE_H
|
|
#define GTABULARCREATE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "ControlTabularCreate.h"
|
|
#include "GnomeBase.h"
|
|
|
|
namespace Gtk {
|
|
class SpinButton;
|
|
class Button;
|
|
}
|
|
|
|
/**
|
|
* This class implements the dialog to insert/modify urls.
|
|
*/
|
|
class GTabularCreate : public GnomeCB<ControlTabularCreate> {
|
|
public:
|
|
///
|
|
GTabularCreate(ControlTabularCreate & c);
|
|
///
|
|
~GTabularCreate();
|
|
|
|
void apply();
|
|
|
|
private:
|
|
/// Build the dialog
|
|
void build();
|
|
|
|
/// Returns true if the dialog input is in a valid state.
|
|
bool validate() const;
|
|
void update();
|
|
|
|
void OKClicked() { OKButton(); }
|
|
void CancelClicked() { CancelButton(); }
|
|
void ApplyClicked() { ApplyButton(); }
|
|
|
|
/// generated by accessors.py
|
|
Gtk::Button * ok_btn() const;
|
|
/// generated by accessors.py
|
|
Gtk::Button * apply_btn() const;
|
|
/// generated by accessors.py
|
|
Gtk::Button * cancel_btn() const;
|
|
/// generated by accessors.py
|
|
Gtk::SpinButton * rows() const;
|
|
/// generated by accessors.py
|
|
Gtk::SpinButton * cols() const;
|
|
|
|
};
|
|
|
|
#endif
|