multifile_prefix.h
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
5  */
6 
7 #ifndef MULTIFILE_PREFIX_H
8 #define MULTIFILE_PREFIX_H
9 
10 #include <QDialog>
11 #include <QLineEdit>
12 
13 namespace Ui
14 {
16 }
17 
18 class DialogMultifilePrefix : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  explicit DialogMultifilePrefix(QStringList filenames, QWidget* parent = nullptr);
24 
25  std::map<QString, QString> getPrefixes() const;
26 
28 
29  virtual void accept() override;
30 
31 private:
32  Ui::DialogMultifilePrefix* ui;
33  std::map<QString, QLineEdit*> _line_edits;
34  std::map<QString, QString> _previous_prefixes;
35  std::map<QString, QString> _prefixes;
36 };
37 
38 #endif // MULTIFILE_PREFIX_H
DialogMultifilePrefix::ui
Ui::DialogMultifilePrefix * ui
Definition: multifile_prefix.h:32
DialogMultifilePrefix
Definition: multifile_prefix.h:18
DialogMultifilePrefix::DialogMultifilePrefix
DialogMultifilePrefix(QStringList filenames, QWidget *parent=nullptr)
Definition: multifile_prefix.cpp:15
DialogMultifilePrefix::~DialogMultifilePrefix
~DialogMultifilePrefix()
Definition: multifile_prefix.cpp:65
DialogMultifilePrefix::_line_edits
std::map< QString, QLineEdit * > _line_edits
Definition: multifile_prefix.h:33
DialogMultifilePrefix::getPrefixes
std::map< QString, QString > getPrefixes() const
Definition: multifile_prefix.cpp:60
Ui
Definition: cheatsheet_dialog.h:6
DialogMultifilePrefix::_prefixes
std::map< QString, QString > _prefixes
Definition: multifile_prefix.h:35
DialogMultifilePrefix::_previous_prefixes
std::map< QString, QString > _previous_prefixes
Definition: multifile_prefix.h:34
DialogMultifilePrefix::accept
virtual void accept() override
Definition: multifile_prefix.cpp:70


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45