Skip to content

Commit

Permalink
Editar Pessoas alterado (#171)
Browse files Browse the repository at this point in the history
alteração na tela de editarPessoa. Adicionado o comboBox no campo de nome
  • Loading branch information
Tortugazil authored Dec 6, 2024
1 parent 3588357 commit 84838dd
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 35 deletions.
106 changes: 85 additions & 21 deletions App/view/ui/editarCurso.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,22 @@
<rect>
<x>0</x>
<y>0</y>
<width>826</width>
<height>678</height>
<width>1074</width>
<height>835</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1002</width>
<height>702</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1074</width>
<height>835</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
Expand Down Expand Up @@ -49,14 +61,30 @@
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>12</pointsize>
<pointsize>15</pointsize>
</font>
</property>
<property name="text">
<string>Editar Curso</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="sizePolicy">
Expand All @@ -76,7 +104,7 @@
<rect>
<x>340</x>
<y>129</y>
<width>141</width>
<width>311</width>
<height>31</height>
</rect>
</property>
Expand All @@ -89,23 +117,33 @@
<rect>
<x>340</x>
<y>106</y>
<width>81</width>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Nome do Curso</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>340</x>
<y>215</y>
<x>750</x>
<y>100</y>
<width>81</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Carga Horária</string>
</property>
Expand All @@ -115,10 +153,15 @@
<rect>
<x>70</x>
<y>104</y>
<width>81</width>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Oferta do Curso</string>
</property>
Expand Down Expand Up @@ -154,10 +197,15 @@
<rect>
<x>70</x>
<y>213</y>
<width>91</width>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Período do Curso</string>
</property>
Expand All @@ -167,7 +215,7 @@
<rect>
<x>70</x>
<y>241</y>
<width>101</width>
<width>111</width>
<height>31</height>
</rect>
</property>
Expand Down Expand Up @@ -196,9 +244,9 @@
<widget class="QComboBox" name="campoArea">
<property name="geometry">
<rect>
<x>600</x>
<y>130</y>
<width>151</width>
<x>340</x>
<y>238</y>
<width>311</width>
<height>31</height>
</rect>
</property>
Expand All @@ -212,8 +260,8 @@
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>600</x>
<y>92</y>
<x>340</x>
<y>200</y>
<width>51</width>
<height>31</height>
</rect>
Expand All @@ -227,7 +275,7 @@
<rect>
<x>70</x>
<y>130</y>
<width>151</width>
<width>171</width>
<height>31</height>
</rect>
</property>
Expand All @@ -243,7 +291,7 @@
<rect>
<x>340</x>
<y>360</y>
<width>141</width>
<width>151</width>
<height>31</height>
</rect>
</property>
Expand All @@ -260,9 +308,9 @@
<widget class="QSpinBox" name="cargaCurso">
<property name="geometry">
<rect>
<x>340</x>
<y>250</y>
<width>141</width>
<x>750</x>
<y>125</y>
<width>151</width>
<height>31</height>
</rect>
</property>
Expand All @@ -284,7 +332,7 @@
<rect>
<x>70</x>
<y>360</y>
<width>141</width>
<width>161</width>
<height>31</height>
</rect>
</property>
Expand All @@ -303,6 +351,22 @@
</widget>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnEditarCurso">
<property name="minimumSize">
Expand Down
27 changes: 13 additions & 14 deletions App/view/ui/editarPessoa.ui
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,6 @@ border-radius: 15px;
<string>TELEFONE:</string>
</property>
</widget>
<widget class="QLineEdit" name="nomePessoas">
<property name="geometry">
<rect>
<x>70</x>
<y>71</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="cpfCnpj">
<property name="geometry">
<rect>
Expand Down Expand Up @@ -238,6 +225,19 @@ border-radius: 15px;
</property>
</item>
</widget>
<widget class="QComboBox" name="nomePessoas">
<property name="geometry">
<rect>
<x>70</x>
<y>70</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
</widget>
</widget>
</item>
<item>
Expand All @@ -264,7 +264,6 @@ border-radius: 15px;
</layout>
</widget>
<tabstops>
<tabstop>nomePessoas</tabstop>
<tabstop>cpfCnpj</tabstop>
<tabstop>email</tabstop>
<tabstop>dataDeNascimento</tabstop>
Expand Down

0 comments on commit 84838dd

Please sign in to comment.