mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 16:47:35 +00:00
5fd921e9e6
Dialogs.h: remove static from redrawGUI and toggleTooltips. And changes because of this. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4517 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1.0 KiB
C++
53 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormThesaurus.h
|
|
* Copyright 2001 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
|
*/
|
|
|
|
#ifndef FORMTHESAURUS_H
|
|
#define FORMTHESAURUS_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
|
|
class ControlThesaurus;
|
|
struct FD_thesaurus;
|
|
|
|
/** This class provides an XForms implementation of the Thesaurus dialog.
|
|
*/
|
|
class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_thesaurus> > {
|
|
public:
|
|
///
|
|
FormThesaurus(ControlThesaurus &, Dialogs &);
|
|
private:
|
|
/// not needed.
|
|
virtual void apply() {}
|
|
/// Build the dialog
|
|
virtual void build();
|
|
/// update dialog
|
|
virtual void update();
|
|
|
|
/// set the replace word properly
|
|
void setReplace(string const & templ, string const & nstr);
|
|
|
|
/// update browser entries
|
|
void updateMeanings(string const & str);
|
|
|
|
/// Filter the inputs
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
/// for double click handling
|
|
int clickline_;
|
|
|
|
/// current string
|
|
string str_;
|
|
};
|
|
|
|
#endif // FORMTHESAURUS_H
|