Skip to content

Commit

Permalink
Remove InputWidget class and place a QTextEdit inside the chatWindow.…
Browse files Browse the repository at this point in the history
…ui file so future modifications can be made in that file instead of having to make them by hand. Also, this will help skining.
  • Loading branch information
alexandernst committed May 7, 2010
1 parent 2479256 commit 838991e
Show file tree
Hide file tree
Showing 2 changed files with 253 additions and 255 deletions.
82 changes: 43 additions & 39 deletions amsn2/ui/front_ends/qt4/chatWindow.ui
@@ -1,50 +1,51 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ChatWindow</class>
<widget class="QWidget" name="ChatWindow" >
<property name="geometry" >
<widget class="QWidget" name="ChatWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>559</width>
<height>445</height>
<width>726</width>
<height>623</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3" >
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QSplitter" name="splitter_2" >
<property name="orientation" >
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QSplitter" name="splitter" >
<property name="orientation" >
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QTextEdit" name="textEdit" >
<property name="undoRedoEnabled" >
<widget class="QTextEdit" name="textEdit">
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
<property name="textInteractionFlags" >
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
<widget class="QWidget" name="layoutWidget" >
<layout class="QVBoxLayout" name="verticalLayout" >
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<widget class="QLabel" name="label">
<property name="text">
<string>Something here...</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
Expand All @@ -53,68 +54,71 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<widget class="QLabel" name="label_2">
<property name="text">
<string>Contact image</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget" >
<layout class="QVBoxLayout" name="inputLayout" >
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="inputLayout">
<item>
<widget class="QToolBar" name="toolBar" >
<property name="minimumSize" >
<widget class="QToolBar" name="toolBar">
<property name="minimumSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="maximumSize" >
<property name="maximumSize">
<size>
<width>16777215</width>
<height>32</height>
</size>
</property>
<property name="sizeIncrement" >
<property name="sizeIncrement">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="baseSize" >
<property name="baseSize">
<size>
<width>0</width>
<height>32</height>
</size>
</property>
<property name="acceptDrops" >
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Quick Actions</string>
</property>
<property name="movable" >
<property name="movable">
<bool>false</bool>
</property>
<addaction name="actionInsert_Emoticon" />
<addaction name="actionNudge" />
<addaction name="actionInsert_Emoticon"/>
<addaction name="actionNudge"/>
</widget>
</item>
<item>
<widget class="QTextEdit" name="inputWidget"/>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
<action name="actionInsert_Emoticon" >
<property name="text" >
<action name="actionInsert_Emoticon">
<property name="text">
<string>Insert Emoticon</string>
</property>
</action>
<action name="actionNudge" >
<property name="text" >
<action name="actionNudge">
<property name="text">
<string>Nudge</string>
</property>
</action>
Expand Down

0 comments on commit 838991e

Please sign in to comment.