973 lines
31 KiB
XML
973 lines
31 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<ui version="4.0">
|
||
|
|
<class>DemonstrationWidget</class>
|
||
|
|
<widget class="QWidget" name="DemonstrationWidget">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>805</width>
|
||
|
|
<height>460</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="windowTitle">
|
||
|
|
<string>Form</string>
|
||
|
|
</property>
|
||
|
|
<widget class="QFrame" name="m_frmProgressBar">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>0</width>
|
||
|
|
<height>0</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::StyledPanel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Plain</enum>
|
||
|
|
</property>
|
||
|
|
<property name="lineWidth">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_13">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="m_lblProgressBar">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Progress of inserting elements:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QProgressBar" name="m_progressBar">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<weight>50</weight>
|
||
|
|
<italic>false</italic>
|
||
|
|
<bold>false</bold>
|
||
|
|
<underline>false</underline>
|
||
|
|
<strikeout>false</strikeout>
|
||
|
|
<kerning>true</kerning>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="maximum">
|
||
|
|
<number>100000</number>
|
||
|
|
</property>
|
||
|
|
<property name="value">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<widget class="QScrollArea" name="m_rightScrollArea">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>501</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>250</width>
|
||
|
|
<height>250</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Expanding">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>250</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="verticalScrollBarPolicy">
|
||
|
|
<enum>Qt::ScrollBarAlwaysOn</enum>
|
||
|
|
</property>
|
||
|
|
<property name="horizontalScrollBarPolicy">
|
||
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeAdjustPolicy">
|
||
|
|
<enum>QAbstractScrollArea::AdjustIgnored</enum>
|
||
|
|
</property>
|
||
|
|
<property name="widgetResizable">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>234</width>
|
||
|
|
<height>1020</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="scrollAreaWidgetContentsLayout">
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="m_gbResolutionOfCollisions">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Resolution of collisions</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbChains">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Chains</string>
|
||
|
|
</property>
|
||
|
|
<property name="checked">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbOpenAdressing">
|
||
|
|
<property name="text">
|
||
|
|
<string>Open addressing</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="m_gbFunction">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Function</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbEquivalent">
|
||
|
|
<property name="text">
|
||
|
|
<string>Equivalent</string>
|
||
|
|
</property>
|
||
|
|
<property name="checked">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbStandart">
|
||
|
|
<property name="text">
|
||
|
|
<string>Standart</string>
|
||
|
|
</property>
|
||
|
|
<property name="checked">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbFNV1a32bit">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>FNV1a 32 bit</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="m_gbAlgorithm">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Algorithm</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbLinearProbing">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Linear probing</string>
|
||
|
|
</property>
|
||
|
|
<property name="checked">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbPseudorandomProbing">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Pseudorandom probing</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbQuadraticProbing">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Quadratic probing</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QRadioButton" name="m_rbDoubleHashing">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Double hashing</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="m_gbInputData">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Additional input data</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||
|
|
<item>
|
||
|
|
<widget class="QFrame" name="m_frmFirstInputData">
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::StyledPanel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Raised</enum>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_14">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="lblFirstInputData">
|
||
|
|
<property name="text">
|
||
|
|
<string>Coefficient of the first family function:</string>
|
||
|
|
</property>
|
||
|
|
<property name="wordWrap">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_sbFirstInputData</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QSpinBox" name="m_sbFirstInputData">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="maximum">
|
||
|
|
<number>100000000</number>
|
||
|
|
</property>
|
||
|
|
<property name="singleStep">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="stepType">
|
||
|
|
<enum>QAbstractSpinBox::DefaultStepType</enum>
|
||
|
|
</property>
|
||
|
|
<property name="value">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="displayIntegerBase">
|
||
|
|
<number>16</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QFrame" name="m_frmSecondInputData">
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::StyledPanel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Raised</enum>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_15">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="m_lblSecondInputData">
|
||
|
|
<property name="text">
|
||
|
|
<string>Coefficient of the second family function:</string>
|
||
|
|
</property>
|
||
|
|
<property name="wordWrap">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_sbSecondInputData</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QSpinBox" name="m_sbSecondInputData">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="maximum">
|
||
|
|
<number>100000000</number>
|
||
|
|
</property>
|
||
|
|
<property name="singleStep">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="stepType">
|
||
|
|
<enum>QAbstractSpinBox::DefaultStepType</enum>
|
||
|
|
</property>
|
||
|
|
<property name="value">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="displayIntegerBase">
|
||
|
|
<number>16</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="gbHashTable">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Hash table</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QFormLayout" name="formLayout_3">
|
||
|
|
<item row="0" column="0">
|
||
|
|
<widget class="QLabel" name="lblNumberOfElements">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Bucket quantity:</string>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_sbBucketQuantity</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="1">
|
||
|
|
<widget class="QSpinBox" name="m_sbBucketQuantity">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimum">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="maximum">
|
||
|
|
<number>10000</number>
|
||
|
|
</property>
|
||
|
|
<property name="value">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="0">
|
||
|
|
<widget class="QPushButton" name="m_pbReset">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Reset</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="1">
|
||
|
|
<widget class="QPushButton" name="m_pbApply">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Apply</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="0" colspan="2">
|
||
|
|
<widget class="QPushButton" name="m_pbStatistics">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Statistics</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="m_gbLoadTable">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>Load table</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="loadTableLayout">
|
||
|
|
<item>
|
||
|
|
<layout class="QFormLayout" name="makeItemsLayout">
|
||
|
|
<item row="0" column="0">
|
||
|
|
<widget class="QLabel" name="lblFrom">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>50</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>From:</string>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_leFrom</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="0">
|
||
|
|
<widget class="QLabel" name="lblQuantity">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>50</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Quantity:</string>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_sbQuantity</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="1">
|
||
|
|
<widget class="QSpinBox" name="m_sbQuantity">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimum">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="maximum">
|
||
|
|
<number>10000</number>
|
||
|
|
</property>
|
||
|
|
<property name="value">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="1">
|
||
|
|
<widget class="QLineEdit" name="m_leFrom">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>150</width>
|
||
|
|
<height>16777215</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="inputMethodHints">
|
||
|
|
<set>Qt::ImhNone</set>
|
||
|
|
</property>
|
||
|
|
<property name="maxLength">
|
||
|
|
<number>4</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="m_pbMakeItems">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Make items</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="Line" name="line">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QFormLayout" name="insertLayout">
|
||
|
|
<item row="0" column="0">
|
||
|
|
<widget class="QLabel" name="m_lblInsert">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>50</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Value:</string>
|
||
|
|
</property>
|
||
|
|
<property name="buddy">
|
||
|
|
<cstring>m_leInsert</cstring>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="1">
|
||
|
|
<widget class="QLineEdit" name="m_leInsert">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="maxLength">
|
||
|
|
<number>4</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="m_pbInsert">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Insert</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="Line" name="line_2">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="m_pbFindFree">
|
||
|
|
<property name="text">
|
||
|
|
<string>Find free</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="m_pbStop">
|
||
|
|
<property name="enabled">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Stop</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="m_pbFocus">
|
||
|
|
<property name="text">
|
||
|
|
<string>Focus</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<spacer name="spacerOverOutputMessages">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Vertical</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeType">
|
||
|
|
<enum>QSizePolicy::MinimumExpanding</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>0</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QFrame" name="frmOutputMessages">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::Box</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Plain</enum>
|
||
|
|
</property>
|
||
|
|
<property name="lineWidth">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="midLineWidth">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="lblOutputMessages">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>Output messages:</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="m_lblOutputMessages">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<family>Consolas</family>
|
||
|
|
<pointsize>10</pointsize>
|
||
|
|
<weight>75</weight>
|
||
|
|
<bold>true</bold>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="contextMenuPolicy">
|
||
|
|
<enum>Qt::DefaultContextMenu</enum>
|
||
|
|
</property>
|
||
|
|
<property name="autoFillBackground">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true"/>
|
||
|
|
</property>
|
||
|
|
<property name="inputMethodHints">
|
||
|
|
<set>Qt::ImhNone</set>
|
||
|
|
</property>
|
||
|
|
<property name="frameShape">
|
||
|
|
<enum>QFrame::Box</enum>
|
||
|
|
</property>
|
||
|
|
<property name="frameShadow">
|
||
|
|
<enum>QFrame::Plain</enum>
|
||
|
|
</property>
|
||
|
|
<property name="lineWidth">
|
||
|
|
<number>1</number>
|
||
|
|
</property>
|
||
|
|
<property name="midLineWidth">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string notr="true"/>
|
||
|
|
</property>
|
||
|
|
<property name="textFormat">
|
||
|
|
<enum>Qt::RichText</enum>
|
||
|
|
</property>
|
||
|
|
<property name="wordWrap">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="margin">
|
||
|
|
<number>0</number>
|
||
|
|
</property>
|
||
|
|
<property name="textInteractionFlags">
|
||
|
|
<set>Qt::NoTextInteraction</set>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
<widget class="QTableView" name="m_tableView">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>0</x>
|
||
|
|
<y>0</y>
|
||
|
|
<width>500</width>
|
||
|
|
<height>250</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>300</width>
|
||
|
|
<height>200</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="editTriggers">
|
||
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||
|
|
</property>
|
||
|
|
<property name="tabKeyNavigation">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="showDropIndicator" stdset="0">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="dragDropOverwriteMode">
|
||
|
|
<bool>false</bool>
|
||
|
|
</property>
|
||
|
|
<property name="alternatingRowColors">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
<property name="selectionMode">
|
||
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
||
|
|
</property>
|
||
|
|
<property name="verticalScrollMode">
|
||
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="horizontalScrollMode">
|
||
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
||
|
|
</property>
|
||
|
|
<property name="gridStyle">
|
||
|
|
<enum>Qt::SolidLine</enum>
|
||
|
|
</property>
|
||
|
|
<attribute name="horizontalHeaderHighlightSections">
|
||
|
|
<bool>false</bool>
|
||
|
|
</attribute>
|
||
|
|
<attribute name="verticalHeaderHighlightSections">
|
||
|
|
<bool>false</bool>
|
||
|
|
</attribute>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
<tabstops>
|
||
|
|
<tabstop>m_tableView</tabstop>
|
||
|
|
<tabstop>m_rightScrollArea</tabstop>
|
||
|
|
<tabstop>m_rbChains</tabstop>
|
||
|
|
<tabstop>m_rbOpenAdressing</tabstop>
|
||
|
|
<tabstop>m_rbEquivalent</tabstop>
|
||
|
|
<tabstop>m_rbStandart</tabstop>
|
||
|
|
<tabstop>m_rbFNV1a32bit</tabstop>
|
||
|
|
<tabstop>m_rbLinearProbing</tabstop>
|
||
|
|
<tabstop>m_rbPseudorandomProbing</tabstop>
|
||
|
|
<tabstop>m_rbQuadraticProbing</tabstop>
|
||
|
|
<tabstop>m_rbDoubleHashing</tabstop>
|
||
|
|
<tabstop>m_sbFirstInputData</tabstop>
|
||
|
|
<tabstop>m_sbSecondInputData</tabstop>
|
||
|
|
<tabstop>m_sbBucketQuantity</tabstop>
|
||
|
|
<tabstop>m_pbReset</tabstop>
|
||
|
|
<tabstop>m_pbApply</tabstop>
|
||
|
|
<tabstop>m_pbStatistics</tabstop>
|
||
|
|
<tabstop>m_leFrom</tabstop>
|
||
|
|
<tabstop>m_sbQuantity</tabstop>
|
||
|
|
<tabstop>m_pbMakeItems</tabstop>
|
||
|
|
<tabstop>m_leInsert</tabstop>
|
||
|
|
<tabstop>m_pbInsert</tabstop>
|
||
|
|
<tabstop>m_pbFindFree</tabstop>
|
||
|
|
<tabstop>m_pbStop</tabstop>
|
||
|
|
<tabstop>m_pbFocus</tabstop>
|
||
|
|
</tabstops>
|
||
|
|
<resources/>
|
||
|
|
<connections>
|
||
|
|
<connection>
|
||
|
|
<sender>m_rbChains</sender>
|
||
|
|
<signal>clicked(bool)</signal>
|
||
|
|
<receiver>m_gbAlgorithm</receiver>
|
||
|
|
<slot>setDisabled(bool)</slot>
|
||
|
|
<hints>
|
||
|
|
<hint type="sourcelabel">
|
||
|
|
<x>861</x>
|
||
|
|
<y>45</y>
|
||
|
|
</hint>
|
||
|
|
<hint type="destinationlabel">
|
||
|
|
<x>858</x>
|
||
|
|
<y>225</y>
|
||
|
|
</hint>
|
||
|
|
</hints>
|
||
|
|
</connection>
|
||
|
|
<connection>
|
||
|
|
<sender>m_rbOpenAdressing</sender>
|
||
|
|
<signal>clicked(bool)</signal>
|
||
|
|
<receiver>m_gbAlgorithm</receiver>
|
||
|
|
<slot>setEnabled(bool)</slot>
|
||
|
|
<hints>
|
||
|
|
<hint type="sourcelabel">
|
||
|
|
<x>887</x>
|
||
|
|
<y>78</y>
|
||
|
|
</hint>
|
||
|
|
<hint type="destinationlabel">
|
||
|
|
<x>892</x>
|
||
|
|
<y>219</y>
|
||
|
|
</hint>
|
||
|
|
</hints>
|
||
|
|
</connection>
|
||
|
|
</connections>
|
||
|
|
</ui>
|