Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions GUI/defensiveGui.py

This file was deleted.

15 changes: 15 additions & 0 deletions defensiveGui.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
def btnSearchClick(self):
query = self.textEdit.toPlainText()
if query == "":
self.warnDialog = QtWidgets.QDialog()
uiDialog = warnDialog.Ui_form()
uiDialog.setupUI(self.warnDialog)
self.warnDialog.show()
return
self.Search = QtWidgets.QWidget()
ui = searchGui.Ui_Form()
ui.setupUi(self.Search)
ui.updateList(webScrapper.querySearch(query))
self.Search.show()


153 changes: 153 additions & 0 deletions isiNamaAnime.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>431</width>
<height>329</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>0</x>
<y>70</y>
<width>431</width>
<height>261</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>../Gambar/2048x1152.jpg</normaloff>../Gambar/2048x1152.jpg</iconset>
</property>
<property name="iconSize">
<size>
<width>500</width>
<height>500</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>431</width>
<height>261</height>
</rect>
</property>
<property name="font">
<font>
<family>Cooper Black</family>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>../Gambar/2048x1152.jpg</normaloff>../Gambar/2048x1152.jpg</iconset>
</property>
<property name="iconSize">
<size>
<width>500</width>
<height>500</height>
</size>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>160</x>
<y>40</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Cooper Black</family>
<pointsize>12</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>WARNING !!!</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>160</x>
<y>70</y>
<width>91</width>
<height>91</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<normaloff>../../OneDrive/Pictures/warning-symbol,-warning-sign-design-template-5becb2f6646d14a8076b36a92efb1db8_screen.jpg</normaloff>../../OneDrive/Pictures/warning-symbol,-warning-sign-design-template-5becb2f6646d14a8076b36a92efb1db8_screen.jpg</iconset>
</property>
<property name="iconSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>140</x>
<y>190</y>
<width>151</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Pencarian tidak boleh kosong</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>120</x>
<y>220</y>
<width>201</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Silakan isi nama anime yang ingin dicari</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>170</x>
<y>260</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Oke</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>