?? datacombobox.h
字號:
#ifndef DATACOMBOBOX_H
#define DATACOMBOBOX_H
#include <QtGui>
#include <QtSql>
#include "tableview.h"
class DataComobBoxDelegate : public QAbstractItemDelegate
{
Q_OBJECT
public:
explicit DataComobBoxDelegate(QObject *parent);
void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index) const;
QSize sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const;
};
class DataComboBox : public QComboBox
{
Q_OBJECT
public:
DataComboBox(QWidget *parent = 0);
~DataComboBox();
private:
protected:
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -