Skip to content
Snippets Groups Projects
Commit 723fadb4 authored by deuce's avatar deuce
Browse files

Make the Quick Validation Sets work.

parent ba01e936
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ const long SBBS_User_ListFrame::ID_ARSTEXTCTRL = wxNewId(); ...@@ -47,7 +47,7 @@ const long SBBS_User_ListFrame::ID_ARSTEXTCTRL = wxNewId();
const long SBBS_User_ListFrame::ID_CLEARBUTTON = wxNewId(); const long SBBS_User_ListFrame::ID_CLEARBUTTON = wxNewId();
const long SBBS_User_ListFrame::ID_USERLISTCTRL = wxNewId(); const long SBBS_User_ListFrame::ID_USERLISTCTRL = wxNewId();
const long SBBS_User_ListFrame::ID_STATICTEXT2 = wxNewId(); const long SBBS_User_ListFrame::ID_STATICTEXT2 = wxNewId();
const long SBBS_User_ListFrame::ID_CHOICE1 = wxNewId(); const long SBBS_User_ListFrame::ID_QVCHOICE = wxNewId();
const long SBBS_User_ListFrame::ID_REFRESHBUTTON = wxNewId(); const long SBBS_User_ListFrame::ID_REFRESHBUTTON = wxNewId();
const long SBBS_User_ListFrame::ID_EDITBUTTON = wxNewId(); const long SBBS_User_ListFrame::ID_EDITBUTTON = wxNewId();
const long SBBS_User_ListFrame::idMenuQuit = wxNewId(); const long SBBS_User_ListFrame::idMenuQuit = wxNewId();
...@@ -68,6 +68,7 @@ void SBBS_User_ListFrame::fillUserList(void) ...@@ -68,6 +68,7 @@ void SBBS_User_ListFrame::fillUserList(void)
int item; int item;
wxString buf; wxString buf;
char datebuf[9]; char datebuf[9];
long topitem=UserList->GetTopItem();
UserList->DeleteAllItems(); UserList->DeleteAllItems();
for(i=0; i<totalusers; i++) { for(i=0; i<totalusers; i++) {
...@@ -83,7 +84,7 @@ void SBBS_User_ListFrame::fillUserList(void) ...@@ -83,7 +84,7 @@ void SBBS_User_ListFrame::fillUserList(void)
if(user.misc & DELETED) { if(user.misc & DELETED) {
UserList->SetItemTextColour(item, *wxLIGHT_GREY); UserList->SetItemTextColour(item, *wxLIGHT_GREY);
} }
UserList->SetItemData(item, user.number);
UserList->SetItem(item, 1, wxString::From8BitData(user.alias)); UserList->SetItem(item, 1, wxString::From8BitData(user.alias));
UserList->SetItem(item, 2, wxString::From8BitData(user.name)); UserList->SetItem(item, 2, wxString::From8BitData(user.name));
buf.Printf(_("%d"), user.level); buf.Printf(_("%d"), user.level);
...@@ -105,6 +106,8 @@ void SBBS_User_ListFrame::fillUserList(void) ...@@ -105,6 +106,8 @@ void SBBS_User_ListFrame::fillUserList(void)
unixtodstr(&App->cfg, user.laston, datebuf); unixtodstr(&App->cfg, user.laston, datebuf);
UserList->SetItem(item,14, wxString::From8BitData(datebuf)); UserList->SetItem(item,14, wxString::From8BitData(datebuf));
} }
UserList->EnsureVisible(item);
UserList->EnsureVisible(topitem);
} }
SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
...@@ -128,11 +131,11 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) ...@@ -128,11 +131,11 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
BoxSizer2->Add(StaticText1, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 5); BoxSizer2->Add(StaticText1, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL, 5);
ARSFilter = new wxTextCtrl(this, ID_ARSTEXTCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_ARSTEXTCTRL")); ARSFilter = new wxTextCtrl(this, ID_ARSTEXTCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_ARSTEXTCTRL"));
ARSFilter->SetToolTip(_("Enter an ARS string to filter users with")); ARSFilter->SetToolTip(_("Enter an ARS string to filter users with"));
BoxSizer2->Add(ARSFilter, 1, wxALL|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer2->Add(ARSFilter, 1, wxALL|wxALIGN_LEFT|wxALIGN_TOP, 5);
ClearButton = new wxButton(this, ID_CLEARBUTTON, _("Clear"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CLEARBUTTON")); ClearButton = new wxButton(this, ID_CLEARBUTTON, _("Clear"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CLEARBUTTON"));
ClearButton->SetToolTip(_("Clears the ARS filter")); ClearButton->SetToolTip(_("Clears the ARS filter"));
BoxSizer2->Add(ClearButton, 0, wxALL|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer2->Add(ClearButton, 0, wxALL|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer1->Add(BoxSizer2, 0, wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer1->Add(BoxSizer2, 0, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
UserList = new wxListCtrl(this, ID_USERLISTCTRL, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_HRULES, wxDefaultValidator, _T("ID_USERLISTCTRL")); UserList = new wxListCtrl(this, ID_USERLISTCTRL, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_HRULES, wxDefaultValidator, _T("ID_USERLISTCTRL"));
UserList->InsertColumn(0, wxString(_("Num"))); UserList->InsertColumn(0, wxString(_("Num")));
UserList->InsertColumn(1, wxString(_("Alias"))); UserList->InsertColumn(1, wxString(_("Alias")));
...@@ -150,35 +153,35 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) ...@@ -150,35 +153,35 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
UserList->InsertColumn(13, wxString(_("First On"))); UserList->InsertColumn(13, wxString(_("First On")));
UserList->InsertColumn(14, wxString(_("Last On"))); UserList->InsertColumn(14, wxString(_("Last On")));
fillUserList(); fillUserList();
BoxSizer1->Add(UserList, 1, wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer1->Add(UserList, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer3 = new wxBoxSizer(wxHORIZONTAL); BoxSizer3 = new wxBoxSizer(wxHORIZONTAL);
BoxSizer4 = new wxBoxSizer(wxHORIZONTAL); BoxSizer4 = new wxBoxSizer(wxHORIZONTAL);
StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Quick Validation Sets"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2")); StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Quick Validation Sets"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2"));
BoxSizer4->Add(StaticText2, 0, wxALL|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer4->Add(StaticText2, 0, wxALL|wxALIGN_LEFT|wxALIGN_TOP, 5);
Choice1 = new wxChoice(this, ID_CHOICE1, wxDefaultPosition, wxDefaultSize, 0, 0, 0, wxDefaultValidator, _T("ID_CHOICE1")); QVChoice = new wxChoice(this, ID_QVCHOICE, wxDefaultPosition, wxDefaultSize, 0, 0, 0, wxDefaultValidator, _T("ID_QVCHOICE"));
Choice1->SetSelection( Choice1->Append(_("Select a set")) ); QVChoice->SetSelection( QVChoice->Append(_("Select a set")) );
Choice1->Append(_("1 SL:10 F1: ")); for(int i=0;i<10;i++) {
Choice1->Append(_("2 SL:20 F1: ")); wxString str;
Choice1->Append(_("3 SL:30 F1: ")); wxString fstr;
Choice1->Append(_("4 SL:40 F1: ")); char flags[33];
Choice1->Append(_("5 SL:50 F1: "));
Choice1->Append(_("6 SL:60 F1: ")); fstr=wxString::From8BitData(ltoaf(App->cfg.val_flags1[i],flags));
Choice1->Append(_("7 SL:70 F1: ")); str.Printf(_("%d SL: %-2d F1: "),i,App->cfg.val_level[i]);
Choice1->Append(_("8 SL:80 F1: ")); str += fstr;
Choice1->Append(_("9 SL:90 F1: ")); QVChoice->Append(str);
Choice1->Append(_("10 SL:100 F1: ")); }
Choice1->Disable(); QVChoice->Disable();
BoxSizer4->Add(Choice1, 0, wxALL|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer4->Add(QVChoice, 0, wxALL|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer3->Add(BoxSizer4, 1, wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer3->Add(BoxSizer4, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer5 = new wxBoxSizer(wxHORIZONTAL); BoxSizer5 = new wxBoxSizer(wxHORIZONTAL);
RefreshButton = new wxButton(this, ID_REFRESHBUTTON, _("Refresh"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_REFRESHBUTTON")); RefreshButton = new wxButton(this, ID_REFRESHBUTTON, _("Refresh"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_REFRESHBUTTON"));
RefreshButton->SetToolTip(_("Reloads the user database")); RefreshButton->SetToolTip(_("Reloads the user database"));
BoxSizer5->Add(RefreshButton, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer5->Add(RefreshButton, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP, 5);
EditButton = new wxButton(this, ID_EDITBUTTON, _("Edit"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_EDITBUTTON")); EditButton = new wxButton(this, ID_EDITBUTTON, _("Edit"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_EDITBUTTON"));
EditButton->Disable(); EditButton->Disable();
BoxSizer5->Add(EditButton, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer5->Add(EditButton, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP, 5);
BoxSizer3->Add(BoxSizer5, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer3->Add(BoxSizer5, 0, wxALL|wxALIGN_RIGHT|wxALIGN_TOP, 5);
BoxSizer1->Add(BoxSizer3, 0, wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM, 5); BoxSizer1->Add(BoxSizer3, 0, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
SetSizer(BoxSizer1); SetSizer(BoxSizer1);
MenuBar1 = new wxMenuBar(); MenuBar1 = new wxMenuBar();
Menu1 = new wxMenu(); Menu1 = new wxMenu();
...@@ -201,6 +204,9 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) ...@@ -201,6 +204,9 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
Connect(ID_ARSTEXTCTRL,wxEVT_COMMAND_TEXT_UPDATED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnARSFilterText); Connect(ID_ARSTEXTCTRL,wxEVT_COMMAND_TEXT_UPDATED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnARSFilterText);
Connect(ID_CLEARBUTTON,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnClearButtonClick); Connect(ID_CLEARBUTTON,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnClearButtonClick);
Connect(ID_USERLISTCTRL,wxEVT_COMMAND_LIST_ITEM_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnUserListItemSelect);
Connect(ID_USERLISTCTRL,wxEVT_COMMAND_LIST_ITEM_DESELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnUserListItemSelect);
Connect(ID_QVCHOICE,wxEVT_COMMAND_CHOICE_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnQVChoiceSelect);
Connect(ID_REFRESHBUTTON,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnRefreshButtonClick); Connect(ID_REFRESHBUTTON,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnRefreshButtonClick);
Connect(idMenuQuit,wxEVT_COMMAND_MENU_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnQuit); Connect(idMenuQuit,wxEVT_COMMAND_MENU_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnQuit);
Connect(idMenuAbout,wxEVT_COMMAND_MENU_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnAbout); Connect(idMenuAbout,wxEVT_COMMAND_MENU_SELECTED,(wxObjectEventFunction)&SBBS_User_ListFrame::OnAbout);
...@@ -230,6 +236,24 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) ...@@ -230,6 +236,24 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id)
UserList->InsertColumn(14, wxString(_("Last On"))); UserList->InsertColumn(14, wxString(_("Last On")));
fillUserList(); fillUserList();
} }
/*
* Ideally this would go right after QVChoice->SetSelection
*/
if(QVChoice->GetCount()==1) {
fprintf(stderr,"No items in QVChoice!\r\n");
for(int i=0;i<10;i++) {
wxString str;
wxString fstr;
char flags[33];
fstr=wxString::From8BitData(ltoaf(App->cfg.val_flags1[i],flags));
str.Printf(_("%d SL: %-2d F1: "),i,App->cfg.val_level[i]);
str += fstr;
QVChoice->Append(str);
}
}
} }
SBBS_User_ListFrame::~SBBS_User_ListFrame() SBBS_User_ListFrame::~SBBS_User_ListFrame()
...@@ -278,3 +302,55 @@ void SBBS_User_ListFrame::OnClearButtonClick(wxCommandEvent& event) ...@@ -278,3 +302,55 @@ void SBBS_User_ListFrame::OnClearButtonClick(wxCommandEvent& event)
ARSFilter->SetValue(_("")); ARSFilter->SetValue(_(""));
OnARSFilterText(event); OnARSFilterText(event);
} }
void SBBS_User_ListFrame::OnUserListItemSelect(wxListEvent& event)
{
if(UserList->GetSelectedItemCount())
QVChoice->Enable();
else
QVChoice->Enable();
}
void SBBS_User_ListFrame::OnQVChoiceSelect(wxCommandEvent& event)
{
user_t user;
int res;
long item=-1;
wxArrayInt selections;
int set=QVChoice->GetSelection()-1;
for(;;) {
item = UserList->GetNextItem(item, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
if(item==-1)
break;
user.number=UserList->GetItemData(item);
if((res=getuserdat(&App->cfg, &user))) {
wxString str;
str.Printf(_("Error %d loading user %d."),res,user.number);
wxMessageDialog *dlg=new wxMessageDialog(NULL, str, str);
dlg->ShowModal();
continue;
}
user.flags1=App->cfg.val_flags1[set];
user.flags2=App->cfg.val_flags2[set];
user.flags3=App->cfg.val_flags3[set];
user.flags4=App->cfg.val_flags4[set];
user.exempt=App->cfg.val_exempt[set];
user.rest=App->cfg.val_rest[set];
if(App->cfg.val_expire[set]) {
user.expire=time(NULL)
+(App->cfg.val_expire[set]*24*60*60);
}
else
user.expire=0;
user.level=App->cfg.val_level[set];
if((res=putuserdat(&App->cfg,&user))) {
wxString str;
str.Printf(_("Error %d saving user %d."),res,user.number);
wxMessageDialog *dlg=new wxMessageDialog(NULL, str, str);
dlg->ShowModal();
continue;
}
}
fillUserList();
}
...@@ -41,6 +41,8 @@ class SBBS_User_ListFrame: public wxFrame ...@@ -41,6 +41,8 @@ class SBBS_User_ListFrame: public wxFrame
void OnRefreshButtonClick(wxCommandEvent& event); void OnRefreshButtonClick(wxCommandEvent& event);
void OnARSFilterText(wxCommandEvent& event); void OnARSFilterText(wxCommandEvent& event);
void OnClearButtonClick(wxCommandEvent& event); void OnClearButtonClick(wxCommandEvent& event);
void OnUserListItemSelect(wxListEvent& event);
void OnQVChoiceSelect(wxCommandEvent& event);
//*) //*)
//(*Identifiers(SBBS_User_ListFrame) //(*Identifiers(SBBS_User_ListFrame)
...@@ -49,7 +51,7 @@ class SBBS_User_ListFrame: public wxFrame ...@@ -49,7 +51,7 @@ class SBBS_User_ListFrame: public wxFrame
static const long ID_CLEARBUTTON; static const long ID_CLEARBUTTON;
static const long ID_USERLISTCTRL; static const long ID_USERLISTCTRL;
static const long ID_STATICTEXT2; static const long ID_STATICTEXT2;
static const long ID_CHOICE1; static const long ID_QVCHOICE;
static const long ID_REFRESHBUTTON; static const long ID_REFRESHBUTTON;
static const long ID_EDITBUTTON; static const long ID_EDITBUTTON;
static const long idMenuQuit; static const long idMenuQuit;
...@@ -64,9 +66,9 @@ class SBBS_User_ListFrame: public wxFrame ...@@ -64,9 +66,9 @@ class SBBS_User_ListFrame: public wxFrame
wxListCtrl* UserList; wxListCtrl* UserList;
wxStatusBar* StatusBar1; wxStatusBar* StatusBar1;
wxButton* ClearButton; wxButton* ClearButton;
wxChoice* QVChoice;
wxButton* EditButton; wxButton* EditButton;
wxTextCtrl* ARSFilter; wxTextCtrl* ARSFilter;
wxChoice* Choice1;
//*) //*)
unsigned char *ars; unsigned char *ars;
......
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
1316588509 /usr/local/include/wx-2.8/wx/gtk/app.h 1316588509 /usr/local/include/wx-2.8/wx/gtk/app.h
1319435465 /synchronet/src/src/sbbs3/userlist/SBBS_User_ListMain.h 1319473666 /synchronet/src/src/sbbs3/userlist/SBBS_User_ListMain.h
<wx/listctrl.h> <wx/listctrl.h>
<wx/sizer.h> <wx/sizer.h>
<wx/stattext.h> <wx/stattext.h>
...@@ -844,7 +844,7 @@ ...@@ -844,7 +844,7 @@
1316588509 /usr/local/include/wx-2.8/wx/generic/listctrl.h 1316588509 /usr/local/include/wx-2.8/wx/generic/listctrl.h
"wx/textctrl.h" "wx/textctrl.h"
1319434824 source:/synchronet/src/src/sbbs3/userlist/SBBS_User_ListMain.cpp 1319475018 source:/synchronet/src/src/sbbs3/userlist/SBBS_User_ListMain.cpp
"SBBS_User_ListMain.h" "SBBS_User_ListMain.h"
<wx/msgdlg.h> <wx/msgdlg.h>
<wx/intl.h> <wx/intl.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<tooltip>Enter an ARS string to filter users with</tooltip> <tooltip>Enter an ARS string to filter users with</tooltip>
<handler function="OnARSFilterText" entry="EVT_TEXT" /> <handler function="OnARSFilterText" entry="EVT_TEXT" />
</object> </object>
<flag>wxALL|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
<option>1</option> <option>1</option>
</object> </object>
...@@ -27,18 +27,20 @@ ...@@ -27,18 +27,20 @@
<tooltip>Clears the ARS filter</tooltip> <tooltip>Clears the ARS filter</tooltip>
<handler function="OnClearButtonClick" entry="EVT_BUTTON" /> <handler function="OnClearButtonClick" entry="EVT_BUTTON" />
</object> </object>
<flag>wxALL|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
</object> </object>
<flag>wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
<object class="sizeritem"> <object class="sizeritem">
<object class="wxListCtrl" name="ID_USERLISTCTRL" variable="UserList" member="yes"> <object class="wxListCtrl" name="ID_USERLISTCTRL" variable="UserList" member="yes">
<style>wxLC_REPORT|wxLC_HRULES</style> <style>wxLC_REPORT|wxLC_HRULES</style>
<handler function="OnUserListItemSelect" entry="EVT_LIST_ITEM_SELECTED" />
<handler function="OnUserListItemSelect" entry="EVT_LIST_ITEM_DESELECTED" />
</object> </object>
<flag>wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
<option>1</option> <option>1</option>
</object> </object>
...@@ -50,32 +52,23 @@ ...@@ -50,32 +52,23 @@
<object class="wxStaticText" name="ID_STATICTEXT2" variable="StaticText2" member="yes"> <object class="wxStaticText" name="ID_STATICTEXT2" variable="StaticText2" member="yes">
<label>Quick Validation Sets</label> <label>Quick Validation Sets</label>
</object> </object>
<flag>wxALL|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
<object class="sizeritem"> <object class="sizeritem">
<object class="wxChoice" name="ID_CHOICE1" variable="Choice1" member="yes"> <object class="wxChoice" name="ID_QVCHOICE" variable="QVChoice" member="yes">
<content> <content>
<item>Select a set</item> <item>Select a set</item>
<item>1 SL:10 F1: </item>
<item>2 SL:20 F1: </item>
<item>3 SL:30 F1: </item>
<item>4 SL:40 F1: </item>
<item>5 SL:50 F1: </item>
<item>6 SL:60 F1: </item>
<item>7 SL:70 F1: </item>
<item>8 SL:80 F1: </item>
<item>9 SL:90 F1: </item>
<item>10 SL:100 F1: </item>
</content> </content>
<selection>0</selection> <selection>0</selection>
<enabled>0</enabled> <enabled>0</enabled>
<handler function="OnQVChoiceSelect" entry="EVT_CHOICE" />
</object> </object>
<flag>wxALL|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
</object> </object>
<flag>wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
<option>1</option> <option>1</option>
</object> </object>
...@@ -87,7 +80,7 @@ ...@@ -87,7 +80,7 @@
<tooltip>Reloads the user database</tooltip> <tooltip>Reloads the user database</tooltip>
<handler function="OnRefreshButtonClick" entry="EVT_BUTTON" /> <handler function="OnRefreshButtonClick" entry="EVT_BUTTON" />
</object> </object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
<object class="sizeritem"> <object class="sizeritem">
...@@ -95,15 +88,15 @@ ...@@ -95,15 +88,15 @@
<label>Edit</label> <label>Edit</label>
<enabled>0</enabled> <enabled>0</enabled>
</object> </object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
</object> </object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxALIGN_RIGHT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
</object> </object>
<flag>wxALL|wxEXPAND|wxALIGN_TOP|wxALIGN_BOTTOM</flag> <flag>wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP</flag>
<border>5</border> <border>5</border>
</object> </object>
</object> </object>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment