modif file
This commit is contained in:
		
							
								
								
									
										460
									
								
								client/main.ui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										460
									
								
								client/main.ui
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,460 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<ui version="4.0">
 | 
			
		||||
 <class>MainWindow</class>
 | 
			
		||||
 <widget class="QMainWindow" name="MainWindow">
 | 
			
		||||
  <property name="geometry">
 | 
			
		||||
   <rect>
 | 
			
		||||
    <x>0</x>
 | 
			
		||||
    <y>0</y>
 | 
			
		||||
    <width>800</width>
 | 
			
		||||
    <height>567</height>
 | 
			
		||||
   </rect>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="maximumSize">
 | 
			
		||||
   <size>
 | 
			
		||||
    <width>800</width>
 | 
			
		||||
    <height>567</height>
 | 
			
		||||
   </size>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="windowTitle">
 | 
			
		||||
   <string>MainWindow</string>
 | 
			
		||||
  </property>
 | 
			
		||||
  <widget class="QWidget" name="centralwidget">
 | 
			
		||||
   <widget class="QTextEdit" name="txtOutput">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>10</x>
 | 
			
		||||
      <y>150</y>
 | 
			
		||||
      <width>561</width>
 | 
			
		||||
      <height>361</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="minimumSize">
 | 
			
		||||
     <size>
 | 
			
		||||
      <width>400</width>
 | 
			
		||||
      <height>0</height>
 | 
			
		||||
     </size>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="font">
 | 
			
		||||
     <font>
 | 
			
		||||
      <family>Arial</family>
 | 
			
		||||
      <pointsize>14</pointsize>
 | 
			
		||||
      <italic>false</italic>
 | 
			
		||||
     </font>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="focusPolicy">
 | 
			
		||||
     <enum>Qt::NoFocus</enum>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="acceptDrops">
 | 
			
		||||
     <bool>false</bool>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="styleSheet">
 | 
			
		||||
     <string notr="true">      position: relative;
 | 
			
		||||
      border-radius: 2px;
 | 
			
		||||
      font-size: 0.9em;
 | 
			
		||||
background-color: #FAFAFA;
 | 
			
		||||
      color: #646464;</string>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="frameShape">
 | 
			
		||||
     <enum>QFrame::NoFrame</enum>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="verticalScrollBarPolicy">
 | 
			
		||||
     <enum>Qt::ScrollBarAsNeeded</enum>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="html">
 | 
			
		||||
     <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
 | 
			
		||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
 | 
			
		||||
p, li { white-space: pre-wrap; }
 | 
			
		||||
</style></head><body style=" font-family:'Arial'; font-size:14pt; font-weight:400; font-style:normal;">
 | 
			
		||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Inconsolata';"><br /></p></body></html></string>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="textInteractionFlags">
 | 
			
		||||
     <set>Qt::TextBrowserInteraction</set>
 | 
			
		||||
    </property>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <widget class="QWidget" name="horizontalLayoutWidget_2">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>10</x>
 | 
			
		||||
      <y>40</y>
 | 
			
		||||
      <width>781</width>
 | 
			
		||||
      <height>51</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <layout class="QHBoxLayout" name="horizontalLayout_2">
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLabel" name="label_3">
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>IP : </string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLineEdit" name="lineEdit_4">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">    border: solid 1px #ccc;
 | 
			
		||||
    font-size:15px;
 | 
			
		||||
    background-color:rgb(255, 255, 255);</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="inputMask">
 | 
			
		||||
        <string/>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>127.0.0.1</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLabel" name="label_4">
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Port :</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLineEdit" name="lineEdit_3">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">    border: solid 1px #ccc;
 | 
			
		||||
    font-size:15px;
 | 
			
		||||
    background-color:rgb(255, 255, 255);</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>2222</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLabel" name="label_5">
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Pseudo :</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLineEdit" name="lineEdit_2">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">    border: solid 1px #ccc;
 | 
			
		||||
    font-size:15px;
 | 
			
		||||
    background-color:rgb(255, 255, 255);</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>anonymous</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QPushButton" name="pushButton_6">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: #3498db;
 | 
			
		||||
  border: 0;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
  padding: 2px 10px 2px 10px;
 | 
			
		||||
</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Change pseudo</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QPushButton" name="pushButton_3">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: #3498db;
 | 
			
		||||
  border: 0;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
  padding: 2px 10px 2px 10px;</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Disconnect</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QPushButton" name="pushButton_2">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: #3498db;
 | 
			
		||||
  border: 0;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
  padding: 2px 10px 2px 10px;</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Connect</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
    </layout>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <widget class="QLabel" name="label_2">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>10</x>
 | 
			
		||||
      <y>10</y>
 | 
			
		||||
      <width>171</width>
 | 
			
		||||
      <height>31</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="font">
 | 
			
		||||
     <font>
 | 
			
		||||
      <pointsize>16</pointsize>
 | 
			
		||||
      <weight>75</weight>
 | 
			
		||||
      <bold>true</bold>
 | 
			
		||||
     </font>
 | 
			
		||||
    </property>
 | 
			
		||||
    <property name="text">
 | 
			
		||||
     <string>Welcome to DNC</string>
 | 
			
		||||
    </property>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <widget class="QWidget" name="horizontalLayoutWidget">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>10</x>
 | 
			
		||||
      <y>520</y>
 | 
			
		||||
      <width>781</width>
 | 
			
		||||
      <height>41</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <layout class="QHBoxLayout" name="horizontalLayout">
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLineEdit" name="lineEdit">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">    border: solid 1px #ccc;
 | 
			
		||||
    font-size:20px;
 | 
			
		||||
    background-color:rgb(255, 255, 255);</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QPushButton" name="pushButton">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">QPushButton {
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: #3498db;
 | 
			
		||||
  border: 0;
 | 
			
		||||
  padding: 2px 10px 2px 10px;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QPushButton : !enabled { 
 | 
			
		||||
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: rgb(255, 255, 255);
 | 
			
		||||
  border: 0;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
 | 
			
		||||
}</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="inputMethodHints">
 | 
			
		||||
        <set>Qt::ImhNone</set>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Send message</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="default">
 | 
			
		||||
        <bool>false</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="flat">
 | 
			
		||||
        <bool>false</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
    </layout>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <widget class="QWidget" name="horizontalLayoutWidget_3">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>10</x>
 | 
			
		||||
      <y>100</y>
 | 
			
		||||
      <width>561</width>
 | 
			
		||||
      <height>40</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <layout class="QHBoxLayout" name="horizontalLayout_3">
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QPushButton" name="pushButton_5">
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">
 | 
			
		||||
  vertical-align: top;
 | 
			
		||||
  color: white;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  background: #3498db;
 | 
			
		||||
  border: 0;
 | 
			
		||||
  border-bottom: 2px solid #2a8bcc;
 | 
			
		||||
  padding: 2px 10px 2px 10px;</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Away From Keyboard</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
    </layout>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <widget class="QWidget" name="verticalLayoutWidget">
 | 
			
		||||
    <property name="geometry">
 | 
			
		||||
     <rect>
 | 
			
		||||
      <x>590</x>
 | 
			
		||||
      <y>100</y>
 | 
			
		||||
      <width>201</width>
 | 
			
		||||
      <height>411</height>
 | 
			
		||||
     </rect>
 | 
			
		||||
    </property>
 | 
			
		||||
    <layout class="QVBoxLayout" name="verticalLayout">
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QLabel" name="label">
 | 
			
		||||
       <property name="font">
 | 
			
		||||
        <font>
 | 
			
		||||
         <pointsize>16</pointsize>
 | 
			
		||||
         <weight>75</weight>
 | 
			
		||||
         <bold>true</bold>
 | 
			
		||||
        </font>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="text">
 | 
			
		||||
        <string>Nick list</string>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QListWidget" name="listNames">
 | 
			
		||||
       <property name="minimumSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>50</width>
 | 
			
		||||
         <height>0</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="maximumSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>200</width>
 | 
			
		||||
         <height>16777215</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="baseSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>0</width>
 | 
			
		||||
         <height>0</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="font">
 | 
			
		||||
        <font>
 | 
			
		||||
         <family>Cantarell</family>
 | 
			
		||||
         <pointsize>14</pointsize>
 | 
			
		||||
         <weight>75</weight>
 | 
			
		||||
         <italic>false</italic>
 | 
			
		||||
         <bold>true</bold>
 | 
			
		||||
         <strikeout>false</strikeout>
 | 
			
		||||
         <stylestrategy>PreferAntialias</stylestrategy>
 | 
			
		||||
        </font>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="focusPolicy">
 | 
			
		||||
        <enum>Qt::NoFocus</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="acceptDrops">
 | 
			
		||||
        <bool>false</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">
 | 
			
		||||
      position: relative;
 | 
			
		||||
      border-radius: 2px;
 | 
			
		||||
      font-size: 0.9em;
 | 
			
		||||
background-color: #DEDEDE;
 | 
			
		||||
      color: #646464;</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="frameShape">
 | 
			
		||||
        <enum>QFrame::NoFrame</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="frameShadow">
 | 
			
		||||
        <enum>QFrame::Sunken</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="lineWidth">
 | 
			
		||||
        <number>1</number>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="horizontalScrollBarPolicy">
 | 
			
		||||
        <enum>Qt::ScrollBarAlwaysOff</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="sortingEnabled">
 | 
			
		||||
        <bool>true</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item>
 | 
			
		||||
      <widget class="QListWidget" name="listNames_2">
 | 
			
		||||
       <property name="minimumSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>50</width>
 | 
			
		||||
         <height>0</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="maximumSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>200</width>
 | 
			
		||||
         <height>16777215</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="baseSize">
 | 
			
		||||
        <size>
 | 
			
		||||
         <width>0</width>
 | 
			
		||||
         <height>0</height>
 | 
			
		||||
        </size>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="font">
 | 
			
		||||
        <font>
 | 
			
		||||
         <family>Cantarell</family>
 | 
			
		||||
         <pointsize>14</pointsize>
 | 
			
		||||
         <weight>50</weight>
 | 
			
		||||
         <italic>false</italic>
 | 
			
		||||
         <bold>false</bold>
 | 
			
		||||
         <strikeout>true</strikeout>
 | 
			
		||||
         <stylestrategy>PreferAntialias</stylestrategy>
 | 
			
		||||
        </font>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="focusPolicy">
 | 
			
		||||
        <enum>Qt::NoFocus</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="acceptDrops">
 | 
			
		||||
        <bool>false</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="styleSheet">
 | 
			
		||||
        <string notr="true">      position: relative;
 | 
			
		||||
      border-radius: 2px;
 | 
			
		||||
      font-size: 0.9em;
 | 
			
		||||
background-color: #DEDEDE;
 | 
			
		||||
      color: #646464;</string>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="frameShape">
 | 
			
		||||
        <enum>QFrame::NoFrame</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="frameShadow">
 | 
			
		||||
        <enum>QFrame::Sunken</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="lineWidth">
 | 
			
		||||
        <number>1</number>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="horizontalScrollBarPolicy">
 | 
			
		||||
        <enum>Qt::ScrollBarAlwaysOff</enum>
 | 
			
		||||
       </property>
 | 
			
		||||
       <property name="sortingEnabled">
 | 
			
		||||
        <bool>true</bool>
 | 
			
		||||
       </property>
 | 
			
		||||
      </widget>
 | 
			
		||||
     </item>
 | 
			
		||||
    </layout>
 | 
			
		||||
   </widget>
 | 
			
		||||
  </widget>
 | 
			
		||||
 </widget>
 | 
			
		||||
 <resources/>
 | 
			
		||||
 <connections/>
 | 
			
		||||
</ui>
 | 
			
		||||
		Reference in New Issue
	
	Block a user