Deleted history dockWidget.

--HG--
branch : develop
This commit is contained in:
dismine 2014-09-11 20:18:01 +03:00
parent 1964b15704
commit 8f4f294645
2 changed files with 6 additions and 31 deletions

View File

@ -1968,9 +1968,7 @@ void MainWindow::CreateMenus()
separatorAct->setSeparator(true); separatorAct->setSeparator(true);
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, separatorAct); ui->menuPatternPiece->insertAction(ui->actionPattern_properties, separatorAct);
//Add docks //Add dock
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetHistory->toggleViewAction());
ui->dockWidgetHistory->close();//Default don't show hostory
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetToolOptions->toggleViewAction()); ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetToolOptions->toggleViewAction());
separatorAct = new QAction(this); separatorAct = new QAction(this);
@ -1981,8 +1979,6 @@ void MainWindow::CreateMenus()
void MainWindow::AddDocks() void MainWindow::AddDocks()
{ {
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetHistory->toggleViewAction());
ui->dockWidgetHistory->close();//Default don't show hostory
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetToolOptions->toggleViewAction()); ui->menuPatternPiece->insertAction(ui->actionPattern_properties, ui->dockWidgetToolOptions->toggleViewAction());
separatorAct = new QAction(this); separatorAct = new QAction(this);

View File

@ -47,7 +47,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>144</width> <width>105</width>
<height>272</height> <height>272</height>
</rect> </rect>
</property> </property>
@ -309,7 +309,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>105</width> <width>105</width>
<height>70</height> <height>58</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -385,7 +385,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>105</width> <width>105</width>
<height>116</height> <height>110</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -513,7 +513,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>105</width> <width>105</width>
<height>70</height> <height>58</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -589,7 +589,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>105</width> <width>105</width>
<height>64</height> <height>58</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -804,27 +804,6 @@
<addaction name="actionZoomOriginal"/> <addaction name="actionZoomOriginal"/>
<addaction name="actionZoomFitBest"/> <addaction name="actionZoomFitBest"/>
</widget> </widget>
<widget class="QDockWidget" name="dockWidgetHistory">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>41</height>
</size>
</property>
<property name="allowedAreas">
<set>Qt::BottomDockWidgetArea|Qt::LeftDockWidgetArea|Qt::TopDockWidgetArea</set>
</property>
<property name="windowTitle">
<string>History</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_8"/>
</widget>
<widget class="QDockWidget" name="dockWidgetToolOptions"> <widget class="QDockWidget" name="dockWidgetToolOptions">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>