mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
34 lines
766 B
C++
34 lines
766 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file LICENSE.rst or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
#include "QCMake.h"
|
|
#include <QCheckBox>
|
|
#include <QStringList>
|
|
#include <QWidget>
|
|
|
|
#include "ui_AddCacheEntry.h"
|
|
|
|
class AddCacheEntry
|
|
: public QWidget
|
|
, public Ui::AddCacheEntry
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AddCacheEntry(QWidget* p, QStringList const& varNames,
|
|
QStringList const& varTypes);
|
|
|
|
QString name() const;
|
|
QVariant value() const;
|
|
QString description() const;
|
|
QCMakeProperty::PropertyType type() const;
|
|
QString typeString() const;
|
|
|
|
private slots:
|
|
void onCompletionActivated(QString const& text);
|
|
|
|
private:
|
|
QStringList const& VarNames;
|
|
QStringList const& VarTypes;
|
|
};
|