Skip to content

Commit

Permalink
arreglo dimen qt
Browse files Browse the repository at this point in the history
  • Loading branch information
RiedelNicolas committed Feb 9, 2021
1 parent bd084a0 commit ba0b975
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
34 changes: 21 additions & 13 deletions editor_src/Editor/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>565</width>
<height>399</height>
<width>896</width>
<height>520</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -17,10 +17,10 @@
<widget class="QScrollArea" name="mapArea">
<property name="geometry">
<rect>
<x>220</x>
<y>0</y>
<width>331</width>
<height>351</height>
<x>230</x>
<y>10</y>
<width>631</width>
<height>471</height>
</rect>
</property>
<property name="widgetResizable">
Expand All @@ -31,8 +31,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>329</width>
<height>349</height>
<width>629</width>
<height>469</height>
</rect>
</property>
</widget>
Expand Down Expand Up @@ -60,7 +60,11 @@
<item>
<layout class="QFormLayout" name="formLayout">
<item row="2" column="1">
<widget class="QSpinBox" name="spinX"/>
<widget class="QSpinBox" name="spinX">
<property name="maximum">
<number>1000</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
Expand All @@ -77,7 +81,11 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinY"/>
<widget class="QSpinBox" name="spinY">
<property name="maximum">
<number>1000</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
Expand All @@ -96,7 +104,7 @@
<x>0</x>
<y>310</y>
<width>221</width>
<height>41</height>
<height>131</height>
</rect>
</property>
<property name="frameShape">
Expand All @@ -112,8 +120,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>565</width>
<height>23</height>
<width>896</width>
<height>22</height>
</rect>
</property>
</widget>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ class Ui_MainWindow
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(565, 399);
MainWindow->resize(896, 520);
centralwidget = new QWidget(MainWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
mapArea = new QScrollArea(centralwidget);
mapArea->setObjectName(QString::fromUtf8("mapArea"));
mapArea->setGeometry(QRect(220, 0, 331, 351));
mapArea->setGeometry(QRect(230, 10, 631, 471));
mapArea->setWidgetResizable(true);
nada = new QWidget();
nada->setObjectName(QString::fromUtf8("nada"));
nada->setGeometry(QRect(0, 0, 329, 349));
nada->setGeometry(QRect(0, 0, 629, 469));
mapArea->setWidget(nada);
itemList = new ItemList(centralwidget);
itemList->setObjectName(QString::fromUtf8("itemList"));
Expand All @@ -73,6 +73,7 @@ class Ui_MainWindow
formLayout->setObjectName(QString::fromUtf8("formLayout"));
spinX = new QSpinBox(horizontalLayoutWidget);
spinX->setObjectName(QString::fromUtf8("spinX"));
spinX->setMaximum(1000);

formLayout->setWidget(2, QFormLayout::FieldRole, spinX);

Expand All @@ -88,6 +89,7 @@ class Ui_MainWindow

spinY = new QSpinBox(horizontalLayoutWidget);
spinY->setObjectName(QString::fromUtf8("spinY"));
spinY->setMaximum(1000);

formLayout->setWidget(1, QFormLayout::FieldRole, spinY);

Expand All @@ -101,13 +103,13 @@ class Ui_MainWindow

trashFrame = new QFrame(centralwidget);
trashFrame->setObjectName(QString::fromUtf8("trashFrame"));
trashFrame->setGeometry(QRect(0, 310, 221, 41));
trashFrame->setGeometry(QRect(0, 310, 221, 131));
trashFrame->setFrameShape(QFrame::StyledPanel);
trashFrame->setFrameShadow(QFrame::Raised);
MainWindow->setCentralWidget(centralwidget);
menubar = new QMenuBar(MainWindow);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 565, 23));
menubar->setGeometry(QRect(0, 0, 896, 22));
MainWindow->setMenuBar(menubar);
statusbar = new QStatusBar(MainWindow);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
Expand Down

0 comments on commit ba0b975

Please sign in to comment.