⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check_lbi.h

📁 linux 下的 图形化的 SVN 相当于 VSS
💻 H
字号:
/****************************************************************************   Copyright (C) 2004 by Alexander Darovsky                              **   adarovsky@users.sf.net                                                **                                                                         **   This program 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 of the License, or     **   (at your option) any later version.                                   **                                                                         **   Based on QListBoxPixmap source from TrollTech                         **                                                                         **   This program is distributed 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.                          **                                                                         ****************************************************************************/#include <qlistbox.h>class QListBoxCheck : public QListBoxItem{public:    QListBoxCheck( QListBox* listbox, const QPixmap &, bool on = false );    QListBoxCheck( const QPixmap &, bool on = false );    QListBoxCheck( QListBox* listbox, const QPixmap & pix, QListBoxItem *after, bool on = false );    QListBoxCheck( QListBox* listbox, const QPixmap &, const QString&, bool on = false );    QListBoxCheck( const QPixmap &, const QString&, bool on = false );    QListBoxCheck( QListBox* listbox, const QPixmap & pix, const QString&, QListBoxItem *after, bool on = false );    QListBoxCheck( QListBox* listbox, const QString &, bool on = false );    QListBoxCheck( const QString &, bool on = false );    QListBoxCheck( QListBox* listbox, const QString & pix, QListBoxItem *after, bool on = false );   ~QListBoxCheck();    const QPixmap *pixmap() const { return &pm; }    void setOn( bool );    bool isOn() const { return on; }    bool isPointOnCheck( const QPoint& p );    int	 height( const QListBox * ) const;    int	 width( const QListBox * )  const;    int rtti() const;    static int RTTI;protected:    void paint( QPainter * );private:    QPixmap pm;    bool    on;private:	// Disabled copy constructor and operator=#if defined(Q_DISABLE_COPY)    QListBoxCheck( const QListBoxCheck & );    QListBoxCheck &operator=( const QListBoxCheck & );#endif};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -