mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
Tidy up names of some item delegates
This commit is contained in:
parent
38bfde2dc5
commit
3634be1e80
@ -1,5 +1,5 @@
|
||||
#ifndef DATE_TIME_AS_SECS_SINCE_EPOCH_ITEM_DELEGATE_HPP_
|
||||
#define DATE_TIME_AS_SECS_SINCE_EPOCH_ITEM_DELEGATE_HPP_
|
||||
#ifndef DATE_TIME_AS_SECS_SINCE_EPOCH_DELEGATE_HPP_
|
||||
#define DATE_TIME_AS_SECS_SINCE_EPOCH_DELEGATE_HPP_
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
#include <QVariant>
|
||||
@ -7,11 +7,11 @@
|
||||
#include <QAbstractItemModel>
|
||||
#include <QDateTimeEdit>
|
||||
|
||||
class DateTimeAsSecsSinceEpochItemDelegate final
|
||||
class DateTimeAsSecsSinceEpochDelegate final
|
||||
: public QStyledItemDelegate
|
||||
{
|
||||
public:
|
||||
DateTimeAsSecsSinceEpochItemDelegate (QObject * parent = nullptr)
|
||||
DateTimeAsSecsSinceEpochDelegate (QObject * parent = nullptr)
|
||||
: QStyledItemDelegate {parent}
|
||||
{
|
||||
}
|
||||
|
@ -37,5 +37,6 @@ QWidget * ForeignKeyDelegate::createEditor (QWidget * parent
|
||||
editor->setFrame (false);
|
||||
candidate_key_filter_->set_active_key (index);
|
||||
editor->setModel (candidate_key_filter_.data ());
|
||||
editor->setSizeAdjustPolicy (QComboBox::AdjustToContents);
|
||||
return editor;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user