File indexing completed on 2024-05-19 05:41:56
0001 /* 0002 // Copyright 2023 Codethink Ltd <codethink@codethink.co.uk> 0003 // SPDX-License-Identifier: Apache-2.0 0004 // 0005 // Licensed under the Apache License, Version 2.0 (the "License"); 0006 // you may not use this file except in compliance with the License. 0007 // You may obtain a copy of the License at 0008 // 0009 // http://www.apache.org/licenses/LICENSE-2.0 0010 // 0011 // Unless required by applicable law or agreed to in writing, software 0012 // distributed under the License is distributed on an "AS IS" BASIS, 0013 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0014 // See the License for the specific language governing permissions and 0015 // limitations under the License. 0016 */ 0017 0018 #ifndef PROJECTSETTINGS_DIALOG_H 0019 #define PROJECTSETTINGS_DIALOG_H 0020 0021 #include <ct_lvtprj_projectfile.h> 0022 0023 #include <QDialog> 0024 #include <memory> 0025 0026 namespace Ui { 0027 class ProjectSettingsDialog; 0028 } 0029 0030 class ProjectSettingsDialog : public QDialog { 0031 Q_OBJECT 0032 public: 0033 explicit ProjectSettingsDialog(Codethink::lvtprj::ProjectFile& projectFile); 0034 ~ProjectSettingsDialog() override; 0035 0036 protected: 0037 void applyChanges(); 0038 void searchSourceCodePath(); 0039 0040 std::unique_ptr<Ui::ProjectSettingsDialog> ui; 0041 Codethink::lvtprj::ProjectFile& d_projectFile; 0042 }; 0043 0044 #endif