<height>473</height>
</rect>
</property>
- <property name="maximumSize">
- <size>
- <width>800</width>
- <height>600</height>
- </size>
- </property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<number>3</number>
</property>
<item>
- <widget class="My_Edit" name="e"/>
+ <widget class="My_Edit" name="e">
+ <property name="acceptDrops">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
<item>
<widget class="QTextEdit" name="msg">
<property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="title">
<string>Edit</string>
</property>
+ <addaction name="actionUndo"/>
+ <addaction name="actionRedo"/>
+ <addaction name="separator"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="actionCut"/>
<string>Properties</string>
</property>
</action>
+ <action name="actionUndo">
+ <property name="text">
+ <string>Undo</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Z</string>
+ </property>
+ </action>
+ <action name="actionRedo">
+ <property name="text">
+ <string>Redo</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Shift+Z</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>