<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>SetAvatarDialog</class> | |
<widget class="QDialog" name="SetAvatarDialog"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>530</width> | |
<height>373</height> | |
</rect> | |
</property> | |
<property name="minimumSize"> | |
<size> | |
<width>530</width> | |
<height>373</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>530</width> | |
<height>373</height> | |
</size> | |
</property> | |
<property name="baseSize"> | |
<size> | |
<width>800</width> | |
<height>590</height> | |
</size> | |
</property> | |
<property name="windowTitle"> | |
<string>Change Your Avatar Image</string> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true"/> | |
</property> | |
<layout class="QVBoxLayout" name="verticalLayout"> | |
<item> | |
<layout class="QVBoxLayout" name="verticalLayout_2"> | |
<item> | |
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0,1"> | |
<item> | |
<spacer name="horizontalSpacer"> | |
<property name="orientation"> | |
<enum>Qt::Horizontal</enum> | |
</property> | |
<property name="sizeHint" stdset="0"> | |
<size> | |
<width>40</width> | |
<height>20</height> | |
</size> | |
</property> | |
</spacer> | |
</item> | |
<item> | |
<widget class="AvatarGraphicsView" name="graphicsView" native="true"> | |
<property name="sizePolicy"> | |
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | |
<horstretch>0</horstretch> | |
<verstretch>0</verstretch> | |
</sizepolicy> | |
</property> | |
<property name="minimumSize"> | |
<size> | |
<width>500</width> | |
<height>300</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>16777215</width> | |
<height>16777215</height> | |
</size> | |
</property> | |
<property name="cursor"> | |
<cursorShape>CrossCursor</cursorShape> | |
</property> | |
<property name="mouseTracking"> | |
<bool>true</bool> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true"/> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<spacer name="horizontalSpacer_2"> | |
<property name="orientation"> | |
<enum>Qt::Horizontal</enum> | |
</property> | |
<property name="sizeHint" stdset="0"> | |
<size> | |
<width>40</width> | |
<height>20</height> | |
</size> | |
</property> | |
</spacer> | |
</item> | |
</layout> | |
</item> | |
<item> | |
<spacer name="verticalSpacer"> | |
<property name="orientation"> | |
<enum>Qt::Vertical</enum> | |
</property> | |
<property name="sizeType"> | |
<enum>QSizePolicy::MinimumExpanding</enum> | |
</property> | |
<property name="sizeHint" stdset="0"> | |
<size> | |
<width>20</width> | |
<height>5</height> | |
</size> | |
</property> | |
</spacer> | |
</item> | |
<item> | |
<layout class="QHBoxLayout" name="horizontalLayout"> | |
<property name="spacing"> | |
<number>10</number> | |
</property> | |
<item> | |
<widget class="QPushButton" name="saveButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>80</width> | |
<height>30</height> | |
</size> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true">background: rgb(245, 245, 245); border: 0px; border-radius: 3px;</string> | |
</property> | |
<property name="text"> | |
<string>Save</string> | |
</property> | |
<property name="flat"> | |
<bool>false</bool> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="takePictureButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>80</width> | |
<height>30</height> | |
</size> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true">background: rgb(245, 245, 245); border: 0px; border-radius: 3px;</string> | |
</property> | |
<property name="text"> | |
<string>Take Picture</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="cameraButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>80</width> | |
<height>30</height> | |
</size> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true">background: rgb(245, 245, 245); border: 0px; border-radius: 3px;</string> | |
</property> | |
<property name="text"> | |
<string>Camera</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="selectFileButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>80</width> | |
<height>30</height> | |
</size> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true">background: rgb(245, 245, 245); border: 0px; border-radius: 3px;</string> | |
</property> | |
<property name="text"> | |
<string>Select A File</string> | |
</property> | |
<property name="flat"> | |
<bool>false</bool> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="cancelButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>80</width> | |
<height>30</height> | |
</size> | |
</property> | |
<property name="styleSheet"> | |
<string notr="true">background: rgb(245, 245, 245); border: 0px; border-radius: 3px;</string> | |
</property> | |
<property name="text"> | |
<string>Cancel</string> | |
</property> | |
<property name="flat"> | |
<bool>false</bool> | |
</property> | |
</widget> | |
</item> | |
</layout> | |
</item> | |
</layout> | |
</item> | |
</layout> | |
</widget> | |
<customwidgets> | |
<customwidget> | |
<class>AvatarGraphicsView</class> | |
<extends>QWidget</extends> | |
<header>avatargraphicsview.h</header> | |
</customwidget> | |
</customwidgets> | |
<resources/> | |
<connections/> | |
</ui> |