Advertisement
Guest User

Simple Edit Box

a guest
Feb 1st, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 20.49 KB | None | 0 0
  1.  
  2. #-------------------------------------------------
  3. #
  4. # Project created by QtCreator 2015-02-01T20:42:56
  5. #
  6. #-------------------------------------------------
  7.  
  8. QT       += core gui
  9.  
  10. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  11.  
  12. TARGET = editbox
  13. TEMPLATE = app
  14.  
  15.  
  16. SOURCES += main.cpp\
  17.         mainwindow.cpp
  18.  
  19. HEADERS  += mainwindow.h
  20.  
  21. FORMS    += mainwindow.ui
  22.  
  23.  
  24.  
  25.  
  26. <?xml version="1.0" encoding="UTF-8"?>
  27. <!DOCTYPE QtCreatorProject>
  28. <!-- Written by QtCreator 3.2.2, 2015-02-01T20:45:57. -->
  29. <qtcreator>
  30.  <data>
  31.   <variable>EnvironmentId</variable>
  32.   <value type="QByteArray">{33911e1e-788e-4d72-aa83-bc59780f3edc}</value>
  33.  </data>
  34.  <data>
  35.   <variable>ProjectExplorer.Project.ActiveTarget</variable>
  36.   <value type="int">0</value>
  37.  </data>
  38.  <data>
  39.   <variable>ProjectExplorer.Project.EditorSettings</variable>
  40.   <valuemap type="QVariantMap">
  41.    <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
  42.    <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
  43.    <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
  44.    <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
  45.     <value type="QString" key="language">Cpp</value>
  46.     <valuemap type="QVariantMap" key="value">
  47.      <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
  48.     </valuemap>
  49.    </valuemap>
  50.    <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
  51.     <value type="QString" key="language">QmlJS</value>
  52.     <valuemap type="QVariantMap" key="value">
  53.      <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
  54.     </valuemap>
  55.    </valuemap>
  56.    <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
  57.    <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
  58.    <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
  59.    <value type="int" key="EditorConfiguration.IndentSize">4</value>
  60.    <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
  61.    <value type="int" key="EditorConfiguration.MarginColumn">80</value>
  62.    <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
  63.    <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
  64.    <value type="int" key="EditorConfiguration.PaddingMode">1</value>
  65.    <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
  66.    <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
  67.    <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
  68.    <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
  69.    <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
  70.    <value type="int" key="EditorConfiguration.TabSize">8</value>
  71.    <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
  72.    <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
  73.    <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
  74.    <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
  75.    <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
  76.    <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
  77.   </valuemap>
  78.  </data>
  79.  <data>
  80.   <variable>ProjectExplorer.Project.PluginSettings</variable>
  81.   <valuemap type="QVariantMap"/>
  82.  </data>
  83.  <data>
  84.   <variable>ProjectExplorer.Project.Target.0</variable>
  85.   <valuemap type="QVariantMap">
  86.    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
  87.    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
  88.    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{94f8c54d-a1a5-41cc-832a-7a6cb7d0c2ad}</value>
  89.    <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
  90.    <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
  91.    <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
  92.    <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
  93.     <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/moceap/jnn/build-editbox-Desktop-Debug</value>
  94.     <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
  95.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  96.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  97.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
  98.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  99.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
  100.       <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
  101.       <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
  102.       <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
  103.       <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
  104.      </valuemap>
  105.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
  106.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  107.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  108.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  109.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  110.       <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
  111.        <value type="QString">-w</value>
  112.        <value type="QString">-r</value>
  113.       </valuelist>
  114.       <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
  115.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
  116.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  117.      </valuemap>
  118.      <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
  119.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
  120.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  121.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
  122.     </valuemap>
  123.     <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
  124.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  125.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  126.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  127.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  128.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  129.       <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
  130.        <value type="QString">-w</value>
  131.        <value type="QString">-r</value>
  132.       </valuelist>
  133.       <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
  134.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
  135.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  136.      </valuemap>
  137.      <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
  138.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
  139.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  140.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
  141.     </valuemap>
  142.     <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
  143.     <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
  144.     <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
  145.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
  146.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  147.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
  148.     <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
  149.     <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
  150.    </valuemap>
  151.    <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
  152.     <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/moceap/jnn/build-editbox-Desktop-Release</value>
  153.     <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
  154.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  155.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  156.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
  157.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  158.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
  159.       <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
  160.       <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
  161.       <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
  162.       <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
  163.      </valuemap>
  164.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
  165.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  166.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  167.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  168.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  169.       <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
  170.        <value type="QString">-w</value>
  171.        <value type="QString">-r</value>
  172.       </valuelist>
  173.       <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
  174.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
  175.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  176.      </valuemap>
  177.      <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
  178.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
  179.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  180.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
  181.     </valuemap>
  182.     <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
  183.      <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  184.       <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  185.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  186.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  187.       <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  188.       <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
  189.        <value type="QString">-w</value>
  190.        <value type="QString">-r</value>
  191.       </valuelist>
  192.       <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
  193.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
  194.       <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  195.      </valuemap>
  196.      <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
  197.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
  198.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  199.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
  200.     </valuemap>
  201.     <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
  202.     <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
  203.     <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
  204.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
  205.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  206.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
  207.     <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
  208.     <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
  209.    </valuemap>
  210.    <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
  211.    <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
  212.     <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
  213.      <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
  214.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
  215.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  216.      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
  217.     </valuemap>
  218.     <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
  219.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
  220.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  221.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
  222.    </valuemap>
  223.    <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
  224.    <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
  225.    <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
  226.     <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
  227.     <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
  228.     <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
  229.     <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
  230.     <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
  231.     <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
  232.     <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
  233.     <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
  234.     <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
  235.     <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
  236.     <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
  237.     <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
  238.     <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
  239.     <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
  240.     <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
  241.     <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
  242.     <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
  243.     <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
  244.      <value type="int">0</value>
  245.      <value type="int">1</value>
  246.      <value type="int">2</value>
  247.      <value type="int">3</value>
  248.      <value type="int">4</value>
  249.      <value type="int">5</value>
  250.      <value type="int">6</value>
  251.      <value type="int">7</value>
  252.      <value type="int">8</value>
  253.      <value type="int">9</value>
  254.      <value type="int">10</value>
  255.      <value type="int">11</value>
  256.      <value type="int">12</value>
  257.      <value type="int">13</value>
  258.      <value type="int">14</value>
  259.     </valuelist>
  260.     <value type="int" key="PE.EnvironmentAspect.Base">2</value>
  261.     <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
  262.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">editbox</value>
  263.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  264.     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/moceap/jnn/editbox/editbox.pro</value>
  265.     <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
  266.     <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">editbox.pro</value>
  267.     <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
  268.     <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
  269.     <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
  270.     <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
  271.     <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
  272.     <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
  273.     <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
  274.     <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
  275.     <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
  276.    </valuemap>
  277.    <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
  278.   </valuemap>
  279.  </data>
  280.  <data>
  281.   <variable>ProjectExplorer.Project.TargetCount</variable>
  282.   <value type="int">1</value>
  283.  </data>
  284.  <data>
  285.   <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
  286.   <value type="int">16</value>
  287.  </data>
  288.  <data>
  289.   <variable>Version</variable>
  290.   <value type="int">16</value>
  291.  </data>
  292. </qtcreator>
  293.  
  294.  
  295.  
  296.  
  297. #include "mainwindow.h"
  298. #include <QApplication>
  299.  
  300. int main(int argc, char *argv[])
  301. {
  302.     QApplication a(argc, argv);
  303.     MainWindow w;
  304.     w.show();
  305.  
  306.     return a.exec();
  307. }
  308.  
  309.  
  310.  
  311.  
  312. #include "mainwindow.h"
  313. #include "ui_mainwindow.h"
  314.  
  315. MainWindow::MainWindow(QWidget *parent) :
  316.     QMainWindow(parent),
  317.     ui(new Ui::MainWindow)
  318. {
  319.     ui->setupUi(this);
  320. }
  321.  
  322. MainWindow::~MainWindow()
  323. {
  324.     delete ui;
  325. }
  326.  
  327.  
  328.  
  329.  
  330. #ifndef MAINWINDOW_H
  331. #define MAINWINDOW_H
  332.  
  333. #include <QMainWindow>
  334.  
  335. namespace Ui {
  336. class MainWindow;
  337. }
  338.  
  339. class MainWindow : public QMainWindow
  340. {
  341.     Q_OBJECT
  342.  
  343. public:
  344.     explicit MainWindow(QWidget *parent = 0);
  345.     ~MainWindow();
  346.  
  347. private:
  348.     Ui::MainWindow *ui;
  349. };
  350.  
  351. #endif // MAINWINDOW_H
  352.  
  353.  
  354.  
  355.  
  356. <?xml version="1.0" encoding="UTF-8"?>
  357. <ui version="4.0">
  358.  <class>MainWindow</class>
  359.  <widget class="QMainWindow" name="MainWindow">
  360.   <property name="geometry">
  361.    <rect>
  362.     <x>0</x>
  363.     <y>0</y>
  364.     <width>400</width>
  365.     <height>300</height>
  366.    </rect>
  367.   </property>
  368.   <property name="windowTitle">
  369.    <string>MainWindow</string>
  370.   </property>
  371.   <widget class="QWidget" name="centralWidget">
  372.    <widget class="QTextEdit" name="textEdit">
  373.     <property name="geometry">
  374.      <rect>
  375.       <x>20</x>
  376.       <y>30</y>
  377.       <width>371</width>
  378.       <height>191</height>
  379.      </rect>
  380.     </property>
  381.    </widget>
  382.   </widget>
  383.   <widget class="QMenuBar" name="menuBar">
  384.    <property name="geometry">
  385.     <rect>
  386.      <x>0</x>
  387.      <y>0</y>
  388.      <width>400</width>
  389.      <height>26</height>
  390.     </rect>
  391.    </property>
  392.   </widget>
  393.   <widget class="QToolBar" name="mainToolBar">
  394.    <attribute name="toolBarArea">
  395.     <enum>TopToolBarArea</enum>
  396.    </attribute>
  397.    <attribute name="toolBarBreak">
  398.     <bool>false</bool>
  399.    </attribute>
  400.   </widget>
  401.   <widget class="QStatusBar" name="statusBar"/>
  402.  </widget>
  403.  <layoutdefault spacing="6" margin="11"/>
  404.  <resources/>
  405.  <connections/>
  406. </ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement