mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Revert r38963. Compilation is now broken with qt 4.5, but I do not know Qt moc business and do not have time to investigate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38969 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9b4a91469a
commit
1f81d78814
@ -11,12 +11,8 @@
|
||||
|
||||
// Code taken from the Qt Creator project and customized a little
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "FancyLineEdit.h"
|
||||
|
||||
#if QT_VERSION >= 0x040600
|
||||
|
||||
#include <QtCore/QEvent>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QString>
|
||||
@ -30,6 +26,8 @@
|
||||
#include <QtGui/QStyle>
|
||||
#include <QtGui/QPaintEvent>
|
||||
|
||||
#if QT_VERSION >= 0x040600
|
||||
|
||||
enum { margin = 6 };
|
||||
|
||||
#define ICONBUTTON_HEIGHT 18
|
||||
|
@ -22,7 +22,6 @@ namespace frontend {
|
||||
|
||||
class FancyLineEditPrivate;
|
||||
|
||||
#if QT_VERSION >= 0x040600
|
||||
class IconButton: public QAbstractButton
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -45,7 +44,7 @@ private:
|
||||
bool m_autoHide;
|
||||
QPixmap m_pixmap;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/* A line edit with an embedded pixmap on one side that is connected to
|
||||
* a menu. Additionally, it can display a grayed hintText (like "Type Here to")
|
||||
|
Loading…
x
Reference in New Issue
Block a user