Inheritance: QPaintDevice, IDisposable
コード例 #1
1
ファイル: TrayIcon.cs プロジェクト: jrudolph/synapse
        public TrayIcon(QObject parent)
            : base(parent)
        {
            m_ShowMainWindowAction = new QAction("Show Synapse", this);
            m_ShowMainWindowAction.Checkable = true;
            QObject.Connect(m_ShowMainWindowAction, Qt.SIGNAL("triggered()"), HandleShowMainWindowActionTriggered);

            m_ShowDebugWindowAction = new QAction("Debug Window", this);
            m_ShowDebugWindowAction.Checkable = true;
            QObject.Connect(m_ShowDebugWindowAction, Qt.SIGNAL("triggered()"), HandleShowDebugWindowActionTriggered);

            m_Menu = new QMenu();
            m_Menu.AddAction(m_ShowMainWindowAction);
            m_Menu.AddAction(m_ShowDebugWindowAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.NewMessageAction);
            m_Menu.AddAction(Gui.GlobalActions.JoinConferenceAction);
            m_Menu.AddAction(Gui.GlobalActions.ShowBrowserAction);
            m_Menu.AddAction(Gui.GlobalActions.EditProfileAction);
            m_Menu.AddAction(Gui.GlobalActions.ChangeStatusAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.ShowPreferencesAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.AboutAction);
            m_Menu.AddAction(Gui.GlobalActions.SendFeedbackAction);
            m_Menu.AddSeparator();
            m_Menu.AddAction(Gui.GlobalActions.QuitAction);
            QObject.Connect(m_Menu, Qt.SIGNAL("aboutToShow()"), HandleMenuAboutToShow);

            QPixmap pixmap = new QPixmap("resource:/octy-22.png");
            QIcon icon = new QIcon(pixmap);
            m_Icon = new QSystemTrayIcon(icon);
            m_Icon.SetContextMenu(m_Menu);

            QObject.Connect<QSystemTrayIcon.ActivationReason>(m_Icon, Qt.SIGNAL("activated(QSystemTrayIcon::ActivationReason)"), HandleTrayActivated);
        }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: jrudolph/synapse
        public MainWindow()
        {
            SetupUi();
            base.WindowFlags = (uint)Qt.WindowType.FramelessWindowHint;

            closeButton.icon = new QIcon(new QPixmap("resource:/stock-close_12.png"));
            menuButton.icon = new QIcon(new QPixmap("resource:/menu-icon.png"));

            // FIXME: Add a global "Application Icon" somewhere that contains multiple sizes.
            QPixmap pixmap = new QPixmap("resource:/octy-22.png");
            base.WindowIcon = new QIcon(pixmap);

            m_NoAccountsStyleSheet = Util.ReadResource("mainwindow-noaccounts.qss");
            m_StyleSheet = Util.ReadResource("mainwindow.qss");

            containerWidget.SetStyleSheet(m_StyleSheet);

            QVBoxLayout layout = new QVBoxLayout();
            layout.SetContentsMargins(0, 0, 0, 0);
            contentWidget.SetLayout(layout);

            m_RosterWidget = new RosterWidget(contentWidget);
            contentWidget.Layout().AddWidget(m_RosterWidget);

            m_NoAccountsWidget = new NoAccountsWidget(contentWidget);
            contentWidget.Layout().AddWidget(m_NoAccountsWidget);

            // This makes the shortcut work.
            base.AddAction(Gui.GlobalActions.QuitAction);

            m_MainMenu = new QMenu(this);
            m_MainMenu.AddAction(Gui.GlobalActions.NewMessageAction);
            m_MainMenu.AddAction(Gui.GlobalActions.JoinConferenceAction);
            m_MainMenu.AddAction(Gui.GlobalActions.ShowBrowserAction);
            m_MainMenu.AddAction(Gui.GlobalActions.EditProfileAction);
            m_MainMenu.AddAction(Gui.GlobalActions.ChangeStatusAction);
            m_MainMenu.AddSeparator();
            m_MainMenu.AddAction(Gui.GlobalActions.ShowPreferencesAction);
            m_MainMenu.AddSeparator();
            m_MainMenu.AddAction(Gui.GlobalActions.AboutAction);
            m_MainMenu.AddAction(Gui.GlobalActions.SendFeedbackAction);
            m_MainMenu.AddSeparator();
            m_MainMenu.AddAction(Gui.GlobalActions.QuitAction);

            Gui.CenterWidgetOnScreen(this);

            headerLabel.InstallEventFilter(new WindowMover(this));

            AccountService accountService = ServiceManager.Get<AccountService>();
            accountService.AccountAdded   += AddAccount;
            accountService.AccountRemoved += RemoveAccount;

            foreach (Account account in accountService.Accounts) {
                AddAccount(account);
            }
        }
コード例 #3
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(QPoint p, QPixmap pm)
 {
     interceptor.Invoke("drawPixmap##", "drawPixmap(const QPoint&, const QPixmap&)", typeof(void), typeof(QPoint), p, typeof(QPixmap), pm);
 }
コード例 #4
0
ファイル: QPixmapCache.cs プロジェクト: micro-chen/qyoto
 public static bool Insert(string key, QPixmap arg2)
 {
     return((bool)staticInterceptor.Invoke("insert$#", "insert(const QString&, const QPixmap&)", typeof(bool), typeof(string), key, typeof(QPixmap), arg2));
 }
コード例 #5
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(int x, int y, QPixmap pm, int sx, int sy, int sw, int sh)
 {
     interceptor.Invoke("drawPixmap$$#$$$$", "drawPixmap(int, int, const QPixmap&, int, int, int, int)", typeof(void), typeof(int), x, typeof(int), y, typeof(QPixmap), pm, typeof(int), sx, typeof(int), sy, typeof(int), sw, typeof(int), sh);
 }
コード例 #6
0
ファイル: QSplashScreen.cs プロジェクト: KDE/qyoto
 public QSplashScreen(QWidget parent, QPixmap pixmap)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSplashScreen##", "QSplashScreen(QWidget*, const QPixmap&)", typeof(void), typeof(QWidget), parent, typeof(QPixmap), pixmap);
 }
コード例 #7
0
ファイル: QWebSettings.cs プロジェクト: micro-chen/qyoto
 public static void SetWebGraphic(QWebSettings.WebGraphic type, QPixmap graphic)
 {
     staticInterceptor.Invoke("setWebGraphic$#", "setWebGraphic(QWebSettings::WebGraphic, const QPixmap&)", typeof(void), typeof(QWebSettings.WebGraphic), type, typeof(QPixmap), graphic);
 }
コード例 #8
0
ファイル: KMultiTabBarButton.cs プロジェクト: KDE/kimono
 /// <remarks> Should not be created directly. Use KMultiTabBar.AppendButton
 ///     </remarks>        <short>   Should not be created directly.</short>
 public KMultiTabBarButton(QPixmap pic, string arg2, int id, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KMultiTabBarButton#$$#", "KMultiTabBarButton(const QPixmap&, const QString&, int, QWidget*)", typeof(void), typeof(QPixmap), pic, typeof(string), arg2, typeof(int), id, typeof(QWidget), parent);
 }
コード例 #9
0
ファイル: KPasswordDialog.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  set an image that appears next to the prompt.
 ///      </remarks>        <short>    set an image that appears next to the prompt.</short>
 public void SetPixmap(QPixmap arg1)
 {
     interceptor.Invoke("setPixmap#", "setPixmap(const QPixmap&)", typeof(void), typeof(QPixmap), arg1);
 }
コード例 #10
0
ファイル: QBrush.cs プロジェクト: micro-chen/qyoto
 public void SetTexture(QPixmap pixmap)
 {
     interceptor.Invoke("setTexture#", "setTexture(const QPixmap&)", typeof(void), typeof(QPixmap), pixmap);
 }
コード例 #11
0
ファイル: QBrush.cs プロジェクト: micro-chen/qyoto
 public QBrush(Qt.GlobalColor color, QPixmap pixmap) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QBrush$#", "QBrush(Qt::GlobalColor, const QPixmap&)", typeof(void), typeof(Qt.GlobalColor), color, typeof(QPixmap), pixmap);
 }
コード例 #12
0
ファイル: QGraphicsScene.cs プロジェクト: micro-chen/qyoto
 public QGraphicsPixmapItem AddPixmap(QPixmap pixmap)
 {
     return((QGraphicsPixmapItem)interceptor.Invoke("addPixmap#", "addPixmap(const QPixmap&)", typeof(QGraphicsPixmapItem), typeof(QPixmap), pixmap));
 }
コード例 #13
0
ファイル: QCommonStyle.cs プロジェクト: micro-chen/qyoto
 public override QPixmap GeneratedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)
 {
     return((QPixmap)interceptor.Invoke("generatedIconPixmap$##", "generatedIconPixmap(QIcon::Mode, const QPixmap&, const QStyleOption*) const", typeof(QPixmap), typeof(QIcon.Mode), iconMode, typeof(QPixmap), pixmap, typeof(QStyleOption), opt));
 }
コード例 #14
0
 public void SetPixmap(QPixmap arg1, QClipboard.Mode mode)
 {
     interceptor.Invoke("setPixmap#$", "setPixmap(const QPixmap&, QClipboard::Mode)", typeof(void), typeof(QPixmap), arg1, typeof(QClipboard.Mode), mode);
 }
コード例 #15
0
ファイル: QIcon.cs プロジェクト: micro-chen/qyoto
 public void AddPixmap(QPixmap pixmap)
 {
     interceptor.Invoke("addPixmap#", "addPixmap(const QPixmap&)", typeof(void), typeof(QPixmap), pixmap);
 }
コード例 #16
0
ファイル: QIcon.cs プロジェクト: micro-chen/qyoto
 public void AddPixmap(QPixmap pixmap, QIcon.Mode mode)
 {
     interceptor.Invoke("addPixmap#$", "addPixmap(const QPixmap&, QIcon::Mode)", typeof(void), typeof(QPixmap), pixmap, typeof(QIcon.Mode), mode);
 }
コード例 #17
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(QRect r, QPixmap pm)
 {
     interceptor.Invoke("drawPixmap##", "drawPixmap(const QRect&, const QPixmap&)", typeof(void), typeof(QRect), r, typeof(QPixmap), pm);
 }
コード例 #18
0
ファイル: QPixmap.cs プロジェクト: micro-chen/qyoto
 public void SetAlphaChannel(QPixmap arg1)
 {
     interceptor.Invoke("setAlphaChannel#", "setAlphaChannel(const QPixmap&)", typeof(void), typeof(QPixmap), arg1);
 }
コード例 #19
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawTiledPixmap(int x, int y, int w, int h, QPixmap arg5)
 {
     interceptor.Invoke("drawTiledPixmap$$$$#", "drawTiledPixmap(int, int, int, int, const QPixmap&)", typeof(void), typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QPixmap), arg5);
 }
コード例 #20
0
ファイル: QPixmap.cs プロジェクト: micro-chen/qyoto
 public QPixmap(QPixmap arg1) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QPixmap#", "QPixmap(const QPixmap&)", typeof(void), typeof(QPixmap), arg1);
 }
コード例 #21
0
ファイル: QCursor.cs プロジェクト: 0xd34df00d/Qross
 public QCursor(QPixmap pixmap)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QCursor#", "QCursor(const QPixmap&)", typeof(void), typeof(QPixmap), pixmap);
 }
コード例 #22
0
ファイル: QCursor.cs プロジェクト: micro-chen/qyoto
 public QCursor(QPixmap pixmap, int hotX) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QCursor#$", "QCursor(const QPixmap&, int)", typeof(void), typeof(QPixmap), pixmap, typeof(int), hotX);
 }
コード例 #23
0
 public uint BindTexture(QPixmap pixmap)
 {
     return((uint)interceptor.Invoke("bindTexture#", "bindTexture(const QPixmap&)", typeof(uint), typeof(QPixmap), pixmap));
 }
コード例 #24
0
ファイル: KRatingPainter.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Set a custom pixmap.
 ///      </remarks>        <short>    Set a custom pixmap.</short>
 public void SetCustomPixmap(QPixmap pixmap)
 {
     interceptor.Invoke("setCustomPixmap#", "setCustomPixmap(const QPixmap&)", typeof(void), typeof(QPixmap), pixmap);
 }
コード例 #25
0
ファイル: QsciScintilla.cs プロジェクト: KDE/qyoto
 public int MarkerDefine(QPixmap pm)
 {
     return (int) interceptor.Invoke("markerDefine#", "markerDefine(const QPixmap&)", typeof(int), typeof(QPixmap), pm);
 }
コード例 #26
0
ファイル: QStylePainter.cs プロジェクト: micro-chen/qyoto
 public void DrawItemPixmap(QRect r, int flags, QPixmap pixmap)
 {
     interceptor.Invoke("drawItemPixmap#$#", "drawItemPixmap(const QRect&, int, const QPixmap&)", typeof(void), typeof(QRect), r, typeof(int), flags, typeof(QPixmap), pixmap);
 }
コード例 #27
0
ファイル: QWebSettings.cs プロジェクト: 0xd34df00d/Qross
 public static void SetWebGraphic(QWebSettings.WebGraphic type, QPixmap graphic)
 {
     staticInterceptor.Invoke("setWebGraphic$#", "setWebGraphic(QWebSettings::WebGraphic, const QPixmap&)", typeof(void), typeof(QWebSettings.WebGraphic), type, typeof(QPixmap), graphic);
 }
コード例 #28
0
ファイル: QSplashScreen.cs プロジェクト: micro-chen/qyoto
 public QSplashScreen(QWidget parent, QPixmap pixmap, uint f) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSplashScreen##$", "QSplashScreen(QWidget*, const QPixmap&, Qt::WindowFlags)", typeof(void), typeof(QWidget), parent, typeof(QPixmap), pixmap, typeof(uint), f);
 }
コード例 #29
0
ファイル: Qt.cs プロジェクト: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QPixmap arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPixmap&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPixmap), arg2);
 }
コード例 #30
0
ファイル: QSplashScreen.cs プロジェクト: micro-chen/qyoto
 public QSplashScreen(QWidget parent, QPixmap pixmap) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSplashScreen##", "QSplashScreen(QWidget*, const QPixmap&)", typeof(void), typeof(QWidget), parent, typeof(QPixmap), pixmap);
 }
コード例 #31
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(QRect targetRect, QPixmap pixmap, QRect sourceRect)
 {
     interceptor.Invoke("drawPixmap###", "drawPixmap(const QRect&, const QPixmap&, const QRect&)", typeof(void), typeof(QRect), targetRect, typeof(QPixmap), pixmap, typeof(QRect), sourceRect);
 }
コード例 #32
0
 public abstract void DrawPixmap(QRectF r, QPixmap pm, QRectF sr);
コード例 #33
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(QPoint p, QPixmap pm, QRect sr)
 {
     interceptor.Invoke("drawPixmap###", "drawPixmap(const QPoint&, const QPixmap&, const QRect&)", typeof(void), typeof(QPoint), p, typeof(QPixmap), pm, typeof(QRect), sr);
 }
コード例 #34
0
 public virtual void DrawTiledPixmap(QRectF r, QPixmap pixmap, QPointF s)
 {
     interceptor.Invoke("drawTiledPixmap###", "drawTiledPixmap(const QRectF&, const QPixmap&, const QPointF&)", typeof(void), typeof(QRectF), r, typeof(QPixmap), pixmap, typeof(QPointF), s);
 }
コード例 #35
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawPixmap(int x, int y, QPixmap pm)
 {
     interceptor.Invoke("drawPixmap$$#", "drawPixmap(int, int, const QPixmap&)", typeof(void), typeof(int), x, typeof(int), y, typeof(QPixmap), pm);
 }
コード例 #36
0
ファイル: QIconEngine.cs プロジェクト: micro-chen/qyoto
 public virtual void AddPixmap(QPixmap pixmap, QIcon.Mode mode, QIcon.State state)
 {
     interceptor.Invoke("addPixmap#$$", "addPixmap(const QPixmap&, QIcon::Mode, QIcon::State)", typeof(void), typeof(QPixmap), pixmap, typeof(QIcon.Mode), mode, typeof(QIcon.State), state);
 }
コード例 #37
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawTiledPixmap(QRectF rect, QPixmap pm)
 {
     interceptor.Invoke("drawTiledPixmap##", "drawTiledPixmap(const QRectF&, const QPixmap&)", typeof(void), typeof(QRectF), rect, typeof(QPixmap), pm);
 }
コード例 #38
0
ファイル: QWizard.cs プロジェクト: KDE/qyoto
 public void SetPixmap(QWizard.WizardPixmap which, QPixmap pixmap)
 {
     interceptor.Invoke("setPixmap$#", "setPixmap(QWizard::WizardPixmap, const QPixmap&)", typeof(void), typeof(QWizard.WizardPixmap), which, typeof(QPixmap), pixmap);
 }
コード例 #39
0
ファイル: QPainter.cs プロジェクト: 0xd34df00d/Qross
 public void DrawTiledPixmap(QRect arg1, QPixmap arg2)
 {
     interceptor.Invoke("drawTiledPixmap##", "drawTiledPixmap(const QRect&, const QPixmap&)", typeof(void), typeof(QRect), arg1, typeof(QPixmap), arg2);
 }
コード例 #40
0
ファイル: QItemDelegate.cs プロジェクト: micro-chen/qyoto
 protected QPixmap Selected(QPixmap pixmap, QPalette palette, bool enabled)
 {
     return((QPixmap)interceptor.Invoke("selected##$", "selected(const QPixmap&, const QPalette&, bool) const", typeof(QPixmap), typeof(QPixmap), pixmap, typeof(QPalette), palette, typeof(bool), enabled));
 }
コード例 #41
0
ファイル: QCursor.cs プロジェクト: 0xd34df00d/Qross
 public QCursor(QPixmap pixmap, int hotX)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QCursor#$", "QCursor(const QPixmap&, int)", typeof(void), typeof(QPixmap), pixmap, typeof(int), hotX);
 }
コード例 #42
0
ファイル: QItemDelegate.cs プロジェクト: micro-chen/qyoto
 protected virtual void DrawDecoration(QPainter painter, QStyleOptionViewItem option, QRect rect, QPixmap pixmap)
 {
     interceptor.Invoke("drawDecoration####", "drawDecoration(QPainter*, const QStyleOptionViewItem&, const QRect&, const QPixmap&) const", typeof(void), typeof(QPainter), painter, typeof(QStyleOptionViewItem), option, typeof(QRect), rect, typeof(QPixmap), pixmap);
 }
コード例 #43
0
ファイル: Plasma_Animator.cs プロジェクト: KDE/kimono
 public void SetInitialPixmap(int id, QPixmap pixmap)
 {
     interceptor.Invoke("setInitialPixmap$#", "setInitialPixmap(int, const QPixmap&)", typeof(void), typeof(int), id, typeof(QPixmap), pixmap);
 }
コード例 #44
0
ファイル: QWizardPage.cs プロジェクト: micro-chen/qyoto
 public void SetPixmap(QWizard.WizardPixmap which, QPixmap pixmap)
 {
     interceptor.Invoke("setPixmap$#", "setPixmap(QWizard::WizardPixmap, const QPixmap&)", typeof(void), typeof(QWizard.WizardPixmap), which, typeof(QPixmap), pixmap);
 }
コード例 #45
0
 public uint BindTexture(QPixmap pixmap, int target)
 {
     return((uint)interceptor.Invoke("bindTexture#$", "bindTexture(const QPixmap&, GLenum)", typeof(uint), typeof(QPixmap), pixmap, typeof(int), target));
 }
コード例 #46
0
ファイル: QBitmap.cs プロジェクト: KDE/qyoto
 public QBitmap(QPixmap arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QBitmap#", "QBitmap(const QPixmap&)", typeof(void), typeof(QPixmap), arg1);
 }
コード例 #47
0
ファイル: QSplashScreen.cs プロジェクト: KDE/qyoto
 public QSplashScreen(QWidget parent, QPixmap pixmap, uint f)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSplashScreen##$", "QSplashScreen(QWidget*, const QPixmap&, Qt::WindowFlags)", typeof(void), typeof(QWidget), parent, typeof(QPixmap), pixmap, typeof(uint), f);
 }
コード例 #48
0
 public void SetPixmap(QPixmap arg1)
 {
     interceptor.Invoke("setPixmap#", "setPixmap(const QPixmap&)", typeof(void), typeof(QPixmap), arg1);
 }
コード例 #49
0
ファイル: QsciScintilla.cs プロジェクト: KDE/qyoto
 public int MarkerDefine(QPixmap pm, int mnr)
 {
     return (int) interceptor.Invoke("markerDefine#$", "markerDefine(const QPixmap&, int)", typeof(int), typeof(QPixmap), pm, typeof(int), mnr);
 }
コード例 #50
0
 public void SetDragCursor(QPixmap cursor, Qt.DropAction action)
 {
     interceptor.Invoke("setDragCursor#$", "setDragCursor(const QPixmap&, Qt::DropAction)", typeof(void), typeof(QPixmap), cursor, typeof(Qt.DropAction), action);
 }
コード例 #51
0
ファイル: QsciScintilla.cs プロジェクト: KDE/qyoto
 public void RegisterImage(int id, QPixmap pm)
 {
     interceptor.Invoke("registerImage$#", "registerImage(int, const QPixmap&)", typeof(void), typeof(int), id, typeof(QPixmap), pm);
 }
コード例 #52
0
ファイル: QsciScintillaBase.cs プロジェクト: KDE/qyoto
 public long SendScintilla(uint msg, ulong wParam, QPixmap lParam)
 {
     return (long) interceptor.Invoke("SendScintilla$$#", "SendScintilla(unsigned int, unsigned long, const QPixmap&) const", typeof(long), typeof(uint), msg, typeof(ulong), wParam, typeof(QPixmap), lParam);
 }
コード例 #53
0
ファイル: QCursor.cs プロジェクト: micro-chen/qyoto
 public QCursor(QPixmap pixmap) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QCursor#", "QCursor(const QPixmap&)", typeof(void), typeof(QPixmap), pixmap);
 }
コード例 #54
0
ファイル: QStyle.cs プロジェクト: micro-chen/qyoto
 public virtual QRect ItemPixmapRect(QRect r, int flags, QPixmap pixmap)
 {
     return((QRect)interceptor.Invoke("itemPixmapRect#$#", "itemPixmapRect(const QRect&, int, const QPixmap&) const", typeof(QRect), typeof(QRect), r, typeof(int), flags, typeof(QPixmap), pixmap));
 }
コード例 #55
0
ファイル: QGraphicsScene.cs プロジェクト: 0xd34df00d/Qross
 public QGraphicsPixmapItem AddPixmap(QPixmap pixmap)
 {
     return (QGraphicsPixmapItem) interceptor.Invoke("addPixmap#", "addPixmap(const QPixmap&)", typeof(QGraphicsPixmapItem), typeof(QPixmap), pixmap);
 }
コード例 #56
0
ファイル: QStyle.cs プロジェクト: micro-chen/qyoto
 public virtual void DrawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap)
 {
     interceptor.Invoke("drawItemPixmap##$#", "drawItemPixmap(QPainter*, const QRect&, int, const QPixmap&) const", typeof(void), typeof(QPainter), painter, typeof(QRect), rect, typeof(int), alignment, typeof(QPixmap), pixmap);
 }
コード例 #57
0
ファイル: Qt.cs プロジェクト: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QPixmap arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QPixmap&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPixmap), arg2);
 }
コード例 #58
0
ファイル: QStyle.cs プロジェクト: micro-chen/qyoto
 public abstract QPixmap GeneratedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt);
コード例 #59
0
        void HandleAvatarUpdated(string jid, string hash)
        {
            if (jid == m_Account.Jid.Bare) {
                QApplication.Invoke(delegate {
                    QPixmap pixmap = new QPixmap(36, 36);
                    pixmap.Fill(GlobalColor.transparent);

                    QPainter painter = new QPainter(pixmap);
                    Gui.DrawAvatar(painter, m_AvatarLabel.Width(), m_AvatarLabel.Height(), (QPixmap)AvatarManager.GetAvatar(hash));
                    painter.Dispose();

                    m_AvatarLabel.Pixmap = pixmap;
                });
            }
        }
コード例 #60
0
ファイル: QPixmapCache.cs プロジェクト: micro-chen/qyoto
 public static bool Find(string key, QPixmap arg2)
 {
     return((bool)staticInterceptor.Invoke("find$#", "find(const QString&, QPixmap&)", typeof(bool), typeof(string), key, typeof(QPixmap), arg2));
 }