Changeset View
Changeset View
Standalone View
Standalone View
src/qt/qvaluecombobox.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "qvaluecombobox.h" | #include <qt/qvaluecombobox.h> | ||||
QValueComboBox::QValueComboBox(QWidget *parent) | QValueComboBox::QValueComboBox(QWidget *parent) | ||||
: QComboBox(parent), role(Qt::UserRole) { | : QComboBox(parent), role(Qt::UserRole) { | ||||
connect(this, SIGNAL(currentIndexChanged(int)), this, | connect(this, SIGNAL(currentIndexChanged(int)), this, | ||||
SLOT(handleSelectionChanged(int))); | SLOT(handleSelectionChanged(int))); | ||||
} | } | ||||
QVariant QValueComboBox::value() const { | QVariant QValueComboBox::value() const { | ||||
Show All 14 Lines |