# data file for the Fltk User Interface Designer (fluid)
version 1.0110 
i18n_type 1 
i18n_include "gettext.h" 
i18n_function _ 
header_name {.h} 
code_name {.cxx}
decl {\#include <config.h>} {} 

decl {\#include <FL/Fl_Pixmap.H>} {} 

decl {\#include "logsupport.h"} {} 

decl {\#include "pixmaps.h"} {} 

decl {\#include "flinput2.h"} {public
} 

Function {create_logbook_dialogs()} {open return_type void
} {
  Fl_Window wExport {
    label {Export Setup} open
    xywh {571 56 655 439} type Double modal visible
  } {
    Fl_Group {} {
      label {Select Records to Export} open
      xywh {4 4 388 400} box ENGRAVED_FRAME align 21
    } {
      Fl_Check_Browser chkExportBrowser {
        xywh {13 25 370 295}
      }
      Fl_Button btnClearAll {
        label {Clear All}
        callback {btn_export_by_date->value(0);
chkExportBrowser->check_none();}
        xywh {69 325 109 24}
      }
      Fl_Button btnCheckAll {
        label {Check All}
        callback {btn_export_by_date->value(0);
chkExportBrowser->check_all();} selected
        xywh {200 325 109 24}
      }
      Fl_Input inp_export_start_date {
        label {Start Date}
        callback {cb_export_date_select();}
        tooltip {Start date for export} xywh {14 371 100 22} align 5
        code0 {\#include "calendar.h"}
        code1 {inp_export_start_date->format(2);}
        class Fl_DateInput
      }
      Fl_Input inp_export_stop_date {
        label {Stop Date}
        callback {cb_export_date_select();}
        tooltip {Inclusive stop date for export} xywh {138 371 100 22} align 5
        code0 {\#include "calendar.h"}
        code1 {inp_export_stop_date->format(2);}
        class Fl_DateInput
      }
      Fl_Check_Button btn_export_by_date {
        label {select by date}
        callback {cb_export_date_select();}
        tooltip {Enable to select date range} xywh {263 374 70 15} down_box DOWN_BOX
      }
    }
    Fl_Return_Button btnOK {
      label OK
      callback {wExport->hide();
Export_log();}
      xywh {536 408 100 24}
    }
    Fl_Button btnCancel {
      label Cancel
      callback {wExport->hide();}
      xywh {405 408 100 24}
    }
    Fl_Group {} {
      label {Select Fields to Export} open
      xywh {392 4 258 400} box ENGRAVED_FRAME align 21
    } {
      Fl_Button btnClearAllFields {
        label {Clear All}
        callback {btnSelectCall->value(0);
btnSelectName->value(0);
btnSelectFreq->value(0);
btnSelectBand->value(0);
btnSelectMode->value(0);
btnSelectQSOdateOn->value(0);
btnSelectQSOdateOff->value(0);
btnSelectTimeON->value(0);
btnSelectTimeOFF->value(0);
btnSelectQth->value(0);
btnSelectLOC->value(0);
btnSelectState->value(0);
btnSelectProvince->value(0);
btnSelectCountry->value(0);
btnSelectQSLrcvd->value(0);
btnSelectQSLsent->value(0);
btnSelectSerialIN->value(0);
btnSelectSerialOUT->value(0);
btnSelectXchgIn->value(0);
btnSelectMyXchg->value(0);
btnSelectRSTsent->value(0);
btnSelectRSTrcvd->value(0);
btnSelectIOTA->value(0);
btnSelectDXCC->value(0);
btnSelectCNTY->value(0);
btnSelectCONT->value(0);
btnSelectCQZ->value(0);
btnSelectITUZ->value(0);
btnSelectTX_pwr->value(0);
btnSelectNotes->value(0);}
        xywh {400 372 76 24}
      }
      Fl_Button btnCheckAllFields {
        label {Check All}
        callback {btnSelectCall->value(1);
btnSelectName->value(1);
btnSelectFreq->value(1);
btnSelectBand->value(1);
btnSelectMode->value(1);
btnSelectQSOdateOn->value(1);
btnSelectQSOdateOff->value(1);
btnSelectTimeON->value(1);
btnSelectTimeOFF->value(1);
btnSelectQth->value(1);
btnSelectLOC->value(1);
btnSelectState->value(1);
btnSelectProvince->value(1);
btnSelectCountry->value(1);
btnSelectQSLrcvd->value(1);
btnSelectQSLsent->value(1);
btnSelectSerialIN->value(1);
btnSelectSerialOUT->value(1);
btnSelectXchgIn->value(1);
btnSelectMyXchg->value(1);
btnSelectRSTsent->value(1);
btnSelectRSTrcvd->value(1);
btnSelectIOTA->value(1);
btnSelectDXCC->value(1);
btnSelectCNTY->value(1);
btnSelectCONT->value(1);
btnSelectCQZ->value(1);
btnSelectITUZ->value(1);
btnSelectTX_pwr->value(1);
btnSelectNotes->value(1);}
        xywh {480 372 76 24}
      }
      Fl_Check_Button btnSelectCall {
        label Call
        xywh {402 25 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectName {
        label Name
        xywh {402 46 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectFreq {
        label Freq
        xywh {402 68 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectBand {
        label Band
        xywh {402 90 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectMode {
        label Mode
        xywh {402 111 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectQSOdateOn {
        label {QSO Date On}
        xywh {402 133 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectQSOdateOff {
        label {QSO Date Off}
        xywh {402 155 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectTimeON {
        label {Time ON}
        xywh {402 177 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectTimeOFF {
        label {Time OFF}
        xywh {402 198 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectTX_pwr {
        label {TX Power}
        xywh {402 220 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectRSTsent {
        label {RST sent}
        xywh {402 242 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectRSTrcvd {
        label {RST rcvd}
        xywh {402 263 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectQth {
        label Qth
        xywh {402 285 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectLOC {
        label LOC
        xywh {402 307 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnSelectState {
        label State
        xywh {400 329 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectProvince {
        label Province
        xywh {520 24 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectCountry {
        label Country
        xywh {520 45 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectNotes {
        label Notes
        xywh {520 67 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectQSLrcvd {
        label {QSL rcvd date}
        xywh {520 89 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectQSLsent {
        label {QSL sent date}
        xywh {520 111 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectSerialIN {
        label {Serial \# in}
        xywh {520 132 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectSerialOUT {
        label {Serial \# out}
        xywh {520 154 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectXchgIn {
        label {Exchange In}
        xywh {520 176 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectMyXchg {
        label {Exchange Out}
        xywh {520 198 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectCNTY {
        label County
        xywh {520 220 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectCONT {
        label Continent
        xywh {521 241 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectCQZ {
        label CQZ
        xywh {521 263 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectDXCC {
        label DXCC
        xywh {521 285 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectIOTA {
        label IOTA
        xywh {521 307 70 15} down_box DOWN_BOX
      }
      Fl_Check_Button btnSelectITUZ {
        label ITUZ
        xywh {521 329 70 15} down_box DOWN_BOX
      }
      Fl_Button btnSetFieldDefaults {
        label Defaults
        callback {btnSelectCall->value(1);
btnSelectName->value(1);
btnSelectFreq->value(1);
btnSelectBand->value(1);
btnSelectMode->value(1);
btnSelectQSOdateOn->value(1);
btnSelectQSOdateOff->value(1);
btnSelectTimeON->value(1);
btnSelectTimeOFF->value(1);
btnSelectQth->value(0);
btnSelectLOC->value(0);
btnSelectState->value(0);
btnSelectProvince->value(0);
btnSelectCountry->value(0);
btnSelectQSLrcvd->value(0);
btnSelectQSLsent->value(0);
btnSelectSerialIN->value(0);
btnSelectSerialOUT->value(0);
btnSelectXchgIn->value(0);
btnSelectMyXchg->value(0);
btnSelectRSTsent->value(0);
btnSelectRSTrcvd->value(1);
btnSelectIOTA->value(0);
btnSelectDXCC->value(0);
btnSelectCNTY->value(0);
btnSelectCONT->value(0);
btnSelectCQZ->value(0);
btnSelectITUZ->value(0);
btnSelectTX_pwr->value(0);
btnSelectNotes->value(0);}
        xywh {560 372 76 24}
      }
    }
  }
  Fl_Window dlgLogbook {
    label Logbook
    xywh {574 55 585 410} type Double color 47 hide resizable
  } {
    Fl_Group editGroup {open
      xywh {2 2 602 290} box ENGRAVED_FRAME color 52
    } {
      Fl_Input inpDate_log {
        label {On Date}
        tooltip {Date QSO started} xywh {7 20 100 22} labelsize 12 align 5
        code0 {\#include "calendar.h"}
        code1 {inpDate_log->format(2);}
        class Fl_DateInput
      }
      Fl_Input inpTimeOn_log {
        label Time
        tooltip {Time QSO started} xywh {109 20 40 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpDateOff_log {
        label {Off Date}
        tooltip {Date QSO Ended} xywh {151 20 100 22} labelsize 12 align 5
        code0 {\#include "calendar.h"}
        code1 {inpDateOff_log->format(2);}
        class Fl_DateInput
      }
      Fl_Input inpTimeOff_log {
        label Time
        tooltip {Time QSO ended} xywh {253 20 40 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpCall_log {
        label Call
        tooltip {Call sign worked} xywh {295 20 100 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpName_log {
        label Name
        tooltip {Operator worked} xywh {399 20 180 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpFreq_log {
        label {Freq.}
        tooltip {Frequency in MHz} xywh {7 60 100 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpMode_log {
        label Mode
        tooltip {Mode in use} xywh {109 60 130 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpRstR_log {
        label In
        tooltip {Rst received} xywh {241 60 35 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpRstS_log {
        label Out
        tooltip {Rst sent} xywh {278 60 35 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpTX_pwr_log {
        label {Tx Power}
        tooltip {Transmit power used} xywh {315 60 60 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpQSLrcvddate_log {
        label {QSL-rcvd}
        tooltip {QSL received on this date} xywh {377 60 100 22} labelsize 12 align 5
        code1 {o->format(2);}
        class Fl_DateInput
      }
      Fl_Input inpQSLsentdate_log {
        label {QSL-sent}
        tooltip {QSL sent on this date} xywh {479 60 100 22} labelsize 12 align 5
        code1 {o->format(2);}
        class Fl_DateInput
      }
      Fl_Input inpQth_log {
        label Qth
        tooltip {City of station worked} xywh {7 101 236 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpState_log {
        label St
        tooltip {US state of station worked} xywh {246 101 44 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpVE_Prov_log {
        label Pr
        tooltip {Province of station worked} xywh {294 101 44 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpCountry_log {
        label Country
        tooltip {Country of station worked} xywh {341 101 154 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpLoc_log {
        label Loc
        tooltip {Stations grid square} xywh {499 101 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpCNTY_log {
        label County
        tooltip County xywh {8 142 120 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpIOTA_log {
        label IOTA
        tooltip {Islands on the air} xywh {137 142 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpCQZ_log {
        label CQZ
        tooltip {CQ zone} xywh {226 142 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpITUZ_log {
        label ITUZ
        tooltip {ITU zone} xywh {316 142 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpCONT_log {
        label CONT
        tooltip Continent xywh {405 142 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpDXCC_log {
        label DXCC
        tooltip {DXCC designator} xywh {499 142 80 22} labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Input inpNotes_log {
        label Notes
        tooltip {Interesting notes (80 chars max)} xywh {8 180 570 35} type Multiline labelsize 12 align 5
        class Fl_Input2
      }
      Fl_Button bNewSave {
        label New
        callback cb_btnNewSave
        tooltip {New record / Save record} xywh {163 263 55 22} shortcut 0x8004e color 50 selection_color 48
      }
      Fl_Button bUpdateCancel {
        label Update
        callback cb_btnUpdateCancel
        tooltip {Update the current record} xywh {235 263 55 22} shortcut 0x80055 color 50 selection_color 48
      }
      Fl_Button bDelete {
        label Delete
        callback cb_btnDelete
        tooltip {Delete the current record} xywh {307 263 55 22} shortcut 0x80044 color 50 selection_color 48
      }
      Fl_Button bDialFreq {
        label Dial
        callback cb_btnDialFreq
        tooltip {Retrieve for active modem use} xywh {380 263 55 22} shortcut 0x50066 color 50 selection_color 48
      }
      Fl_Input txtNbrRecs_log {
        label Recs
        tooltip {\# Records in logbook} xywh {41 263 65 22} labelsize 12
        class Fl_Input2
      }
      Fl_Group {} {open
        xywh {8 216 453 44} box ENGRAVED_FRAME
      } {
        Fl_Input inpSerNoOut_log {
          label {Ser\# out}
          tooltip {Contest seral \# sent} xywh {11 233 55 22} labelsize 12 align 5
          class Fl_Input2
        }
        Fl_Input inpMyXchg_log {
          label {Exchange Out}
          tooltip {Contest exchange sent} xywh {68 233 164 22} labelsize 12 align 5
          class Fl_Input2
        }
        Fl_Input inpSerNoIn_log {
          label {Ser\# in}
          tooltip {Contest serial \# received} xywh {235 233 55 22} labelsize 12 align 5
          class Fl_Input2
        }
        Fl_Input inpXchgIn_log {
          label {Exchange In}
          tooltip {Contest exchange received} xywh {293 233 164 22} labelsize 12 align 5
          class Fl_Input2
        }
      }
      Fl_Group {} {open
        xywh {464 216 116 73} box ENGRAVED_FRAME
      } {
        Fl_Input inpSearchString {
          label {Call Search}
          tooltip {Search for this callsign} xywh {469 233 105 22} labelsize 12 align 5
          class Fl_Input2
        }
        Fl_Button bSearchPrev {
          callback cb_search
          tooltip {Find previous} xywh {469 263 24 22} color 50 selection_color 48 align 16
          code0 {bSearchPrev->image(new Fl_Pixmap(left_arrow_icon));}
        }
        Fl_Button bSearchNext {
          callback cb_search
          tooltip {Find next} xywh {550 263 24 22} color 50 selection_color 48 align 16
          code0 {bSearchNext->image(new Fl_Pixmap(right_arrow_icon));}
        }
      }
    }
    Fl_Group wBrowser {
      xywh {2 293 580 115} box DOWN_FRAME color 7 selection_color 15 resizable
      code0 {\#include "table.h"}
      class Table
    } {}
  }
  code {wBrowser->align (FL_ALIGN_TOP | FL_ALIGN_LEFT);
wBrowser->addColumn (_("Date"),85);
wBrowser->colcallback (0,cb_SortByDate);
wBrowser->addColumn (_("Time"),50);
wBrowser->addColumn (_("Callsign"),100);
wBrowser->colcallback (2,cb_SortByCall);
wBrowser->addColumn (_("Name"),110);
wBrowser->addColumn (_("Frequency"),120);
wBrowser->colcallback (4,cb_SortByFreq);
wBrowser->addColumn (_("Mode"),90);
wBrowser->colcallback (5,cb_SortByMode);
wBrowser->addHiddenColumn ("rn");
wBrowser->allowSort(true);
wBrowser->callback(cb_browser);
wBrowser->when(FL_WHEN_CHANGED);
wBrowser->rowSize (FL_NORMAL_SIZE);
wBrowser->headerSize (FL_NORMAL_SIZE);
wBrowser->allowResize (1);
wBrowser->gridEnabled (0);
dlgLogbook->xclass(PACKAGE_TARNAME);} {}
  Fl_Window wCabrillo {
    label {Cabrillo Setup}
    xywh {572 526 655 340} type Double hide modal
  } {
    Fl_Group {} {
      label {Select Records to Export} open
      xywh {4 4 388 305} box ENGRAVED_FRAME align 21
    } {
      Fl_Check_Browser chkCabBrowser {
        xywh {13 25 370 245}
      }
      Fl_Button btnCabClearAll {
        label {Clear All}
        callback {chkCabBrowser->check_none();}
        xywh {69 277 109 20}
      }
      Fl_Button btnCabCheckAll {
        label {Check All}
        callback {chkCabBrowser->check_all();}
        xywh {200 277 109 20}
      }
    }
    Fl_Return_Button btnCabOK {
      label OK
      callback {wCabrillo->hide();
WriteCabrillo();}
      xywh {536 312 100 20}
    }
    Fl_Button btnCabCancel {
      label Cancel
      callback {wCabrillo->hide();}
      xywh {405 312 100 20}
    }
    Fl_Group {} {
      label {Select Cabrillo Contest & Fields}
      xywh {390 4 258 303} box ENGRAVED_FRAME align 21
    } {
      Fl_Group cboContest {
        label {Contest:}
        callback {setContestType();} open
        xywh {460 35 180 20} box BORDER_BOX color 7 align 4
        code0 {\#include "combo.h"}
        code1 {extern void setContestType();}
        class Fl_ComboBox
      } {}
      Fl_Check_Button btnCabCall {
        label Call
        xywh {420 75 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabFreq {
        label Freq
        xywh {420 99 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabMode {
        label Mode
        xywh {420 123 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabQSOdate {
        label {QSO Date}
        xywh {420 147 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabTimeOFF {
        label {Time OFF}
        xywh {420 171 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabRSTsent {
        label {RST sent}
        xywh {420 195 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabRSTrcvd {
        label {RST rcvd}
        xywh {420 220 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabSerialIN {
        label {Serial \# in}
        xywh {522 99 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabSerialOUT {
        label {Serial \# out}
        xywh {522 123 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabXchgIn {
        label {Exchange In}
        xywh {522 147 70 15} down_box DOWN_BOX value 1
      }
      Fl_Check_Button btnCabMyXchg {
        label {Exchange Out}
        xywh {522 171 70 15} down_box DOWN_BOX value 1
      }
      Fl_Button btnCabClearAllFields {
        label {Clear All}
        callback {btnCabCall->value(0);
btnCabFreq->value(0);
btnCabMode->value(0);
btnCabQSOdate->value(0);
btnCabTimeOFF->value(0);
btnCabSerialIN->value(0);
btnCabSerialOUT->value(0);
btnCabXchgIn->value(0);
btnCabMyXchg->value(0);
btnCabRSTsent->value(0);
btnCabRSTrcvd->value(0);}
        xywh {435 275 76 20}
      }
      Fl_Button btnCabCheckAllFields {
        label {Check All}
        callback {btnCabCall->value(1);
btnCabFreq->value(1);
btnCabMode->value(1);
btnCabQSOdate->value(1);
btnCabTimeOFF->value(1);
btnCabSerialIN->value(1);
btnCabSerialOUT->value(1);
btnCabXchgIn->value(1);
btnCabMyXchg->value(1);
btnCabRSTsent->value(1);
btnCabRSTrcvd->value(1);}
        xywh {531 275 76 20}
      }
    }
  }
} 
