def __build_advancedtab(self):
        ''' builds and returns the "Advanced" Tab for the TabControl '''

        tabpage = TabPage()
        tabpage.Text = i18n.get("ConfigFormAdvancedTab")

        # 1. --- a description label for this tabpage
        label = Label()
        label.UseMnemonic = False
        label.AutoSize = True
        label.Location = Point(14, 25)
        label.Size = Size(299, 17)
        label.Text = i18n.get("ConfigFormAdvancedText")

        # 2. --- build the update checklist (contains all the 'data' checkboxes)
        tbox = RichTextBox()
        tbox.Multiline = True
        tbox.MaxLength = 65536
        tbox.WordWrap = True
        tbox.Location = Point(15, 50)
        tbox.Size = Size(355, 200)

        menu = ContextMenu()
        items = menu.MenuItems
        items.Add(MenuItem(i18n.get("TextCut"), lambda s, ea: tbox.Cut()))
        items.Add(MenuItem(i18n.get("TextCopy"), lambda s, ea: tbox.Copy()))
        items.Add(MenuItem(i18n.get("TextPaste"), lambda s, ea: tbox.Paste()))
        tbox.ContextMenu = menu
        self.__advanced_tbox = tbox

        # 3. --- add 'em all to the tabpage
        tabpage.Controls.Add(label)
        tabpage.Controls.Add(self.__advanced_tbox)

        return tabpage
Exemple #2
0
def make_page(name, title, index, padding=0):
    page = TabPage()
    page.BackColor = Color.White
    page.Dock = DockStyle.Fill
    page.Padding = Padding(padding)
    page.TabIndex = index
    page.Text = title
    return page
Exemple #3
0
 def add_page(self, index, name, title, padding=0):
     page = TabPage()
     page.BackColor = Color.White
     page.Dock = DockStyle.Fill
     page.Padding = Padding(padding)
     page.TabIndex = index
     page.Text = title
     self.tabs.Controls.Add(page)
    def __build_comicvinetab(self):
        ''' builds and returns the "ComicVine" Tab for the TabControl '''

        tabpage = TabPage()
        tabpage.Text = i18n.get("ConfigFormComicVineTab")
        tabpage.Name = "comicvine"

        # 1. --- a description label for this tabpage
        label = Label()
        label.UseMnemonic = False
        label.AutoSize = False
        label.Location = Point(34, 80)
        label.Size = Size(315, 54)
        label.Text = i18n.get("ConfigFormComicVineText")

        # 2. --- the API key text box
        fired_update_gui = self.__fired_update_gui

        class ApiKeyTextBox(TextBox):
            def OnTextChanged(self, args):
                fired_update_gui()

        self.__api_key_tbox = ApiKeyTextBox()
        tbox = self.__api_key_tbox
        tbox.Location = Point(34, 135)
        tbox.Size = Size(315, 1)

        menu = ContextMenu()
        items = menu.MenuItems
        items.Add(MenuItem(i18n.get("TextCut"), lambda s, ea: tbox.Cut()))
        items.Add(MenuItem(i18n.get("TextCopy"), lambda s, ea: tbox.Copy()))
        items.Add(MenuItem(i18n.get("TextPaste"), lambda s, ea: tbox.Paste()))
        tbox.ContextMenu = menu

        # 3. --- add a clickable link to send the user to ComicVine
        linklabel = LinkLabel()
        linklabel.UseMnemonic = False
        linklabel.AutoSize = False
        linklabel.Location = Point(34, 170)
        linklabel.Size = Size(315, 34)
        linklabel.Text = i18n.get("ConfigFormComicVineClickHere")
        linklabel.LinkClicked += self.__fired_linkclicked

        # 4. --- add 'em all to this tabpage
        tabpage.Controls.Add(label)
        tabpage.Controls.Add(tbox)
        tabpage.Controls.Add(linklabel)

        return tabpage
 def __build_comicvinetab(self):
    ''' builds and returns the "ComicVine" Tab for the TabControl '''
    
    tabpage = TabPage()
    tabpage.Text = i18n.get("ConfigFormComicVineTab")
    tabpage.Name = "comicvine"
    
    # 1. --- a description label for this tabpage
    label = Label()
    label.UseMnemonic = False
    label.AutoSize = False
    label.Location = Point(34, 80)
    label.Size = Size(315, 54)
    label.Text = i18n.get("ConfigFormComicVineText")
    
    # 2. --- the API key text box 
    fired_update_gui = self.__fired_update_gui
    class ApiKeyTextBox(TextBox):
       def OnTextChanged(self, args):
          fired_update_gui()
          
    self.__api_key_tbox = ApiKeyTextBox()
    tbox = self.__api_key_tbox
    tbox.Location = Point(34, 135)
    tbox.Size = Size(315, 1)
    
    menu = ContextMenu()
    items = menu.MenuItems
    items.Add( MenuItem(i18n.get("TextCut"), lambda s, ea : tbox.Cut() ) )
    items.Add( MenuItem(i18n.get("TextCopy"), lambda s, ea : tbox.Copy() ) )
    items.Add( MenuItem(i18n.get("TextPaste"), lambda s, ea : tbox.Paste() ) )
    tbox.ContextMenu = menu
    
    # 3. --- add a clickable link to send the user to ComicVine
    linklabel = LinkLabel()
    linklabel.UseMnemonic = False
    linklabel.AutoSize = False
    linklabel.Location = Point(34, 170) 
    linklabel.Size = Size(315, 34)
    linklabel.Text = i18n.get("ConfigFormComicVineClickHere")
    linklabel.LinkClicked += self.__fired_linkclicked
    
    # 4. --- add 'em all to this tabpage
    tabpage.Controls.Add(label)
    tabpage.Controls.Add(tbox)
    tabpage.Controls.Add(linklabel)
    
    return tabpage
Exemple #6
0
    def addTabPage(self, label, text):
        tabPage = TabPage()
        tabPage.Text = label

        textBox = TextBox()
        textBox.Multiline = True
        textBox.Dock = DockStyle.Fill
        textBox.ScrollBars = ScrollBars.Vertical
        textBox.AcceptsReturn = True
        textBox.AcceptsTab = True
        textBox.WordWrap = True
        textBox.Text = text

        tabPage.Controls.Add(textBox)
        
        self.tabControl.TabPages.Add(tabPage)
Exemple #7
0
    def createTab(self, image, filePath=None):
        if filePath is not None:
            name = Path.GetFileName(filePath)
            directory = Path.GetDirectoryName(filePath)
        else:
            name = "CLIPBOARD"
            directory = None

        tabPage = TabPage()
        tabPage.Text = name
        panel = ScrollableImagePanel(self.getPictureBox(image))
        panel.KeyDown += self.onKeyDown
        tabPage.Controls.Add(panel)

        self.tabControl.TabPages.Add(tabPage)
        self.tabControl.SelectedTab = tabPage

        self.paths.insert(self.tabControl.SelectedIndex, (name, directory))
 def __build_advancedtab(self):
    ''' builds and returns the "Advanced" Tab for the TabControl '''
    
    tabpage = TabPage()
    tabpage.Text = i18n.get("ConfigFormAdvancedTab")
    
    
    # 1. --- a description label for this tabpage
    label = Label()
    label.UseMnemonic = False
    label.AutoSize = True
    label.Location = Point(14, 25)
    label.Size = Size(299, 17)
    label.Text = i18n.get("ConfigFormAdvancedText")
    
    
    # 2. --- build the update checklist (contains all the 'data' checkboxes)
    tbox = RichTextBox()
    tbox.Multiline=True
    tbox.MaxLength=65536
    tbox.WordWrap = True
    tbox.Location = Point(15, 50)
    tbox.Size = Size(355, 200)
    
    menu = ContextMenu()
    items = menu.MenuItems
    items.Add( MenuItem(i18n.get("TextCut"), lambda s, ea : tbox.Cut() ) )
    items.Add( MenuItem(i18n.get("TextCopy"), lambda s, ea : tbox.Copy() ) )
    items.Add( MenuItem(i18n.get("TextPaste"), lambda s, ea : tbox.Paste() ) )
    tbox.ContextMenu = menu
    self.__advanced_tbox = tbox
    
    # 3. --- add 'em all to the tabpage 
    tabpage.Controls.Add(label)
    tabpage.Controls.Add(self.__advanced_tbox)
    
    return tabpage
 def __build_datatab(self):
    ''' builds and returns the "Data" Tab for the TabControl '''
    
    tabpage = TabPage()
    tabpage.Text = i18n.get("ConfigFormDataTab")
    
    # 1. --- build the 'convert imprints checkbox'
    self.__convert_imprints_cb = CheckBox()
    self.__convert_imprints_cb.AutoSize = False
    self.__convert_imprints_cb.FlatStyle = FlatStyle.System
    self.__convert_imprints_cb.Location = Point(52, 35)
    self.__convert_imprints_cb.Size = Size(300, 34)
    self.__convert_imprints_cb.Text = i18n.get("ConfigFormImprintsCB")
    self.__convert_imprints_cb.CheckedChanged += self.__fired_update_gui
     
    # 2. -- build the 'overwrite existing' checkbox
    self.__ow_existing_cb = CheckBox()
    self.__ow_existing_cb.AutoSize = False
    self.__ow_existing_cb.FlatStyle = FlatStyle.System
    self.__ow_existing_cb.Location = Point(52, 85)
    self.__ow_existing_cb.Size = Size(310, 34)
    self.__ow_existing_cb.Text = i18n.get("ConfigFormOverwriteCB")
    self.__ow_existing_cb.CheckedChanged += self.__fired_update_gui 
 
    # 3. --- build the 'ignore blanks' checkbox
    self.__ignore_blanks_cb = CheckBox()                                          
    self.__ignore_blanks_cb.AutoSize = False                                       
    self.__ignore_blanks_cb.FlatStyle = FlatStyle.System                          
    self.__ignore_blanks_cb.Location = Point(82, 125)                             
    self.__ignore_blanks_cb.Size = Size(270, 34)                                  
    self.__ignore_blanks_cb.TextAlign = ContentAlignment.TopLeft                                  
    self.__ignore_blanks_cb.Text = i18n.get("ConfigFormOverwriteEmptyCB")                  
    self.__ignore_blanks_cb.CheckedChanged += self.__fired_update_gui 
 
    # 4. --- build the 'download thumbnails' checkbox
    self.__download_thumbs_cb = CheckBox()
    self.__download_thumbs_cb.AutoSize = False
    self.__download_thumbs_cb.FlatStyle = FlatStyle.System
    self.__download_thumbs_cb.Location = Point(52, 165)
    self.__download_thumbs_cb.Size = Size(300, 34)
    self.__download_thumbs_cb.Text = i18n.get("ConfigFormFilelessCB")
    self.__download_thumbs_cb.CheckedChanged += self.__fired_update_gui
    
    # 5. --- build the 'preserve thumbnails' checkbox
    self.__preserve_thumbs_cb = CheckBox()
    self.__preserve_thumbs_cb.AutoSize = False
    self.__preserve_thumbs_cb.FlatStyle = FlatStyle.System
    self.__preserve_thumbs_cb.Location = Point(82, 205)
    self.__preserve_thumbs_cb.Size = Size(270, 34)
    self.__preserve_thumbs_cb.TextAlign = ContentAlignment.TopLeft
    self.__preserve_thumbs_cb.Text = i18n.get("ConfigFormFilelessOverwriteCB")
    self.__preserve_thumbs_cb.CheckedChanged += self.__fired_update_gui
          
    # 6. --- add 'em all to the tabpage 
    tabpage.Controls.Add(self.__ow_existing_cb)
    tabpage.Controls.Add(self.__ignore_blanks_cb)
    tabpage.Controls.Add(self.__convert_imprints_cb)
    tabpage.Controls.Add(self.__download_thumbs_cb)
    tabpage.Controls.Add(self.__preserve_thumbs_cb)
    
    return tabpage
 def __build_behaviourtab(self):
    ''' builds and returns the "Behaviour" Tab for the TabControl '''
    
    tabpage = TabPage()
    tabpage.Text = i18n.get("ConfigFormBehaviourTab")
    
    # 1. --- build the 'When scraping for the first time' label
    first_scrape_label = Label()
    first_scrape_label.AutoSize = False
    first_scrape_label.FlatStyle = FlatStyle.System
    first_scrape_label.Location = Point(52, 27)
    first_scrape_label.Text = i18n.get("ConfigFormFirstScrapeLabel")
    first_scrape_label.Size = Size(300, 17)
    
    # 1. --- build the 'autochoose series' checkbox
    self.__autochoose_series_cb = CheckBox()
    self.__autochoose_series_cb.AutoSize = False
    self.__autochoose_series_cb.FlatStyle = FlatStyle.System
    self.__autochoose_series_cb.Location = Point(82, 45)
    self.__autochoose_series_cb.Size = Size(300, 34)
    self.__autochoose_series_cb.Text =i18n.get("ConfigFormAutochooseSeriesCB")
    self.__autochoose_series_cb.CheckedChanged += self.__fired_update_gui
     
    # 2. --- build the 'confirm issue' checkbox
    self.__confirm_issue_cb = CheckBox()
    self.__confirm_issue_cb.AutoSize = False
    self.__confirm_issue_cb.FlatStyle = FlatStyle.System
    self.__confirm_issue_cb.Location = Point(82, 75)
    self.__confirm_issue_cb.Size = Size(300, 34)
    self.__confirm_issue_cb.Text = i18n.get("ConfigFormConfirmIssueCB")
    self.__confirm_issue_cb.CheckedChanged += self.__fired_update_gui
    
    # 3. -- build the 'use fast rescrape' checkbox
    self.__fast_rescrape_cb = CheckBox()
    self.__fast_rescrape_cb.AutoSize = False
    self.__fast_rescrape_cb.FlatStyle = FlatStyle.System
    self.__fast_rescrape_cb.Location = Point(52, 116)
    self.__fast_rescrape_cb.Size = Size(300, 34)
    self.__fast_rescrape_cb.Text = i18n.get("ConfigFormRescrapeCB")
    self.__fast_rescrape_cb.CheckedChanged += self.__fired_update_gui
    
    # 4. -- build the 'add rescrape hints to notes' checkbox
    self.__rescrape_notes_cb = CheckBox()
    self.__rescrape_notes_cb.AutoSize = False
    self.__rescrape_notes_cb.FlatStyle = FlatStyle.System
    self.__rescrape_notes_cb.Location = Point(82, 151)
    self.__rescrape_notes_cb.Size = Size(270, 17)
    self.__rescrape_notes_cb.Text = i18n.get("ConfigFormRescrapeNotesCB")
    self.__rescrape_notes_cb.CheckedChanged += self.__fired_update_gui
    
    # 5. -- build the 'add rescrape hints to tags' checkbox
    self.__rescrape_tags_cb = CheckBox()
    self.__rescrape_tags_cb.AutoSize = False
    self.__rescrape_tags_cb.FlatStyle = FlatStyle.System
    self.__rescrape_tags_cb.Location = Point(82, 181)
    self.__rescrape_tags_cb.Size = Size(270, 17)
    self.__rescrape_tags_cb.Text = i18n.get("ConfigFormRescrapeTagsCB")
    self.__rescrape_tags_cb.CheckedChanged += self.__fired_update_gui 
 
    # 6. --- build the 'specify series name' checkbox
    self.__summary_dialog_cb = CheckBox()
    self.__summary_dialog_cb.AutoSize = False
    self.__summary_dialog_cb.FlatStyle = FlatStyle.System
    self.__summary_dialog_cb.Location = Point(52, 214)
    self.__summary_dialog_cb.Size = Size(300, 34)
    self.__summary_dialog_cb.Text = i18n.get("ConfigFormShowSummaryCB")
    self.__summary_dialog_cb.CheckedChanged += self.__fired_update_gui 
          
    # 7. --- add 'em all to the tabpage 
    tabpage.Controls.Add(first_scrape_label)
    tabpage.Controls.Add(self.__autochoose_series_cb)
    tabpage.Controls.Add(self.__confirm_issue_cb)
    tabpage.Controls.Add(self.__fast_rescrape_cb)
    tabpage.Controls.Add(self.__rescrape_tags_cb)
    tabpage.Controls.Add(self.__rescrape_notes_cb)
    tabpage.Controls.Add(self.__summary_dialog_cb)
    
    return tabpage
 def __build_detailstab(self):
    ''' builds and returns the "Details" Tab for the TabControl '''
    
    tabpage = TabPage()
    tabpage.Text = i18n.get("ConfigFormDetailsTab")
    tabpage.Name = "details"
    
    # 1. --- a description label for this tabpage
    label = Label()
    label.UseMnemonic = False
    label.AutoSize = True
    label.Location = Point(14, 35)
    label.Size = Size(299, 17)
    label.Text = i18n.get("ConfigFormDetailsText")
    
    # 2. --- the 'select all' button
    checkall_button = Button()
    checkall_button.Click += self.__fired_checkall
    checkall_button.Location = Point(280, 107)
    checkall_button.Size = Size(100, 23)
    checkall_button.Text = i18n.get("ConfigFormDetailsAll")
    
    # 3. --- the 'deselect all' button
    uncheckall_button = Button()
    uncheckall_button.Click += self.__fired_uncheckall
    uncheckall_button.Location = Point(280, 138)
    uncheckall_button.Size = Size(100, 23)
    uncheckall_button.Text = i18n.get("ConfigFormDetailsNone")
    
    # 4. --- build the update checklist (contains all the 'data' checkboxes)
    self.__update_checklist = CheckedListBox()
    self.__update_checklist.CheckOnClick = True
    self.__update_checklist.ColumnWidth = 125
    self.__update_checklist.ThreeDCheckBoxes = True
    self.__update_checklist.Location = Point(15, 65)
    self.__update_checklist.MultiColumn = True
    self.__update_checklist.SelectionMode = SelectionMode.One
    self.__update_checklist.Size = Size(260, 170)
    self.__update_checklist.ItemCheck += self.__fired_update_gui
    
    self.__update_checklist.Items.Add(ConfigForm.__SERIES_CB)
    self.__update_checklist.Items.Add(ConfigForm.__VOLUME_CB)
    self.__update_checklist.Items.Add(ConfigForm.__NUMBER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__TITLE_CB)
    self.__update_checklist.Items.Add(ConfigForm.__PUBLISHED_CB)
    self.__update_checklist.Items.Add(ConfigForm.__RELEASED_CB)
    self.__update_checklist.Items.Add(ConfigForm.__CROSSOVERS_CB)
    self.__update_checklist.Items.Add(ConfigForm.__PUBLISHER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__IMPRINT_CB)
    self.__update_checklist.Items.Add(ConfigForm.__WRITER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__PENCILLER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__INKER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__COLORIST_CB)
    self.__update_checklist.Items.Add(ConfigForm.__LETTERER_CB)
    self.__update_checklist.Items.Add(ConfigForm.__COVER_ARTIST_CB)
    self.__update_checklist.Items.Add(ConfigForm.__EDITOR_CB)
    self.__update_checklist.Items.Add(ConfigForm.__SUMMARY_CB)
    self.__update_checklist.Items.Add(ConfigForm.__CHARACTERS_CB)
    self.__update_checklist.Items.Add(ConfigForm.__TEAMS_CB)
    self.__update_checklist.Items.Add(ConfigForm.__LOCATIONS_CB)     
    self.__update_checklist.Items.Add(ConfigForm.__WEBPAGE_CB)
 
    # 5. --- add 'em all to this tabpage
    tabpage.Controls.Add(label)
    tabpage.Controls.Add(checkall_button)
    tabpage.Controls.Add(uncheckall_button)
    tabpage.Controls.Add(self.__update_checklist)
    
    return tabpage
    def __build_datatab(self):
        ''' builds and returns the "Data" Tab for the TabControl '''

        tabpage = TabPage()
        tabpage.Text = i18n.get("ConfigFormDataTab")

        # 1. --- build the 'convert imprints checkbox'
        self.__convert_imprints_cb = CheckBox()
        self.__convert_imprints_cb.AutoSize = False
        self.__convert_imprints_cb.FlatStyle = FlatStyle.System
        self.__convert_imprints_cb.Location = Point(52, 35)
        self.__convert_imprints_cb.Size = Size(300, 34)
        self.__convert_imprints_cb.Text = i18n.get("ConfigFormImprintsCB")
        self.__convert_imprints_cb.CheckedChanged += self.__fired_update_gui

        # 2. -- build the 'overwrite existing' checkbox
        self.__ow_existing_cb = CheckBox()
        self.__ow_existing_cb.AutoSize = False
        self.__ow_existing_cb.FlatStyle = FlatStyle.System
        self.__ow_existing_cb.Location = Point(52, 85)
        self.__ow_existing_cb.Size = Size(310, 34)
        self.__ow_existing_cb.Text = i18n.get("ConfigFormOverwriteCB")
        self.__ow_existing_cb.CheckedChanged += self.__fired_update_gui

        # 3. --- build the 'ignore blanks' checkbox
        self.__ignore_blanks_cb = CheckBox()
        self.__ignore_blanks_cb.AutoSize = False
        self.__ignore_blanks_cb.FlatStyle = FlatStyle.System
        self.__ignore_blanks_cb.Location = Point(82, 125)
        self.__ignore_blanks_cb.Size = Size(270, 34)
        self.__ignore_blanks_cb.TextAlign = ContentAlignment.TopLeft
        self.__ignore_blanks_cb.Text = i18n.get("ConfigFormOverwriteEmptyCB")
        self.__ignore_blanks_cb.CheckedChanged += self.__fired_update_gui

        # 4. --- build the 'download thumbnails' checkbox
        self.__download_thumbs_cb = CheckBox()
        self.__download_thumbs_cb.AutoSize = False
        self.__download_thumbs_cb.FlatStyle = FlatStyle.System
        self.__download_thumbs_cb.Location = Point(52, 165)
        self.__download_thumbs_cb.Size = Size(300, 34)
        self.__download_thumbs_cb.Text = i18n.get("ConfigFormFilelessCB")
        self.__download_thumbs_cb.CheckedChanged += self.__fired_update_gui

        # 5. --- build the 'preserve thumbnails' checkbox
        self.__preserve_thumbs_cb = CheckBox()
        self.__preserve_thumbs_cb.AutoSize = False
        self.__preserve_thumbs_cb.FlatStyle = FlatStyle.System
        self.__preserve_thumbs_cb.Location = Point(82, 205)
        self.__preserve_thumbs_cb.Size = Size(270, 34)
        self.__preserve_thumbs_cb.TextAlign = ContentAlignment.TopLeft
        self.__preserve_thumbs_cb.Text = i18n.get(
            "ConfigFormFilelessOverwriteCB")
        self.__preserve_thumbs_cb.CheckedChanged += self.__fired_update_gui

        # 6. --- add 'em all to the tabpage
        tabpage.Controls.Add(self.__ow_existing_cb)
        tabpage.Controls.Add(self.__ignore_blanks_cb)
        tabpage.Controls.Add(self.__convert_imprints_cb)
        tabpage.Controls.Add(self.__download_thumbs_cb)
        tabpage.Controls.Add(self.__preserve_thumbs_cb)

        return tabpage
    def __build_behaviourtab(self):
        ''' builds and returns the "Behaviour" Tab for the TabControl '''

        tabpage = TabPage()
        tabpage.Text = i18n.get("ConfigFormBehaviourTab")

        # 1. --- build the 'When scraping for the first time' label
        first_scrape_label = Label()
        first_scrape_label.AutoSize = False
        first_scrape_label.FlatStyle = FlatStyle.System
        first_scrape_label.Location = Point(52, 27)
        first_scrape_label.Text = i18n.get("ConfigFormFirstScrapeLabel")
        first_scrape_label.Size = Size(300, 17)

        # 1. --- build the 'autochoose series' checkbox
        self.__autochoose_series_cb = CheckBox()
        self.__autochoose_series_cb.AutoSize = False
        self.__autochoose_series_cb.FlatStyle = FlatStyle.System
        self.__autochoose_series_cb.Location = Point(82, 45)
        self.__autochoose_series_cb.Size = Size(300, 34)
        self.__autochoose_series_cb.Text = i18n.get(
            "ConfigFormAutochooseSeriesCB")
        self.__autochoose_series_cb.CheckedChanged += self.__fired_update_gui

        # 2. --- build the 'confirm issue' checkbox
        self.__confirm_issue_cb = CheckBox()
        self.__confirm_issue_cb.AutoSize = False
        self.__confirm_issue_cb.FlatStyle = FlatStyle.System
        self.__confirm_issue_cb.Location = Point(82, 75)
        self.__confirm_issue_cb.Size = Size(300, 34)
        self.__confirm_issue_cb.Text = i18n.get("ConfigFormConfirmIssueCB")
        self.__confirm_issue_cb.CheckedChanged += self.__fired_update_gui

        # 3. -- build the 'use fast rescrape' checkbox
        self.__fast_rescrape_cb = CheckBox()
        self.__fast_rescrape_cb.AutoSize = False
        self.__fast_rescrape_cb.FlatStyle = FlatStyle.System
        self.__fast_rescrape_cb.Location = Point(52, 116)
        self.__fast_rescrape_cb.Size = Size(300, 34)
        self.__fast_rescrape_cb.Text = i18n.get("ConfigFormRescrapeCB")
        self.__fast_rescrape_cb.CheckedChanged += self.__fired_update_gui

        # 4. -- build the 'add rescrape hints to notes' checkbox
        self.__rescrape_notes_cb = CheckBox()
        self.__rescrape_notes_cb.AutoSize = False
        self.__rescrape_notes_cb.FlatStyle = FlatStyle.System
        self.__rescrape_notes_cb.Location = Point(82, 151)
        self.__rescrape_notes_cb.Size = Size(270, 17)
        self.__rescrape_notes_cb.Text = i18n.get("ConfigFormRescrapeNotesCB")
        self.__rescrape_notes_cb.CheckedChanged += self.__fired_update_gui

        # 5. -- build the 'add rescrape hints to tags' checkbox
        self.__rescrape_tags_cb = CheckBox()
        self.__rescrape_tags_cb.AutoSize = False
        self.__rescrape_tags_cb.FlatStyle = FlatStyle.System
        self.__rescrape_tags_cb.Location = Point(82, 181)
        self.__rescrape_tags_cb.Size = Size(270, 17)
        self.__rescrape_tags_cb.Text = i18n.get("ConfigFormRescrapeTagsCB")
        self.__rescrape_tags_cb.CheckedChanged += self.__fired_update_gui

        # 6. --- build the 'specify series name' checkbox
        self.__summary_dialog_cb = CheckBox()
        self.__summary_dialog_cb.AutoSize = False
        self.__summary_dialog_cb.FlatStyle = FlatStyle.System
        self.__summary_dialog_cb.Location = Point(52, 214)
        self.__summary_dialog_cb.Size = Size(300, 34)
        self.__summary_dialog_cb.Text = i18n.get("ConfigFormShowSummaryCB")
        self.__summary_dialog_cb.CheckedChanged += self.__fired_update_gui

        # 7. --- add 'em all to the tabpage
        tabpage.Controls.Add(first_scrape_label)
        tabpage.Controls.Add(self.__autochoose_series_cb)
        tabpage.Controls.Add(self.__confirm_issue_cb)
        tabpage.Controls.Add(self.__fast_rescrape_cb)
        tabpage.Controls.Add(self.__rescrape_tags_cb)
        tabpage.Controls.Add(self.__rescrape_notes_cb)
        tabpage.Controls.Add(self.__summary_dialog_cb)

        return tabpage
    def __build_detailstab(self):
        ''' builds and returns the "Details" Tab for the TabControl '''

        tabpage = TabPage()
        tabpage.Text = i18n.get("ConfigFormDetailsTab")
        tabpage.Name = "details"

        # 1. --- a description label for this tabpage
        label = Label()
        label.UseMnemonic = False
        label.AutoSize = True
        label.Location = Point(14, 35)
        label.Size = Size(299, 17)
        label.Text = i18n.get("ConfigFormDetailsText")

        # 2. --- the 'select all' button
        checkall_button = Button()
        checkall_button.Click += self.__fired_checkall
        checkall_button.Location = Point(280, 107)
        checkall_button.Size = Size(100, 23)
        checkall_button.Text = i18n.get("ConfigFormDetailsAll")

        # 3. --- the 'deselect all' button
        uncheckall_button = Button()
        uncheckall_button.Click += self.__fired_uncheckall
        uncheckall_button.Location = Point(280, 138)
        uncheckall_button.Size = Size(100, 23)
        uncheckall_button.Text = i18n.get("ConfigFormDetailsNone")

        # 4. --- build the update checklist (contains all the 'data' checkboxes)
        self.__update_checklist = CheckedListBox()
        self.__update_checklist.CheckOnClick = True
        self.__update_checklist.ColumnWidth = 125
        self.__update_checklist.ThreeDCheckBoxes = True
        self.__update_checklist.Location = Point(15, 65)
        self.__update_checklist.MultiColumn = True
        self.__update_checklist.SelectionMode = SelectionMode.One
        self.__update_checklist.Size = Size(260, 170)
        self.__update_checklist.ItemCheck += self.__fired_update_gui

        self.__update_checklist.Items.Add(ConfigForm.__SERIES_CB)
        self.__update_checklist.Items.Add(ConfigForm.__VOLUME_CB)
        self.__update_checklist.Items.Add(ConfigForm.__NUMBER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__TITLE_CB)
        self.__update_checklist.Items.Add(ConfigForm.__PUBLISHED_CB)
        self.__update_checklist.Items.Add(ConfigForm.__RELEASED_CB)
        self.__update_checklist.Items.Add(ConfigForm.__CROSSOVERS_CB)
        self.__update_checklist.Items.Add(ConfigForm.__PUBLISHER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__IMPRINT_CB)
        self.__update_checklist.Items.Add(ConfigForm.__WRITER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__PENCILLER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__INKER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__COLORIST_CB)
        self.__update_checklist.Items.Add(ConfigForm.__LETTERER_CB)
        self.__update_checklist.Items.Add(ConfigForm.__COVER_ARTIST_CB)
        self.__update_checklist.Items.Add(ConfigForm.__EDITOR_CB)
        self.__update_checklist.Items.Add(ConfigForm.__SUMMARY_CB)
        self.__update_checklist.Items.Add(ConfigForm.__CHARACTERS_CB)
        self.__update_checklist.Items.Add(ConfigForm.__TEAMS_CB)
        self.__update_checklist.Items.Add(ConfigForm.__LOCATIONS_CB)
        self.__update_checklist.Items.Add(ConfigForm.__WEBPAGE_CB)

        # 5. --- add 'em all to this tabpage
        tabpage.Controls.Add(label)
        tabpage.Controls.Add(checkall_button)
        tabpage.Controls.Add(uncheckall_button)
        tabpage.Controls.Add(self.__update_checklist)

        return tabpage