📄 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 + -