mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 13:45:32 +00:00
...
This commit is contained in:
parent
6898321676
commit
e6fdc7e7fd
4 changed files with 7 additions and 10 deletions
|
@ -47,9 +47,6 @@ void DataFilesPage::createActions()
|
|||
// Add the actions to the toolbuttons
|
||||
newProfileButton->setDefaultAction(newProfileAction);
|
||||
deleteProfileButton->setDefaultAction(deleteProfileAction);
|
||||
|
||||
for (int i = 0; i < newProfileButton->actions().size(); i++)
|
||||
qDebug() << newProfileButton->actions().at(i)->objectName();
|
||||
}
|
||||
|
||||
void DataFilesPage::setupDataFiles()
|
||||
|
|
|
@ -27,13 +27,13 @@ CSVDoc::FileDialog::FileDialog(QWidget *parent) :
|
|||
|
||||
resize(400, 400);
|
||||
|
||||
// connect(mDataFilesModel, SIGNAL(checkedItemsChanged(QStringList)), this, SLOT(updateOpenButton(QStringList)));
|
||||
//connect(mNameLineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateCreateButton(QString)));
|
||||
connect(mDataFilesModel, SIGNAL(checkedItemsChanged(QStringList)), this, SLOT(updateOpenButton(QStringList)));
|
||||
connect(projectNameLineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateCreateButton(QString)));
|
||||
|
||||
connect(projectCreateButton, SIGNAL(clicked()), this, SIGNAL(createNewFile()));
|
||||
|
||||
connect(mButtonBox, SIGNAL(accepted()), this, SIGNAL(openFiles());
|
||||
// connect(mButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
connect(projectButtonBox, SIGNAL(accepted()), this, SIGNAL(openFiles()));
|
||||
connect(projectButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
}
|
||||
|
||||
void CSVDoc::FileDialog::updateOpenButton(const QStringList &items)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <QContextMenuEvent>
|
||||
|
||||
EsxView::ContentSelector::ContentSelector(QWidget *parent) :
|
||||
QWidget(parent)
|
||||
QDialog(parent)
|
||||
{
|
||||
setupUi(this);
|
||||
buildModelsAndViews();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef CONTENTSELECTOR_HPP
|
||||
#define CONTENTSELECTOR_HPP
|
||||
|
||||
#include <QWidget>
|
||||
#include <QDialog>
|
||||
|
||||
#include "ui_datafilespage.h"
|
||||
|
||||
|
@ -16,7 +16,7 @@ class QSortFilterProxyModel;
|
|||
|
||||
namespace EsxView
|
||||
{
|
||||
class ContentSelector : public QWidget, protected Ui::DataFilesPage
|
||||
class ContentSelector : public QDialog, protected Ui::DataFilesPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
|
Loading…
Reference in a new issue