~roeldeconinck/mnemosyne-proj/import

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/pyqt_ui/remove_tags_dlg.py

  • Committer: Peter Bienstman
  • Date: 2011-08-26 17:32:52 UTC
  • Revision ID: peter.bienstman@ugent.be-20110826173252-2t6lutikbqzn2pmt
-when detecting missing media, only warn once, and give all the affected cards a 
 'MISSING_MEDIA' tag, so that you can find them back later. 
 (from a bug report by Dandelo)
-dialogs now have max/min button under windows
-the main dialogs not only save their size, but also their position

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    def __init__(self, parent, tags, return_values):
13
13
        QtGui.QDialog.__init__(self, parent)
14
14
        self.setupUi(self)
 
15
        self.setWindowFlags(self.windowFlags() \
 
16
            | QtCore.Qt.WindowMinMaxButtonsHint)
 
17
        self.setWindowFlags(self.windowFlags() \
 
18
            & ~ QtCore.Qt.WindowContextHelpButtonHint) 
15
19
        self.return_values = return_values
16
20
        for tag in tags:
17
21
            if tag.name != "__UNTAGGED__":