2 * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 #include <include/popup.hpp>
22 #include "popup_adaptor.h"
28 class PopupWidget : public QWidget
33 explicit PopupWidget(QWidget *parent = 0);
36 void updateColorScheme();
38 // from popup_adaptor.h
39 public Q_SLOTS: // METHODS
40 void showPopup(int /*type*/, const QString &text);
41 void showPopupComboBox(const QString &text, const QStringList &choices);
44 void on_pushButton_OK_clicked();
47 void comboBoxResult(QString choice);
50 Ui::PopupWidget *mp_ui;
52 PopupAdaptor *mp_popupAdaptor;
53 bool m_sendComboBoxChoice;
54 // for showPupupFor LayoutSelection
55 //QList<QPushButton> m_pushButtons;
58 #endif // POPUPWIDGET_H