1
0
ミラー元 https://github.com/arsenetar/dupeguru.git 前回の同期 2025-07-12 01:33:20 +00:00

qt: remove UI testapp

このコミットが含まれているのは:
Virgil Dupras 2016-05-31 20:23:09 -04:00
コミット 7256adb4d4
2個のファイルの変更1行の追加34行の削除

ファイルの表示

@ -9,7 +9,7 @@
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
QDialog, QVBoxLayout, QHBoxLayout, QPushButton, QSpacerItem, QSizePolicy,
QLabel, QTableView, QAbstractItemView, QApplication
QLabel, QTableView, QAbstractItemView
)
from hscommon.trans import trget
@ -63,12 +63,3 @@ class ProblemDialog(QDialog):
self.horizontalLayout.addWidget(self.closeButton)
self.verticalLayout.addLayout(self.horizontalLayout)
if __name__ == '__main__':
import sys
from ..testapp import TestApp
app = QApplication([])
dgapp = TestApp()
dialog = ProblemDialog(None, dgapp)
dialog.show()
sys.exit(app.exec_())

ファイルの表示

@ -1,24 +0,0 @@
# -*- coding: utf-8 -*-
# Created By: Virgil Dupras
# Created On: 2010-10-04
# Copyright 2015 Hardcoded Software (http://www.hardcoded.net)
#
# This software is licensed under the "HS" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/hs_license
from qtlib.recent import Recent
from .se.app import DupeGuru
class TestApp(DupeGuru):
# Use this for as a mock for UI testing.
def mustShowNag(self):
pass
def _setup(self):
self.prefs = self._create_preferences()
self.prefs.load()
self.recentResults = Recent(self, 'recentResults')
self._setupActions()