|
NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include "customwindow.hpp"#include "../NumeReWindow.h"#include "../../kernel/core/utils/tinyxml2.h"#include "../../kernel/core/utils/stringtools.hpp"#include "grouppanel.hpp"#include <wx/tokenzr.h>#include <wx/dataview.h>#include <wx/statline.h>#include "../wx.h"#include <string>Go to the source code of this file.
Enumerations | |
| enum | WindowState { ENABLED , DISABLED , HIDDEN } |
| Enumeration to define possible states of window items. More... | |
Functions | |
| static wxString | toWxString (const wxColor &c) |
| This static function converts colors to wxStrings. More... | |
| static wxColour | toWxColour (const wxString &s) |
| This static function converts wxStrings to colors. More... | |
| static wxString | convertToCodeString (wxString s) |
| This static function conversts usual strings into "Kernel strings" (i.e. usual NumeRe code strings). More... | |
| static wxString | nextItemValue (wxString &sItem) |
| Separates the different item values. More... | |
| static void | populateTreeListCtrl (wxTreeListCtrl *listCtrl, const wxArrayString &values) |
| This static function converts the list of values into items for the passed tree list control and populates it. More... | |
| static wxString | getTreeListCtrlValue (wxTreeListCtrl *listCtrl) |
| This static function returns the current value of the passed tree list control, whereas the value is either the current selection or a vector of the current checkbox states. More... | |
| enum WindowState |
Enumeration to define possible states of window items.
| Enumerator | |
|---|---|
| ENABLED | |
| DISABLED | |
| HIDDEN | |
Definition at line 226 of file customwindow.cpp.
|
static |
This static function conversts usual strings into "Kernel strings" (i.e. usual NumeRe code strings).
| s | wxString |
Definition at line 71 of file customwindow.cpp.
Referenced by CustomWindow::getItemParameters(), getTreeListCtrlValue(), and CustomWindow::OnCellSelect().
|
static |
This static function returns the current value of the passed tree list control, whereas the value is either the current selection or a vector of the current checkbox states.
| listCtrl | wxTreeListCtrl* |
Definition at line 171 of file customwindow.cpp.
References convertToCodeString(), wxTreeListCtrl::GetColumnCount(), wxTreeListCtrl::GetItemText(), and wxTreeListCtrl::GetSelections().
Referenced by CustomWindow::getItemParameters().
|
static |
Separates the different item values.
| sItem | wxString& |
Definition at line 85 of file customwindow.cpp.
Referenced by populateTreeListCtrl().
|
static |
This static function converts the list of values into items for the passed tree list control and populates it.
| listCtrl | wxTreeListCtrl* |
| values | const wxArrayString& |
Definition at line 108 of file customwindow.cpp.
References wxTreeListCtrl::AppendItem(), wxTreeListCtrl::GetColumnCount(), wxTreeListCtrl::GetRootItem(), nextItemValue(), and wxTreeListCtrl::SetItemText().
Referenced by CustomWindow::layoutChild(), and CustomWindow::setItemValue().
|
static |
This static function converts wxStrings to colors.
| s | const wxString& |
Definition at line 53 of file customwindow.cpp.
Referenced by CustomWindow::layoutChild(), CustomWindow::layoutMenu(), and CustomWindow::setItemColor().
|
static |
This static function converts colors to wxStrings.
| c | const wxColor& |
Definition at line 39 of file customwindow.cpp.
Referenced by CustomWindow::getItemParameters(), and CustomWindow::getWindowParameters().