source: src-qt4/EasyPBI/newModuleDialog.h @ 0c42827

releng/10.0.1releng/10.0.2
Last change on this file since 0c42827 was 0c42827, checked in by Ken Moore <ken@…>, 5 months ago

Update EasyPBI to 2.3:
Changes Include:
Add ability to build from ports directly again.
Add legacy port-build options to the GUI.
Add item to show current package compile-time options.
Add ability to create a new module from either ports/packages.
Fix a bug in the default wrapper script for 10.x PBI's (container path is /usr/local/ now when running)

  • Property mode set to 100644
File size: 822 bytes
Line 
1#ifndef NEW_MODULE_DIALOG_H
2#define NEW_MODULE_DIALOG_H
3
4#include <QDialog>
5#include <QFileDialog>
6#include <QString>
7#include <QDir>
8#include <QMessageBox>
9#include "ui_newModuleDialog.h"
10#include "backend.h"
11#include "pkgSelect.h"
12
13
14namespace Ui {
15    class NewModuleDialog;
16}
17
18class NewModuleDialog : public QDialog
19{
20    Q_OBJECT
21
22public:
23    explicit NewModuleDialog(QWidget *parent = 0, QString portsdir = "");
24    virtual ~NewModuleDialog();
25
26    bool isAccepted;
27    bool isPort;
28    void setDefaultIconFile(QString);
29    QString moduleIcon, moduleData;
30
31
32private slots:
33    void on_buttonBox_accepted();
34    void on_buttonBox_rejected();
35    void on_push_port_clicked();
36    void on_push_package_clicked();
37    void on_push_icon_clicked();
38
39private:
40    Ui::NewModuleDialog *ui;
41    QString portsDir;
42
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.