summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/test/kcharselect/KCharSelectTest.java
blob: 412d26f2e02e2c6fcfdc0b6309ff6abca722260a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import org.trinitydesktop.qt.*;
import org.trinitydesktop.koala.*;

/**
 *
 * Taken from test program of the tdeui tests
 **/
public class KCharSelectTest {


   public static void main (String[] args) {

      TDECmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest",
                              "A KCharSelect test app", "0.1");
      TDEApplication app = new TDEApplication();
      KCharSelect selector = new KCharSelect(null,"char selector");
      selector.resize( selector.sizeHint() );
      app.setMainWidget(selector);
      selector.show();
      selector.setCaption( "KCharSelect Test");
      app.exec();
      return;

   }

   static {
      qtjava.initialize();
      tdejava.initialize();
   }

}