Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
25
qt/create_feature_dialog.hpp
Normal file
25
qt/create_feature_dialog.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <QtWidgets/QDialog>
|
||||
|
||||
class QModelIndex;
|
||||
namespace osm
|
||||
{
|
||||
class NewFeatureCategories;
|
||||
} // namespace osm
|
||||
|
||||
class CreateFeatureDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CreateFeatureDialog(QWidget * parent, osm::NewFeatureCategories & cats);
|
||||
/// Valid only if dialog has finished with Accepted code.
|
||||
uint32_t GetSelectedType() const { return m_selectedType; }
|
||||
|
||||
private slots:
|
||||
void OnListItemSelected(QModelIndex const & i);
|
||||
|
||||
private:
|
||||
uint32_t m_selectedType = 0;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue