...
 
Commits (4)
[General]
CANT_VIVIENDAS_DEFAULT=10
MAIN_WINDOW_GEOMETRY=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\xb1\0\0\0h\0\0\az\0\0\x3\x8e\0\0\0\xba\0\0\0\x8e\0\0\aq\0\0\x3\x85\0\0\0\0\0\0\0\0\a\x80)
CSV_DELIMITER=0
MAIN_WINDOW_STATE=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\x6\xb8\0\0\x2\x86\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x16\0m\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
CARGAR_ULTIMO_SORTEO=true
RUTA_ULTIMO_SORTEO=C:/Users/Marcos/Desktop/MTAV_Code/programa/debug/GLPK/prueba.csv
GUARDAR_AUTOMATICAMENTE_REPORTE=false
2019-11-29 20:27:50.138 INF: Inicio de la aplicación
2019-11-29 20:27:53.068 INF: "Nueva simulacion con ruta="
2019-12-02 23:20:45.634 INF: Inicio de la aplicación
2019-12-02 23:20:48.250 INF: "Nueva simulacion con ruta="
2020-01-27 01:46:02.989 INF: Inicio de la aplicación
2020-01-27 01:46:04.898 INF: "Nueva simulacion con ruta="
2020-01-27 01:46:24.919 WRN: "Datos invalidos para correr el proyecto: Nombre de sorteo vacio"
2020-01-27 01:46:28.213 INF: "Inicio de ejecucion del Proyecto=a"
2020-01-27 01:47:46.766 INF: Inicio de la aplicación
2020-01-27 01:47:47.210 INF: "Nueva simulacion con ruta="
2020-01-27 01:48:11.234 INF: "Inicio de ejecucion del Proyecto=12"
2020-01-27 01:48:15.093 CRT: function:0x18c5e294 line 0x18c5e28c GLPK MTAV ERROR en la salida
2020-01-27 01:48:15.140 CRT: function:0x18c5e1b4 line 0x18c5e1ac GLPK MTAV_Empate ERROR en la salida
2020-01-27 01:49:37.012 INF: Inicio de la aplicación
2020-01-27 01:49:38.921 INF: "Nueva simulacion con ruta="
2020-01-27 01:50:01.383 INF: "Inicio de ejecucion del Proyecto=122"
2020-01-27 01:55:46.311 INF: Inicio de la aplicación
2020-01-27 01:55:46.763 INF: "Nueva simulacion con ruta="
2020-01-27 01:56:29.752 INF: "Inicio de ejecucion del Proyecto=qwe"
2020-01-27 01:56:29.814 CRT: function:0x18cee7a4 line 0x18cee79c GLPK MTAV ERROR en la salida
2020-01-27 01:56:29.861 CRT: function:0x18cee814 line 0x18cee80c GLPK MTAV_Empate ERROR en la salida
2020-01-27 01:56:58.617 INF: Inicio de la aplicación
2020-01-27 01:57:00.574 INF: "Nueva simulacion con ruta="
2020-01-27 01:57:24.838 INF: "Inicio de ejecucion del Proyecto=3"
2020-01-27 01:58:50.615 CRT: function:0x1b082dfc line 0x1b082df4 GLPK MTAV ERROR en la salida
2020-01-27 01:58:50.677 CRT: function:0x18cc05f4 line 0x18cc05ec GLPK MTAV_Empate ERROR en la salida
2020-01-27 01:58:54.832 INF: "Inicio de ejecucion del Proyecto=3"
2020-01-27 01:59:11.673 INF: GLPK MTAV Status: FOUND
2020-01-27 01:59:16.440 CRT: function:0x1b193e74 line 0x1b193e6c GLPK MTAV_Empate ERROR en la salida
2020-01-27 08:21:13.506 INF: Inicio de la aplicación
2020-01-27 08:21:15.800 INF: "Nueva simulacion con ruta="
2020-01-27 08:21:42.918 WRN: "Datos invalidos para correr el proyecto: Nombre de sorteo vacio"
2020-01-27 08:21:47.693 INF: "Inicio de ejecucion del Proyecto=asfa"
2020-01-27 08:23:11.153 INF: GLPK MTAV Status: FOUND
2020-01-27 08:23:16.217 CRT: function:0x21538fc4 line 0x21538fbc GLPK MTAV_Empate ERROR en la salida
2020-01-27 08:28:14.753 INF: "Inicio de ejecucion del Proyecto=asfa"
2020-01-27 08:31:51.546 INF: GLPK MTAV Status: FOUND
2020-01-27 08:31:54.406 CRT: function:0x2155454c line 0x21554544 GLPK MTAV_Empate ERROR en la salida
2020-01-27 08:31:59.199 INF: "Inicio de ejecucion del Proyecto=asfa"
2020-01-27 08:32:06.400 INF: GLPK MTAV Status: FOUND
2020-01-27 08:36:11.832 INF: Inicio de la aplicación
2020-01-27 08:36:13.818 INF: "Nueva simulacion con ruta="
2020-01-27 08:36:36.845 INF: "Inicio de ejecucion del Proyecto=afsd"
2020-01-27 08:36:40.980 INF: GLPK MTAV Status: FOUND
2020-01-27 08:37:13.163 INF: GLPK MTAV_Empate Status: FOUND
2020-01-27 08:45:35.207 INF: Inicio de la aplicación
2020-01-27 08:45:37.191 INF: "Nueva simulacion con ruta="
2020-01-27 08:46:00.605 INF: "Inicio de ejecucion del Proyecto=ll"
2020-01-27 08:47:35.241 INF: Inicio de la aplicación
2020-01-27 08:47:37.225 INF: "Nueva simulacion con ruta="
2020-01-27 08:47:56.799 INF: "Inicio de ejecucion del Proyecto=k"
2020-01-27 08:48:10.265 INF: GLPK MTAV Status: FOUND
2020-01-27 08:56:04.300 INF: Inicio de la aplicación
2020-01-27 08:56:06.272 INF: "Nueva simulacion con ruta="
2020-01-27 08:56:24.779 INF: "Inicio de ejecucion del Proyecto=m"
2020-01-27 08:58:25.608 INF: GLPK MTAV Status: FOUND
2020-01-27 08:58:26.635 INF: GLPK MTAV_Empate Status: FOUND
2020-01-27 08:59:10.872 INF: "Nueva simulacion con ruta=C:/Users/Marcos/Desktop/MTAV_Code/programa/debug/GLPK/SORTEO COVITVUNO DOS DORMITORIOS.csv"
2020-01-27 08:59:16.578 INF: "Inicio de ejecucion del Proyecto=Sorteo COVITVUNO 2 dormitorios"
2020-01-27 09:01:35.182 CRT: function:0x1b0ac21c line 0x1b0ac214 GLPK MTAV ERROR en la salida
2020-01-27 09:01:36.855 WRN: QProcess::start: Process is already running
2020-01-27 09:01:36.856 INF: GLPK MTAV_Empate Status: FOUND
2020-01-27 09:01:52.728 INF: "Guardado de proyecto en: C:/Users/Marcos/Desktop/MTAV_Code/programa/debug/GLPK/prueba.csv"
2020-01-27 09:07:10.420 INF: Inicio de la aplicación
2020-01-27 09:07:12.395 INF: "Nueva simulacion con ruta=C:/Users/Marcos/Desktop/MTAV_Code/programa/debug/GLPK/prueba.csv"
2020-01-27 09:07:17.772 INF: "Inicio de ejecucion del Proyecto=Sorteo COVITVUNO 2 dormitorios"
2020-01-27 09:08:24.769 INF: Inicio de la aplicación
2020-01-27 09:08:26.730 INF: "Nueva simulacion con ruta=C:/Users/Marcos/Desktop/MTAV_Code/programa/debug/GLPK/prueba.csv"
2020-01-27 09:08:30.320 INF: "Inicio de ejecucion del Proyecto=Sorteo COVITVUNO 2 dormitorios"
2020-01-27 09:10:46.699 INF: GLPK MTAV Status: FOUND
2020-01-27 09:11:04.934 INF: GLPK MTAV_Empate Status: FOUND
/****************************************************************************
** Meta object code from reading C++ file 'configurationwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../configurationwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'configurationwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_ConfigurationWidget_t {
QByteArrayData data[6];
char stringdata0[131];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ConfigurationWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ConfigurationWidget_t qt_meta_stringdata_ConfigurationWidget = {
{
QT_MOC_LITERAL(0, 0, 19), // "ConfigurationWidget"
QT_MOC_LITERAL(1, 20, 21), // "on_btnGuardar_clicked"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 22), // "on_btnCancelar_clicked"
QT_MOC_LITERAL(4, 66, 22), // "on_btnExaminar_clicked"
QT_MOC_LITERAL(5, 89, 41) // "on_checkGuardadoAutomaticoRep..."
},
"ConfigurationWidget\0on_btnGuardar_clicked\0"
"\0on_btnCancelar_clicked\0on_btnExaminar_clicked\0"
"on_checkGuardadoAutomaticoReporte_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ConfigurationWidget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
4, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 34, 2, 0x08 /* Private */,
3, 0, 35, 2, 0x08 /* Private */,
4, 0, 36, 2, 0x08 /* Private */,
5, 0, 37, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void ConfigurationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
ConfigurationWidget *_t = static_cast<ConfigurationWidget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_btnGuardar_clicked(); break;
case 1: _t->on_btnCancelar_clicked(); break;
case 2: _t->on_btnExaminar_clicked(); break;
case 3: _t->on_checkGuardadoAutomaticoReporte_clicked(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const QMetaObject ConfigurationWidget::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_ConfigurationWidget.data,
qt_meta_data_ConfigurationWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *ConfigurationWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ConfigurationWidget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_ConfigurationWidget.stringdata0))
return static_cast<void*>(const_cast< ConfigurationWidget*>(this));
return QDialog::qt_metacast(_clname);
}
int ConfigurationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 4)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 4;
}
return _id;
}
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'dataeditorwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../dataeditorwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dataeditorwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_DataEditorWidget_t {
QByteArrayData data[14];
char stringdata0[257];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_DataEditorWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_DataEditorWidget_t qt_meta_stringdata_DataEditorWidget = {
{
QT_MOC_LITERAL(0, 0, 16), // "DataEditorWidget"
QT_MOC_LITERAL(1, 17, 12), // "ruta_changed"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 3), // "txt"
QT_MOC_LITERAL(4, 35, 21), // "on_btnSimular_clicked"
QT_MOC_LITERAL(5, 57, 21), // "on_btnAplicar_clicked"
QT_MOC_LITERAL(6, 79, 18), // "onModelDataChanged"
QT_MOC_LITERAL(7, 98, 33), // "onTablaModelVerticalScrollCha..."
QT_MOC_LITERAL(8, 132, 5), // "value"
QT_MOC_LITERAL(9, 138, 39), // "onTablaModelFamilyVerticalScr..."
QT_MOC_LITERAL(10, 178, 23), // "onTablaModelCellClicked"
QT_MOC_LITERAL(11, 202, 29), // "onTablaModelFamilyCellClicked"
QT_MOC_LITERAL(12, 232, 22), // "onCantidadValueChanged"
QT_MOC_LITERAL(13, 255, 1) // "i"
},
"DataEditorWidget\0ruta_changed\0\0txt\0"
"on_btnSimular_clicked\0on_btnAplicar_clicked\0"
"onModelDataChanged\0onTablaModelVerticalScrollChanged\0"
"value\0onTablaModelFamilyVerticalScrollChanged\0"
"onTablaModelCellClicked\0"
"onTablaModelFamilyCellClicked\0"
"onCantidadValueChanged\0i"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_DataEditorWidget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 59, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
4, 0, 62, 2, 0x08 /* Private */,
5, 0, 63, 2, 0x08 /* Private */,
6, 0, 64, 2, 0x08 /* Private */,
7, 1, 65, 2, 0x08 /* Private */,
9, 1, 68, 2, 0x08 /* Private */,
10, 1, 71, 2, 0x08 /* Private */,
11, 1, 74, 2, 0x08 /* Private */,
12, 1, 77, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Int, QMetaType::QString, 3,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 8,
QMetaType::Void, QMetaType::Int, 8,
QMetaType::Void, QMetaType::QModelIndex, 2,
QMetaType::Void, QMetaType::QModelIndex, 2,
QMetaType::Void, QMetaType::Int, 13,
0 // eod
};
void DataEditorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
DataEditorWidget *_t = static_cast<DataEditorWidget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: { int _r = _t->ruta_changed((*reinterpret_cast< QString(*)>(_a[1])));
if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
case 1: _t->on_btnSimular_clicked(); break;
case 2: _t->on_btnAplicar_clicked(); break;
case 3: _t->onModelDataChanged(); break;
case 4: _t->onTablaModelVerticalScrollChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 5: _t->onTablaModelFamilyVerticalScrollChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 6: _t->onTablaModelCellClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 7: _t->onTablaModelFamilyCellClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 8: _t->onCantidadValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef int (DataEditorWidget::*_t)(QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataEditorWidget::ruta_changed)) {
*result = 0;
return;
}
}
}
}
const QMetaObject DataEditorWidget::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_DataEditorWidget.data,
qt_meta_data_DataEditorWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *DataEditorWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *DataEditorWidget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_DataEditorWidget.stringdata0))
return static_cast<void*>(const_cast< DataEditorWidget*>(this));
return QWidget::qt_metacast(_clname);
}
int DataEditorWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 9)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 9;
}
return _id;
}
// SIGNAL 0
int DataEditorWidget::ruta_changed(QString _t1)
{
int _t0 = int();
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(&_t0)), const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
return _t0;
}
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'householdseditorwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../householdseditorwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'householdseditorwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_HouseHoldsEditorWidget_t {
QByteArrayData data[4];
char stringdata0[69];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_HouseHoldsEditorWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_HouseHoldsEditorWidget_t qt_meta_stringdata_HouseHoldsEditorWidget = {
{
QT_MOC_LITERAL(0, 0, 22), // "HouseHoldsEditorWidget"
QT_MOC_LITERAL(1, 23, 21), // "on_btnGuardar_clicked"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 22) // "on_btnCancelar_clicked"
},
"HouseHoldsEditorWidget\0on_btnGuardar_clicked\0"
"\0on_btnCancelar_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_HouseHoldsEditorWidget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x08 /* Private */,
3, 0, 25, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void HouseHoldsEditorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
HouseHoldsEditorWidget *_t = static_cast<HouseHoldsEditorWidget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_btnGuardar_clicked(); break;
case 1: _t->on_btnCancelar_clicked(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const QMetaObject HouseHoldsEditorWidget::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_HouseHoldsEditorWidget.data,
qt_meta_data_HouseHoldsEditorWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *HouseHoldsEditorWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *HouseHoldsEditorWidget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_HouseHoldsEditorWidget.stringdata0))
return static_cast<void*>(const_cast< HouseHoldsEditorWidget*>(this));
return QDialog::qt_metacast(_clname);
}
int HouseHoldsEditorWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[14];
char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 24), // "on_actionNuevo_triggered"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 24), // "on_actionAbrir_triggered"
QT_MOC_LITERAL(4, 62, 26), // "on_actionGuardar_triggered"
QT_MOC_LITERAL(5, 89, 24), // "on_actionAyuda_triggered"
QT_MOC_LITERAL(6, 114, 35), // "on_actionAbrir_datos_GLPK_tri..."
QT_MOC_LITERAL(7, 150, 24), // "on_actionSalir_triggered"
QT_MOC_LITERAL(8, 175, 35), // "on_actionEditar_viviendas_tri..."
QT_MOC_LITERAL(9, 211, 32), // "on_actionConfiguraci_n_triggered"
QT_MOC_LITERAL(10, 244, 22), // "on_changeStatusBarText"
QT_MOC_LITERAL(11, 267, 4), // "text"
QT_MOC_LITERAL(12, 272, 10), // "closeEvent"
QT_MOC_LITERAL(13, 283, 12) // "QCloseEvent*"
},
"MainWindow\0on_actionNuevo_triggered\0"
"\0on_actionAbrir_triggered\0"
"on_actionGuardar_triggered\0"
"on_actionAyuda_triggered\0"
"on_actionAbrir_datos_GLPK_triggered\0"
"on_actionSalir_triggered\0"
"on_actionEditar_viviendas_triggered\0"
"on_actionConfiguraci_n_triggered\0"
"on_changeStatusBarText\0text\0closeEvent\0"
"QCloseEvent*"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 64, 2, 0x08 /* Private */,
3, 0, 65, 2, 0x08 /* Private */,
4, 0, 66, 2, 0x08 /* Private */,
5, 0, 67, 2, 0x08 /* Private */,
6, 0, 68, 2, 0x08 /* Private */,
7, 0, 69, 2, 0x08 /* Private */,
8, 0, 70, 2, 0x08 /* Private */,
9, 0, 71, 2, 0x08 /* Private */,
10, 1, 72, 2, 0x08 /* Private */,
12, 1, 75, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void, 0x80000000 | 13, 2,
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
MainWindow *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_actionNuevo_triggered(); break;
case 1: _t->on_actionAbrir_triggered(); break;
case 2: _t->on_actionGuardar_triggered(); break;
case 3: _t->on_actionAyuda_triggered(); break;
case 4: _t->on_actionAbrir_datos_GLPK_triggered(); break;
case 5: _t->on_actionSalir_triggered(); break;
case 6: _t->on_actionEditar_viviendas_triggered(); break;
case 7: _t->on_actionConfiguraci_n_triggered(); break;
case 8: _t->on_changeStatusBarText((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 9: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break;
default: ;
}
}
}
const QMetaObject MainWindow::staticMetaObject = {
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(const_cast< MainWindow*>(this));
return QMainWindow::qt_metacast(_clname);
}
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
}
return _id;
}
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'simulationresultwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../simulationresultwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'simulationresultwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_SimulationResultWidget_t {
QByteArrayData data[4];
char stringdata0[72];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_SimulationResultWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_SimulationResultWidget_t qt_meta_stringdata_SimulationResultWidget = {
{
QT_MOC_LITERAL(0, 0, 22), // "SimulationResultWidget"
QT_MOC_LITERAL(1, 23, 26), // "on_btnExportarAPdf_clicked"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 20) // "on_btnCerrar_clicked"
},
"SimulationResultWidget\0"
"on_btnExportarAPdf_clicked\0\0"
"on_btnCerrar_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_SimulationResultWidget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x08 /* Private */,
3, 0, 25, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void SimulationResultWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
SimulationResultWidget *_t = static_cast<SimulationResultWidget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_btnExportarAPdf_clicked(); break;
case 1: _t->on_btnCerrar_clicked(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const QMetaObject SimulationResultWidget::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_SimulationResultWidget.data,
qt_meta_data_SimulationResultWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *SimulationResultWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *SimulationResultWidget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_SimulationResultWidget.stringdata0))
return static_cast<void*>(const_cast< SimulationResultWidget*>(this));
return QDialog::qt_metacast(_clname);
}
int SimulationResultWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
QT_END_MOC_NAMESPACE
This diff is collapsed.
/********************************************************************************
** Form generated from reading UI file 'waitingwidget.ui'
**
** Created by: Qt User Interface Compiler version 5.7.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_WAITINGWIDGET_H
#define UI_WAITINGWIDGET_H
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_WaitingWidget
{
public:
QLabel *label;
QLabel *label_2;
QProgressBar *progressBar;
QPushButton *btnCancelar;
void setupUi(QWidget *WaitingWidget)
{
if (WaitingWidget->objectName().isEmpty())
WaitingWidget->setObjectName(QStringLiteral("WaitingWidget"));
WaitingWidget->resize(364, 160);
QIcon icon;
icon.addFile(QStringLiteral(":/recursos/img/settings.ico"), QSize(), QIcon::Normal, QIcon::Off);
WaitingWidget->setWindowIcon(icon);
label = new QLabel(WaitingWidget);
label->setObjectName(QStringLiteral("label"));
label->setGeometry(QRect(20, 10, 281, 24));
QFont font;
font.setFamily(QStringLiteral("Microsoft Sans Serif"));
font.setPointSize(14);
label->setFont(font);
label_2 = new QLabel(WaitingWidget);
label_2->setObjectName(QStringLiteral("label_2"));
label_2->setGeometry(QRect(50, 50, 171, 16));
progressBar = new QProgressBar(WaitingWidget);
progressBar->setObjectName(QStringLiteral("progressBar"));
progressBar->setGeometry(QRect(20, 80, 341, 16));
progressBar->setValue(24);
btnCancelar = new QPushButton(WaitingWidget);
btnCancelar->setObjectName(QStringLiteral("btnCancelar"));
btnCancelar->setGeometry(QRect(252, 120, 101, 28));
retranslateUi(WaitingWidget);
QMetaObject::connectSlotsByName(WaitingWidget);
} // setupUi
void retranslateUi(QWidget *WaitingWidget)
{
WaitingWidget->setWindowTitle(QApplication::translate("WaitingWidget", "Asignando", Q_NULLPTR));
label->setText(QApplication::translate("WaitingWidget", "<html><head/><body><p>Calculando asignaciones . . .</p></body></html>", Q_NULLPTR));
label_2->setText(QApplication::translate("WaitingWidget", "Avance del proceso:", Q_NULLPTR));
btnCancelar->setText(QApplication::translate("WaitingWidget", "Cancelar", Q_NULLPTR));
} // retranslateUi
};
namespace Ui {
class WaitingWidget: public Ui_WaitingWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_WAITINGWIDGET_H
#include "waitingwidget.h"
#include "ui_waitingwidget.h"
WaitingWidget::WaitingWidget(QWidget *parent) :
QDialog(parent),
ui(new Ui::WaitingWidget)
{
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->setupUi(this);
this->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
this->setFixedSize(this->size());
this->progress = 0;
ui->progressBar->setValue(0);
//connect(this->progress, SIGNAL(valueChanged(int)), ui->progressBar, SLOT(setValue(int)));
}
WaitingWidget::~WaitingWidget(){
delete ui;
}
void WaitingWidget::setProgress(int value){
this->progress = value;
emit valueChanged( progress );
}
void WaitingWidget::abrirDialog(){
this->exec();
}
void WaitingWidget::on_btnCancelar_clicked()
{
}
#ifndef WAITINGWIDGET_H
#define WAITINGWIDGET_H
#include <QDialog>
namespace Ui {
class WaitingWidget;
}
class WaitingWidget : public QDialog
{
Q_OBJECT
private:
Ui::WaitingWidget *ui;
int progress;
private slots:
void on_btnCancelar_clicked();
public:
explicit WaitingWidget(QWidget *parent = 0);
~WaitingWidget();
void abrirDialog();
void setProgress(int value);
signals:
void valueChanged(int value);
};
#endif // WAITINGWIDGET_H
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ConfigurationWidget</class>
<widget class="QWidget" name="ConfigurationWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>364</width>
<height>160</height>
</rect>
</property>
<property name="windowTitle">
<string>Configuración</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/recursos/img/settings.ico</normaloff>:/recursos/img/settings.ico</iconset>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>281</width>
<height>24</height>
</rect>
</property>
<property name="font">
<font>
<family>Microsoft Sans Serif</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Calculando asignaciones . . .&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>50</x>
<y>50</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Avance del proceso:</string>
</property>
</widget>
<widget class="QProgressBar" name="progressBar">
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>341</width>
<height>16</height>
</rect>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
<widget class="QPushButton" name="btnCancelar">
<property name="geometry">
<rect>
<x>252</x>
<y>120</y>
<width>101</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>Cancelar</string>
</property>
</widget>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>