##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QSystemTrayIcon.h
42 lines | 1.9 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSYSTEMTRAYICON_H
#define PYTHONQTWRAPPER_QSYSTEMTRAYICON_H
#include <qsystemtrayicon.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qicon.h>
#include <qlist.h>
#include <qmenu.h>
#include <qobject.h>
#include <qrect.h>
#include <qsystemtrayicon.h>
class PythonQtWrapper_QSystemTrayIcon : public QObject
{ Q_OBJECT
public:
Q_ENUMS(MessageIcon ActivationReason )
enum MessageIcon{
NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical};
enum ActivationReason{
Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick};
public slots:
QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0);
QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0);
void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; }
QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const;
QRect geometry(QSystemTrayIcon* theWrappedObject) const;
QIcon icon(QSystemTrayIcon* theWrappedObject) const;
bool static_QSystemTrayIcon_isSystemTrayAvailable();
bool isVisible(QSystemTrayIcon* theWrappedObject) const;
void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu);
void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon);
void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip);
void showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000);
bool static_QSystemTrayIcon_supportsMessages();
QString toolTip(QSystemTrayIcon* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSYSTEMTRAYICON_H