Skip to content

Commit

Permalink
Update tools/viewsvg
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jan 4, 2019
1 parent dc26405 commit d5f9766
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
7 changes: 3 additions & 4 deletions tools/viewsvg/mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#include <QMessageBox>
#include <QTimer>
#include <QFile>

#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);

Expand Down
24 changes: 3 additions & 21 deletions tools/viewsvg/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
</rect>
</property>
<property name="windowTitle">
<string>Demo</string>
<string>viewsvg</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
<number>6</number>
</property>
<property name="rightMargin">
<number>0</number>
Expand Down Expand Up @@ -142,24 +142,6 @@
</item>
</layout>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
</layout>
</widget>
</item>
<item>
<widget class="SvgView" name="svgView">
<property name="sizePolicy">
Expand Down

0 comments on commit d5f9766

Please sign in to comment.