lyx_mirror/src/frontends/qt4/QIndexDialog.h
Abdelrazak Younes 9313c6c39a Fix bug 3225 and maybe others as well.
http://bugzilla.lyx.org/show_bug.cgi?id=3225

* QIndexDialog:
  - QIndexDialog(): setFocusProxy() to the QLineEdit
  - show(): deleted.

* QDialogView::show(): also setFocus() when raising or showing a window.
  
 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 18:20:07 +00:00

43 lines
749 B
C++

// -*- C++ -*-
/**
* \file QIndexDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QINDEXDIALOG_H
#define QINDEXDIALOG_H
#include "ui/QIndexUi.h"
#include <QDialog>
#include <QCloseEvent>
namespace lyx {
namespace frontend {
class QIndex;
class QIndexDialog : public QDialog, public Ui::QIndexUi {
Q_OBJECT
public:
QIndexDialog(QIndex * form);
protected Q_SLOTS:
virtual void change_adaptor();
virtual void reject();
protected:
virtual void closeEvent(QCloseEvent * e);
private:
QIndex * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QINDEXDIALOG_H