Exemple #1
0
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();
}
Exemple #2
0
KNConfigure::KNConfigure(QObject *parent) :
    QObject(parent),
    m_dataObject(QJsonObject()),
    m_caption(QString())
{
    //Check and build type list.
    buildTypeList();
}