~vbursian/research-assistant/intervers

« back to all changes in this revision

Viewing changes to RAGUI/SimpleInstall.h

  • Committer: Viktor Bursian
  • Date: 2013-06-06 15:10:08 UTC
  • Revision ID: vbursian@gmail.com-20130606151008-6641eh62f0lgx8jt
Tags: version_0.3.0
version 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////////
 
2
/*! @file SimpleInstall.h   Упрощённая инсталяция пустой базы знаний.
 
3
- Part of RAGUI - Research Assistant Graphical User Interface.
 
4
- Uses  QtGui v.4.6  -  http://qt.nokia.com/
 
5
- Uses  RANet - Research Assistant Net Library (based on ANSI C++).
 
6
- Copyright(C) 2010, Viktor E. Bursian, St.Petersburg, Russia.
 
7
                     Viktor.Bursian@mail.ioffe.ru
 
8
*///////////////////////////////////////////////////////////////////////////////
 
9
#ifndef Install_H
 
10
#define Install_H
 
11
#include "RAGUI_global.h"
 
12
#include "Files.h"
 
13
#include <QDialog>
 
14
#include <QLineEdit>
 
15
#include <QSpinBox>
 
16
namespace RA {
 
17
//------------------------------------------------------------------------------
 
18
 
 
19
extern bool  RAGUI_EXPORT  SimpleInstall (sPath  RootFName);
 
20
 
 
21
//------------------------------------------------------- sDlgInstallDatanet ---
 
22
 
 
23
class sDlgInstallDatanet : public QDialog
 
24
{
 
25
  Q_OBJECT
 
26
  public:
 
27
                              ~sDlgInstallDatanet ();
 
28
    explicit                  sDlgInstallDatanet (QWidget *  parent = 0);
 
29
 
 
30
  public slots:
 
31
    virtual void              OnOK ();
 
32
    virtual void              ShowHelp ();
 
33
 
 
34
  public://fields
 
35
    QLineEdit *               fldOwner;
 
36
    QSpinBox *                fldCopy;
 
37
 
 
38
  private:
 
39
    bool                      Validate ();
 
40
 
 
41
  private://fields
 
42
 
 
43
};
 
44
 
 
45
//------------------------------------------------------------------------------
 
46
}; //namespace RA
 
47
#endif //Install_H
 
48