diff options
Diffstat (limited to 'python/pyqt/sip/qt/qtooltip.sip')
-rw-r--r-- | python/pyqt/sip/qt/qtooltip.sip | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/python/pyqt/sip/qt/qtooltip.sip b/python/pyqt/sip/qt/qtooltip.sip deleted file mode 100644 index 2ed76c29..00000000 --- a/python/pyqt/sip/qt/qtooltip.sip +++ /dev/null @@ -1,169 +0,0 @@ -// This is the SIP interface definition for QToolTip and QToolTipGroup. -// -// Copyright (c) 2007 -// Riverbank Computing Limited <info@riverbankcomputing.co.uk> -// -// This file is part of PyQt. -// -// This copy of PyQt is free software; you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by the Free -// Software Foundation; either version 2, or (at your option) any later -// version. -// -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%ExportedDoc -<Sect2><Title>QToolTip</Title> -<Para> -<Literal>QToolTip</Literal> is fully implemented. -</Para> -</Sect2> - -<Sect2><Title>QToolTipGroup</Title> -<Para> -<Literal>QToolTipGroup</Literal> is fully implemented. -</Para> -</Sect2> -%End - - -class QToolTipGroup : QObject -{ -%TypeHeaderCode -#include <qtooltip.h> -%End - -public: - QToolTipGroup(QObject * /TransferThis/,const char * = 0); - -%If (Qt_2_00 -) - bool delay() const; -%End -%If (Qt_2_1_0 -) - bool enabled() const; -%End - -public slots: -%If (Qt_2_00 -) - void setDelay(bool); -%End -%If (Qt_2_1_0 -) - void setEnabled(bool); -%End - -signals: -%If (- Qt_2_00) - void showTip(const char *); -%End -%If (Qt_2_00 -) - void showTip(const QString &); -%End - void removeTip(); - -private: - QToolTipGroup(const QToolTipGroup &); -}; - - -%If (- Qt_2_00) - -class QToolTip -{ -%TypeHeaderCode -#include <qtooltip.h> -%End - -public: - QToolTip(QWidget *,QToolTipGroup * = 0); - - static void add(QWidget *,const char *); - static void add(QWidget *,const char *,QToolTipGroup *,const char *); - static void remove(QWidget *); - static void add(QWidget *,const QRect &,const char *); - static void add(QWidget *,const QRect &,const char *,QToolTipGroup *,const char *); - static void remove(QWidget *,const QRect &); - static QFont font(); - static void setFont(const QFont &); - static QPalette palette(); - static void setPalette(const QPalette &); - QWidget *parentWidget() const; - QToolTipGroup *group() const; - -protected: - virtual void maybeTip(const QPoint &) = 0; - void tip(const QRect &,const char *); - void tip(const QRect &,const char *,const char *); - void clear(); -}; - -%End - -%If (Qt_2_00 -) - -class QToolTip : Qt -{ -%TypeHeaderCode -#include <qtooltip.h> -%End - -public: - QToolTip(QWidget *,QToolTipGroup * = 0); - - static void add(QWidget *,const QString &); - static void add(QWidget *,const QString &,QToolTipGroup *, - const QString &); - static void remove(QWidget *); - - static void add(QWidget *,const QRect &,const QString &); - static void add(QWidget *,const QRect &,const QString &, - QToolTipGroup *,const QString &); - static void remove(QWidget *,const QRect &); - -%If (Qt_3_0_0 -) - static QString textFor(QWidget *,const QPoint & = QPoint()); -%End - -%If (Qt_2_1_0 -) - static void hide(); -%End - - static QFont font(); - static void setFont(const QFont &); - static QPalette palette(); - static void setPalette(const QPalette &); - -%If (Qt_3_0_0 -) - static void setGloballyEnabled(bool); - static bool isGloballyEnabled(); -%End -%If (Qt_2_1_0 - Qt_3_0_0) - static void setEnabled(bool); - static bool enabled(); -%End -%If (Qt_3_1_0 -) - static void setWakeUpDelay(int); -%End - - QWidget *parentWidget() const; - QToolTipGroup *group() const; - -protected: - virtual void maybeTip(const QPoint &) = 0; - void tip(const QRect &,const QString &); - void tip(const QRect &,const QString &,const QString &); -%If (Qt_3_1_0 -) - void tip(const QRect &,const QString &,const QRect &); - void tip(const QRect &,const QString &,const QString &,const QRect &); -%End - void clear(); -}; - -%End |