Show tooltipe message.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-07-10 14:22:46 +03:00
parent 9228e417b2
commit f5d9f1ff72
3 changed files with 64 additions and 14 deletions

View File

@ -35,6 +35,8 @@ TMainWindow::TMainWindow(QWidget *parent)
ui(new Ui::TMainWindow) ui(new Ui::TMainWindow)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->tabWidget->setVisible(false);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>TMainWindow</class> <class>TMainWindow</class>
<widget class="QMainWindow" name="TMainWindow"> <widget class="QMainWindow" name="TMainWindow">
@ -5,20 +6,67 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>531</width>
<height>300</height> <height>406</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>TMainWindow</string> <string>TMainWindow</string>
</property> </property>
<widget class="QMenuBar" name="menuBar" /> <widget class="QWidget" name="centralWidget">
<widget class="QToolBar" name="mainToolBar" /> <layout class="QVBoxLayout" name="verticalLayout">
<widget class="QWidget" name="centralWidget" /> <item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="labelToolTip">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:18pt;&quot;&gt;Select New for creation measurement file.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabMeasurements">
<attribute name="title">
<string>Measuremnts</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTableWidget" name="tableWidget"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabInformation">
<attribute name="title">
<string>Information</string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>531</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/> <widget class="QStatusBar" name="statusBar"/>
</widget> </widget>
<layoutDefault spacing="6" margin="11" /> <layoutdefault spacing="6" margin="11"/>
<pixmapfunction></pixmapfunction>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>

View File

@ -39,7 +39,7 @@
<enum>QTabWidget::North</enum> <enum>QTabWidget::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>6</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="tabStandard"> <widget class="QWidget" name="tabStandard">
<property name="sizePolicy"> <property name="sizePolicy">
@ -118,8 +118,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>559</width> <width>939</width>
<height>82</height> <height>411</height>
</rect> </rect>
</property> </property>
<attribute name="icon"> <attribute name="icon">