UIWaterTypeBrowser::UIWaterTypeBrowser(int xPos,int yPos, int w, int h, UIMapViewGUI *setGui) : UICloseWindow(xPos,yPos,w,h, "", true) , mainGui( setGui ) { addChild( new UIText( 10.0f, 3.0f, "Select a water type", app.getArial14(), eJustifyLeft ) ); buildTypeList(); }
KNConfigure::KNConfigure(QObject *parent) : QObject(parent), m_dataObject(QJsonObject()), m_caption(QString()) { //Check and build type list. buildTypeList(); }